News for hackers. Stuff that matters.
Re:HTML is done by _RPM on Sunday June 07, 2015 @01:52AM (#9673551)
> Compiling to js is ok as that language is as close to the metal as you can get on a vm anyway

JavaScript is as low as the metal you can get in a Virtual Machine? hmm...

Re:HTML is done by crimsonalucard on Sunday June 07, 2015 @02:04AM (#9673582)
Of course you can go lower, but there will be sacrifices. Brendan Eich actually addressed this same topic in response to some other thread I started a while back. I quote him below:

"Apart from syntax wins, you can't get much lower-level semantically and keep both safety and linear-time verifiability. Java bytecode with unrestricted goto and type confusion at join points makes for O(n^4) verification complexity. asm.js type checking is linear.

New and more concise syntax may come, but it's not a priority (gzip helps a lot), and doing it early makes two problem-kids to feed (JS as source language; new syntax for asm.js), which not only costs more but can make for divergence and can overconstrain either child. (This bit Java, pretty badly.)"

Re:HTML is done by reagency on Sunday June 07, 2015 @03:54AM (#9673795)
asm.JS carries you rather close to bare metal.