logoalt Hacker News

boxed • today at 8:45 AM • 4 replies • view on HN

Well.. the prediction was about JavaScript. This is WebAssembly. A big part of the reason the timeline accelerated is that the goal post was moved. A lot.


Replies

swiftcoder • today at 8:54 AM

I don't think anyone draws a particular distinction between asm.js (the "javascript" of the presentation) and WASM.

WASM is an optimisation of something that, while technically javascript, was already unreadable compressed bytecode...

➕ show 2 replies
yread • today at 10:18 AM

Yeah, almost none of this is actually written in JavaScript. It's transpiled to it, but not written in it

llm_nerd • today at 11:09 AM

While it's neat that we have tools to port stuff from one Turing complete runtime to another, the whole "JavaScript" element of the linked page is tenuous. WASM is a virtual machine made to run in web browsers. We had an asm.js that was the precursor to more easily transpile other languages -- transpiling between Turing complete languages has been a thing forever -- but extrapolating that to mean anything running in WASM is "written in JavaScript" is silliness.

It's a legitimately funny basis for a piece, but it's intellectually misleading.

And of course none of this is remotely new. We've had emscripten to compile LLVM intermediate code to WASM, or JavaScript for that matter, for about a decade and half.

RobotToaster • today at 9:07 AM

Isn't WebAssembly just transpilation to a subset of JS?

➕ show 2 replies