3,566 karma · joined May 8, 2013 (13y ago) · 1,534 submissions
comment 6y ago · link · parent
ADD: It was an issue a long time ago. Benchmarks like SPEC are actually much nicer than real server workloads. For example, running stuff like SAP would utterly trash the TLB. Curiously, AMD processors can address 0.25 TB without missing in the TLB, much better than Intel.
comment 6y ago · link · parent
comment 6y ago · link · parent
Because of this I find WASM to be the best direction yet for a "universal ISA" as it's very feasible to translate to most strange new radical architecture (like EDGE, Prodigy, etc). (Introducing a new ISA is almost impossible due to the cost of porting the world. RISC-V might be the last to succeed).
comment 6y ago · link · parent
The reason you don't find this is that all "modern" processors designed since ~ 1980 are machines to run ... C as the vast majority (up until ~ Java) of all software on desktops and below were written in C. This also has implications for security as catching things like out of bound access or integer overflow isn't part of C so doing it comes with an explicit cost even when it's cheap in hardware.
comment 6y ago · link · parent
IMO: Rust isn't the easiest language to learn, but the investment pays off handsomely and the ecosystem is just wonderful.
EDIT: I meant "to learn" which completely changes the statement :)
comment 6y ago · link · parent
However I see all high performance web computing moving to WASM and JavaScipt will exist just as the glue to tie it together. Adding hardware support for this is naive and has failed before (ie. Jazelle, picoJava, etc).
comment 6y ago · link · parent
Why wasn't it obvious previously? A few things had to happen: compilers had to evolve to be sophisticated enough, mindsets had to adapt to trusting these tools to do a good enough job (I actually know several who in the 80' still insisted on assembler on the 390), and finally, VLSI had to evolve to the point where you could fit an entire RISC on a die. The last bit was a quantum leap as you couldn't do this with a "CISC" and the penalty for going off-chip was significant (and has only grown).
comment 6y ago · link · parent
comment 6y ago · link · parent
My favorite feature was this: stack frames were cache aligned and the line under the stack pointer would be marked valid upon entry of functions (so the storing the callee saves wouldn't bring in a line that would be overwritten anyway) and invalidated upon exit (so the cached wouldn't have to write back stale data). As he said, this effectively enabled them to treat the cache as an extended register file. Strangely nobody has copied this idea.
There are great stories about the development, but very little other detail is available and AFAICT, very few were actually built. 801 was not a single chip design and RISC didn't become an overnight success until it was built in a single chip (which enabled much higher frequency and was the true key to success).
ADDED: Also, their simulator had a neat trick to make it fast: all I$ lines had an 8X (IIRC) shadow where for each fetched instruction there would be a short sequence of host instructions emulating it. Thus to simulate an 801 instruction they would just ensure the line was fetched and branch directly to the corresponding address in the simulation cache which could fall through to the next instruction until either a branch or the end of the line was reached.
comment 6y ago · link · parent
Personally ethics play a big role in my happiness, but I acknowledge and appreciate that being able to chose is a rare privilege.
EDIT: Grammar
comment 6y ago · link · parent
I only use private teams for friends and colleagues but I use the encrypted cloud storage and have lots of git repos.
I wasn’t even aware of public teams but between HN, Twitter, and Discord I don’t need more distraction.
I’d even gladly pay a monthly subscription if it would guarantee the continued existence.
comment 6y ago · link · parent
The bone system even looks like something I might be able to put together myself (besides stuff like foundation, pluming, and electrical).
comment 6y ago · link · parent
- You mentioned Peter Naur, but I must point out that he's the 'N' in BNF
- Per Brinch Hansen (concurrent Pascal, brought us monitors)
- Ole Lehrmann (BETA)
...
I think it's a network effect. Early practitioners in Denmark had a PL focus and fostered the next generation.
comment 6y ago · link · parent