Better HN
topnewbestaskshowjobs
Log inSign up

FullyFunctional

3,566 karma · joined May 8, 2013 (13y ago) · 1,534 submissions

Submissions

comment 10y ago · link · parent

Lots have been written about that, but this might be a good starting point: http://www.eecs.berkeley.edu/Pubs/TechRpts/2014/EECS-2014-14..., but read also the spec (http://www.eecs.berkeley.edu/Pubs/TechRpts/2011/EECS-2011-62...) and pay attention to the footnotes.

IMO, compared to OpenSPARC, this is a fresh design that leverages lessons learned from everything that proceeded it. There are many problems with SPARC that makes it hard & expensive to scale up and down.

comment 10y ago · link · parent

Linux is probably the focus, but there are ports in various stages for NetBSD, FreeBSD, and seL4 (and more I imagine).

comment 10y ago · link · parent

There are two, Berkeley's BOOM and another from Macaque Labs in India (SHAKTI OO core).

comment 10y ago · link · parent

Or just run it yourself. I brought up Rocket on a Zedboard following the instructions. Rocket isn't ideal if your ultimate target is an FPGA, but IIRC it's currently the only that includes the virtual memory support that is needed to boot Linux.

comment 10y ago · link · parent

I'd add to that that there are already more implementations than I can count. Rocket isn't the only ASIC game in town, and there are countless soft-cores (FPGA implementations).

comment 10y ago · link · parent

Yes, this is actively being worked on, see the mailing list archives.

comment 10y ago · link · parent

I posit that people enjoying [reading about] this would also thoroughly enjoy "The Reduceron reconfigured and re-evaluated" (accessible from https://www.cs.york.ac.uk/fp/reduceron).

comment 10y ago · link · parent

Good point. Isn't this a problem with the hash functions exclusively? Can't you avoid this by picking the two hashing functions at random every time you rehash?

(I acknowledge that my original comment was misplaced given the off-/on-line difference).

comment 10y ago · link · parent

Interesting. AFAICT, Cuckoo hashing:

0) Cuckoo hashing is much simpler to implement (correctly).

1) look up and delete is also O(1), but Cuckoo is faster (especially if you can exploit the inherent parallelism in the two table probes).

2) insert for Cuckoo is O(1) amortized. It's unclear how this compares.

3) Cuckoo can mix and match insert, delete, lookup ops.

4) Cuckoo uses more memory (as the OP is per definition minimal).

Someone please correct me if I'm wrong, but I think Cuckoo looks pretty favorable to this for most usage. EDIT: formatting.

comment 11y ago · link · parent

"Fabbing" your own ICs is very hard. I know only of a single DIY effort which succeed and it takes much equipment and knowledge. Personally, I'd be happy to make just a couple of transistors (see also: https://news.ycombinator.com/item?id=10558206)

comment 11y ago · link · parent

You might want to read up on HMC; this enables 10X the DRAM bandwidth to the FPGA. Since DRAM bandwidth is a bottleneck for many real applications, this is a big deal.

That said, the PR contains nothing about capacity, latency, nor price, so it's near-pointless.

comment 11y ago · link · parent

That is certainly true, but it's not clear to me if that effect is better than just creating [some] 3BR+ apartments as part of this. Regardless, there's no debate that this development is a good thing overall.

comment 11y ago · link · parent

As a Mnt View resident myself, I strongly applaud this, but am disappointed that families got the short end. I get that the media age at Google is low, but I bet that a short commute is disproportionately important to parents.

comment 11y ago · link · parent

I don't think [1] should be a footnote. This is not an x86. This is a new 1970-style ISA with a textbook RISC implementation, but without the ISA that made RISC work. I predict this will fail, not because of the Quark ISA, but because Intel can't compete with the sheer diversity of microcontroller implementations that can only come from a highly competitive market. ARM currently hold sway in this market, with MIPS in niches. In future I expect to see RISC-V show up where license cost or customization matters more than software legacy.

comment 11y ago · link · parent

"there probably is nothing privacy-sensitive in DNS queries"

Actually, there's a lot. You can learn a tremendous amount from just looking at the NS traffic.

comment 11y ago · link · parent

It's far from the only difference, but it worth calling out:

  Only DNSCrypt protects your privacy!

