News for hackers. Stuff that matters.
Re:Experimental support for WebAssembly in V8 by xigency on Tuesday March 15, 2016 @12:58PM (#11291077)
Pull the developers (or poll them) from V8 and ask them what they think.

All of the "just-in-time" optimizations can be done ahead of time. Which saves [that much run time x that many users] in computer time.

Re:Experimental support for WebAssembly in V8 by jfbastien on Tuesday March 15, 2016 @01:03PM (#11291121)
Everyone on V8 would disagree with you :-)

Type tracing in particular is the big win, and with a dynamic languages you simply can't prove enough to do it ahead of time. There's also startup time that you're paying with AOT and avoiding with JIT.

Re:Experimental support for WebAssembly in V8 by mason55 on Tuesday March 15, 2016 @01:13PM (#11291197)
> Type tracing in particular is the big win, and with a dynamic languages you simply can't prove enough to do it ahead of time.

The post I originally replied to brought this up in the context of TypeScript with the aside that TypeScript is basically JavaScript. Do you think that using TypeScript's static typing and compiling to wasm could/would be faster than JIT-compiled JavaScript?

Re:Experimental support for WebAssembly in V8 by gliptic on Tuesday March 15, 2016 @01:00PM (#11291093)
I don't know why you refer to V8. V8 isn't doing AOT compilation of general JavaScript.