Hacker News new | ask | show | jobs
by pacala 4533 days ago
JVML is not a bytecode. The bytecode syntax is just a disguise . JVML is a high level language that prescribes a certain object / method / inheritance model. Methods are associated with objects according to specific vtable / vinterface rules.

OTOH, asm.js is defined in terms of value types + function pointers. Just call the function pointer with the right arguments. Bring whichever objects / closures you like.

PS. Gripe of the day: 64bit computing is here (even ARM supports it) and asm.js doesn't seem to be prepared.

1 comments

Lack of 64-bit ints is a JS problem, asm.js gets them via ES7. See

https://bugzilla.mozilla.org/show_bug.cgi?id=749786

and the value objects strawman under construction for ES7.