News for hackers. Stuff that matters.
Re:NW.js based operating system by BrendanEich on Friday October 06, 2017 @08:53PM (#15421598)
https://asmjs.org/

It's a statically typed subset of JS that uses typed arrays for machine-typed memory and JS's bitwise operators for int32 and uint32 casts, and + for to-IEEE754-double, etc.

It is as fast as memory-safe C-like variants already, see

https://arewefastyet.com/#machine=29&view=breakdown&suite=as...

https://arewefastyet.com/#machine=29&view=breakdown&suite=as...

I'm not sure why the native C++ (clang) gray line stops over a year ago. Perhaps @azakai can say.

There are no comments on this comment yet.