Better HN
topnewbestaskshowjobs
Log inSign up

FullyFunctional

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

Submissions

comment 6y ago · link · parent

The issue is due process which is missing

comment 6y ago · link · parent

Thanks, I stand corrected!

Isn't eDRAM an IBM-only technology?

comment 6y ago · link · parent

For a desktop CPU that wouldn't be far off, but the A14 has a lot of other stuff so I very much doubt that. However, until we see an actual floor plan this is all speculation.

comment 6y ago · link · parent

I'm not sure you are serious, but eDRAM isn't a direct replacement for SRAM. At best it's useful for L3 or L4 cache given the inherently higher latencies.

I think we just have to accept that silicon scaling is slowing down.

comment 6y ago · link · parent

They optimize SRAM far in advance of introducing the process, after all this is one of the most critical components. It's very unlikely you'll see any further SRAM improvement on this process, but a process optimization can improve it (and everything else).

comment 6y ago · link · parent

I suspect these are conflicting goals but an interesting question. My idle pondering are on ISAs that minimize the challenges in wide superscalar OoOE.

comment 6y ago · link · parent

This seems like a positive development. I have two items on my wish list:

- tail recursion elimination. There's a draft proposal but only one engine implements it at the moment which is blocking further progress.

- RISC-V backend for Cranelift (TBH, I'm sure someone will do it eventually).

comment 6y ago · link · parent

It's good, but a few issues:

- RISC-V is a large family of ISAs, though Unix platform targets a much narrower definition, the RV64GC. The "Feature table" lists FP and SIMD as "in extension" but doesn't do the same for Memory layout and protection. It's seems inconceivable to me that you would use paging in a WASM-replacement context. Same for instruction length, two-byte instruction depends on the "C" extension.

- There is nothing that prevents RISC-V in the browser from denying the ability to generate code on the fly. Just like, say iOS, it could run in a "W^X" model, that is, writable memory cannot be executed from.

- atomics, again, are part of an extension, the "A" extension. They do not have to be included, and do not make sense IMO in a single-threaded WASM replacement context.

All that said, WASM is well designed. The structured control flow is a bit painful for some producers and the lack of tail recursion elimination is criminal, but running running/JITting RISC-V in the browser would almost certainly add more overhead.

comment 6y ago · link · parent

Assuming the same implementation effort & skill: WASM, hands down (disclaimer: I have significant RISC-V experience and am an stout advocate, but RISC-V is a poor replacement for WASM).

ADD: a few of the reasons:

- When JITing RISC-V you cannot tell which are the last use of registers without a very expensive whole-graph analysis. Without that, you will have to generate more code than necessary.

- WASM's representation is very close to what you want in the compiler. In particular, you can directly tell all incoming control-flow edges, which makes analysis much more precise, gives optimization opportunities you would otherwise miss. Recreating this information from a binary is either impossible (due to computed branches) or expensive both in terms of analysis and the guards you have to generate to protect your assumptions.

comment 6y ago · link · parent

[Following your advise I did find some Tripp-Lite that are almost reasonable]

Thermals referred to the power electronics which do get hot. Yes certainly better to get equipment designed for it rather than risk burning down the house.

comment 6y ago · link · parent

I'll go look again, but last I did I didn't find much [affordable]. I do have an (no longer in production?) APC Smart UPS which can be extended with an external battery, alas vastly overpriced.

Of note, if various online resources are to be believed, you can't just hack and extend the battery capacity for longer run-times as they likely aren't rated for the corresponding higher thermal load.

comment 6y ago · link · parent

I'm from Jutland which might be part of the explanation. Also, I left 20 years ago.

I'm not sure what you mean by "most of these Tweets"; I'm reporting on my experience living in Silicon Valley, California, where power goes out a couple of times a month on avg.

I have all servers etc on UPSes but wish I could find bigger UPSes as most can only hold up about 1 hour which often isn't enough.

comment 6y ago · link · parent

I’m from Denmark and when power went out I was television worthy news. I don’t actually recall it happening more than once. I never experienced a power loss in the five years I lived in France. Now I’m in silicon valley, the tech hub of the world - with 3rd world internet and power that goes out every time the wind blows.

Just reporting facts.

comment 6y ago · link · parent

Thanks, that makes sense. Maybe I should have asked differently: at the time of its introduction, it seemed like four phase logic (the technology) ought to have had superior absolute performance and even performance/area. It seems like a static version of Intrinsity's Fast14.

EDIT: clarified that "it" is the logic approach, not the end product.

comment 6y ago · link · parent

Ken, thanks for yet-another amazing and dense article.

Somewhat off topic, but you have written about four-phase logic and AL1 in particular (eg. http://www.righto.com/2015/05/the-texas-instruments-tmx-1795...) but I have yet to see a similar deep treatment of it. How did the technology compare and why didn't it get more attention?

comment 6y ago · link · parent

But web of trust hasn't been very successful in practice. It's the usual reason quoted [citation needed] for the failure of PGP/GPG to become a mainstream success.

Keybase's approach is more scalable, but it's still centralized.

comment 6y ago · link · parent

It's right there on the page but it looks like he blocks copy and paste which is ridiculous: 0.5 uA (deep sleep), Wifi Rx: 18 mA. The first link (https://www.cnx-software.com/2020/10/12/hi3861-based-hispark...) has more information.

I'm puzzled about his Rust remark; if it's an RV32 then Rust already supports nostd on riscv32i-unknown-none-elf, riscv32imac-unknown-none-elf, and riscv32imc-unknown-none-elf.

comment 6y ago · link · parent

I'm sure this is deliberate for readability - possibly also to avoid clashing with Ø (danish letter, also sometimes (ab)used for the empty set).

comment 6y ago · link · parent

In my experience with BSON it's ridiculously wasteful compared to CBOR. I haven't compared with JSONB, but it seems unlike that it improves on CBOR.

comment 6y ago · link · parent

Another vote for CBOR. I had actually designed my own binary JSON encoding out of frustration with BSON (which nobody should use IMO). My format was focused on compactness, but I dropped it when I found CBOR which was very similar and even slightly better in places. One notably thing about CBOR is the support for both Indefinite and Definite-Length Arrays and Maps (typically streaming generators need the former whereas parsing the latter can be more efficient).

comment 6y ago · link · parent

Not quite true; some ISA are simpler to decode than other and/or have simpler semantics to implement (eg. not x87). I can pretty much guarantee that you could have gotten [slightly] better performance with an iSH-like approach targeting RISC-V or ARM64.

EDIT: added slightly. For all the OS calls which are 100% native, it wouldn’t matter.

comment 6y ago · link · parent

I just lost my mother-in-law to cancer. It's just a few years ago it was my father-in-law (also cancer). And a three other family member within the last ten years. Definitely was the case for the most recent three that it was discovered much much too late. I cannot advise strongly enough to have even the minor thing check and checked again.

In the case of my MIL, the biopsy first came back as a fungus which we _now_ know was an impossibility.

Like so many other commenters, I had my scheduled colonoscopy and it was a walk in the part except drinking that horribly disgusting prep liquid. That was gross, but I've probably had worse in my young and very stupid years.

803.

Atkinson Hyperlegible Font(brailleinstitute.org ↗)

1 points · by FullyFunctional · 6y ago · 3 comments

comment 6y ago · link · parent

My first thought was I saw this thread was the Barbara Streisand effect. My employer uses GP, but at least I learned about mitigation from this thread, such as OpenConnect.

comment 6y ago · link · parent

Pendatic: LUTs are not transistors and at best they can do a cycle accurate reimplementation (which would be almost indistinguishable from the original). However it is a reimplementation and as such there's no guarantee that it's identical to the original (notably might not emulate bugs and idiosyncrasies).

comment 6y ago · link · parent

Datacenters do not run WSL2

comment 6y ago · link · parent

And it was never kosher and NVIDIA knew exactly that what they were doing was really controversial and risky (I was there). Management at NVIDIA needs to have a forcing function to open the the drivers before anything changes. They depend on and profit from Linux (ML!) so they have no choice but to comply.

comment 6y ago · link · parent

True, but wasn't my point with "expensive machinery". By that I was referring to

  * discovering which instructions are executed (tracking  control flow),
  * mapping x86 code addresses to translated addresses,
  * discovering the shape of the CFG and finding loops,
  * purging translations that get invalidated by overwrites (like self-modifying code),
  * sprinkling the translated code full of guards so we can make assumptions about the original code
etc. All this is unnecessary for WASM and you can in fact make a quick and dirty one-pass translation for the 1st gear. I don't know, but it seems reasonable that they would keep the same FP->Int semantics as JS, but you rarely do that in non-JS code.

EDIT: fail to make bullets, oh well.

comment 6y ago · link · parent

I did sink into it for a bit, playing with a matrix of 9 different schemes. However instead of Forth I’d implement Leroy’s ZINC model and implement a simple RPN version of the lambda calculus.

comment 6y ago · link · parent

Must. Resist. Rat-hole.

I have mused about a related question since I got my first computer eons ago. It had only a machine code monitor (yes, a though start to learning what a computer was). It does seem some kind of Forth might have been the good first step on the path to high-level languages (like https://github.com/uho/preForth) but it's sure not the only way.

1
262728
52