News for hackers. Stuff that matters.
Re:Asm-Dom – WebAssembly Virtual DOM by untog on Saturday May 20, 2017 @03:52PM (#14384048)
Babel does not require ASM or WASM. It is (usually) simply an ES6 to ES5 transpiler.
Re:Asm-Dom – WebAssembly Virtual DOM by monocasa on Saturday May 20, 2017 @04:02PM (#14384087)
And even if Babel compiled to asm.js, the clever thing about asm.js was that it was valid JavaScript supported by almost all browsers, it just might not be a fast path.

That being said, asm.js in general goes out of it's way not to allocate and invoke the garbage collector, so it's not the best target for other JavaScript anyway.

Re:Asm-Dom – WebAssembly Virtual DOM by Chyzwar on Saturday May 20, 2017 @04:28PM (#14384189)
My point is that you do not need Babel if you plan to target modern browsers anyway.
Re:Asm-Dom – WebAssembly Virtual DOM by Touche on Saturday May 20, 2017 @05:26PM (#14384433)
Many ES6 features are slower than their ES5 counterparts currently. let, const are slower than var, for example.
Re:Asm-Dom – WebAssembly Virtual DOM by tomatsu on Sunday May 21, 2017 @05:45AM (#14386497)
> let, const are slower than var, for example.

They aren't slower anymore in V8. Most ES6 features are now about as fast as their ES5 counterparts.

Re:Asm-Dom – WebAssembly Virtual DOM by pizlonator on Sunday May 21, 2017 @10:46AM (#14387527)
That hasn't been true in WebKit for a while.
Re:Asm-Dom – WebAssembly Virtual DOM by PrimHelios on Saturday May 20, 2017 @09:12PM (#14385243)
Huh. What's the reason for that?