News for hackers. Stuff that matters.
Re:Cheerp – A C/C++ compiler for web applications by oso2k on Tuesday August 12, 2014 @12:16PM (#8168443)
According to the Chrome guys...it isn't a thing [0][1], and I tend to agree. They've kept up, and often exceeded FF, IMO, for real code by making a better JIT compiler. They still haven't implemented asm.js and yet their "naive" approach to asm.js style code is on par.

[0] https://code.google.com/p/v8/issues/detail?id=2599#c53

[1] http://mrale.ph/blog/2013/03/28/why-asmjs-bothers-me.html

Re:Cheerp – A C/C++ compiler for web applications by gcp on Tuesday August 12, 2014 @12:38PM (#8168591)
The links you pasted show Firefox currently being 3x faster than Chrome when running asm.js code, so I'm not sure what your point is. V8 is good at generating fast code without the hints, but obviously the extra restrictions help the optimizer. Even Google admits this when they try to promote Dart.

asm.js does little for you if you write "real JS", but this thread is about cross-compiling other languages, which clearly has real world use.

Re:Cheerp – A C/C++ compiler for web applications by swah on Tuesday August 12, 2014 @08:29PM (#8170933)
I'm not a compiler expert but I also have the feeling that a new bytecode would be better.

But if I recall correctly, there are very good reasons why we don't have that in our browsers; security concerns maybe? Anyone?

Or http://hn.algolia.com, here I go again!

(What a great post, thanks for linking. Even though I follow mraleph on twitter, I had never opened his website. Probably because it all looks like scary compiler stuff.)