News for hackers. Stuff that matters.
Re:Unreal JavaScript by MasterScrat on Wednesday May 08, 2013 @10:33AM (#5674306)
No, it's still JavaScript. The fact that it's compressed or not human-readable doesn't make it bytecode.
Re:Unreal JavaScript by jerf on Wednesday May 08, 2013 @12:55PM (#5675316)
"It might as well be bytecode."
Re:Unreal JavaScript by CmonNoReg on Wednesday May 08, 2013 @02:58PM (#5676128)
So can you add some dynamic code into asm.js and expect same performance? Asm.js is an assembly that looks like JavaScript for compatibility and readability.
Re:Unreal JavaScript by ndesaulniers on Wednesday May 08, 2013 @08:53PM (#5678136)
No, asm.js code that parses successfully is compiled ahead of time. It is a strict subset of the JavaScript programming language. If you use parts other than the subset, it will fail to parse as valid asm.js code and revert to the interpreter/JITs.