comment 11y ago · link · parent

This is very cool. I have been/am toying with very same ideas, but using a Lava variant, all in the context of Reduceron. I'm also planning to redo my RISC-V implementation as a working example.

Silvia Muller in "Computer Architecture: Complexity and Correctness" describes work on auto-pipelining. Are you basing your work on this or something else?

comment 11y ago · link · parent

All this complexity adds a many "great" ways to introduce security risk. Fx. with U+202E you can present text that isn't what it appears and thus mislead users, possibly making them take actions they wouldn't have otherwise. IMO, Unicode is a project out of control.

comment 11y ago · link · parent

DDoSers [1] around the world rejoice.

[1] http://cr.yp.to/talks/2009.08.10/slides.pdf http://cr.yp.to/djbdns/forgery.html http://cr.yp.to/talks/2009.03.21/slides.pdf etc etc but also http://ianix.com/pub/dnssec-outages.html

comment 11y ago · link · parent

Forgot a great bit: they originally thought the SPUs were good enough that they didn't need a GPU. That NVIDIA GPU was the only thing that saved the PS3.

comment 11y ago · link · parent

I worked on the Sony cell tool support before it was released. Besides the great point scott_s mentions, the Cell never lived up to the hype. The (original) hype that got people excited was: dual-thread dual-issue 4.0 GHz PowerPC code + 8 SPUs. Reality was: a 3.2 GHz processor with performance crippling bugs (load-hit-store was one), 7 SPE but really only 5 (one was hardwired to the OS, another to sound processing). The SPE had even worse bugs that made branches absurdly expensive. If that wasn't enough, developers balked at the cache penalty of 64-bit code so Sony imposed a truly mindboggling terrible 32-bit mode that didn't use the physical 32-bit mode but instead effectively emulated it (effectively all arithmetics need to truncate to 32-bit). Finally, the whole inter-SPU communication primitives were way more expensive than they should have been.

There's more, but I have willfully flushed it from memory. Cell was a failed design that deserved to die. I will forever after be skeptical of "heterogeneous" designs like these.

comment 11y ago · link · parent

The OP asks for people to try the code, but the provided C++ code requires a fairly recent g++. I could have tried a couple of targets, but I don't want to waste my time porting it. What about this requires C++?

comment 11y ago · link · parent

2nded. IMO, Erlang the language is really really simple and easy and the basics can be learned in a few days, though it helps to have been exposed to Lisp, PROLOG, or various functional languages.

What I find far more challenging is catching up with the myriads of libraries & frameworks that are used to build real applications. Oh, and finding compatible versions of these can also be an unwanted adventure at times.

comment 11y ago · link · parent

I'll take that as a confirmation of feasibility.

Among the languages who integer types default to unbounded, I can think of Python, Erlang, and Scheme (Others? Haskell has both Int and Integer), but it doesn't appear that BBV has been tried outside of Higgs.

I guess I could get close by changing something like https://github.com/peterolson/BigInteger.js to use native JavaScript numbers for small integers. One of these days.

comment 11y ago · link · parent

This is very interesting. My immediate thought was what this could do for languages with arbitrary sized integer. Those are generally implemented using tagged pointers for small integers and "changes types" when arithmetic on them overflows.

If BBV can determine type operands are tagged integers then arithmetic only have to worry about overflow and not the type checking.

I don't know if anyone has tried to do anything similar.

comment 11y ago · link · parent

Blush. I'm delighted to be corrected as I didn't know this. A 15 year old version of me met The Man himself at a trade show where he was demoing COMPAS Pascal, running a maze generator. I've learned a lot from using and disassembling his software.

comment 11y ago · link · parent

Borland never made CP/M software. This account matches my memory from back then: http://blogs.embarcadero.com/davidi/2008/11/02/38933

comment 11y ago · link · parent

Indeed. Manuals and object files for the original, BLS Pascal, can be found at http://nascomhomepage.com and the motivated reader can even run it at http://thorn.ws/jsnascom/jsnascom.html (Download http://nascomhomepage.com/lang/Blspas.nas and use "Load NAS" to browse to it. After that type "E1000" return and you should end up in BLS Pascal. Type a program like

BEGIN WRITE('Hi'); END.

hit Ctrl-X and use R to run it.

1
4849505152