Hacker News new | ask | show | jobs
by walterbell 3088 days ago
Which bytecode do you recommend? Are you assuming the bytcode interpreter to be bug-free? There have been JVM escapes.
1 comments

I do not assume that bytecode interpreter or compiler is bug free. But I assume that the interpreter can be trivially updated, while a bad CPU bug may require hardware replacement or taking terrible performance hit.

As for a particular bytecode format, I have no idea. Webassembly is a possibility, but it is still slower by factor of 2 compared with native code. Perhaps CPU-specific symbolic assembler will be a better choice as long as one can realibly alter it to workaround CPU bugs.