Re:Show HN: Life – A secure, blazing-fast, cross-platform We...
by Brometheus on Thursday August 02, 2018 @10:36AM
(#17671715)
How fast is this compared to browser javascript vm "implementations" of WebAssembly?
[ Parent
| on HN ]
Re:Show HN: Life – A secure, blazing-fast, cross-platform We...
by nine_k on Thursday August 02, 2018 @10:53AM
(#17671894)
AFAICT WebAssembly VM is implemented in native code in the major browsers (Firefox, Chrome, Safari, Edge). It's pretty fast, and has a pretty limited interface to JS or DOM.
Re:Show HN: Life – A secure, blazing-fast, cross-platform We...
by monocasa on Thursday August 02, 2018 @12:34PM
(#17672843)
Native code or not shouldn't matter that much for a JIT. I've heard Cliff Click say in a talk that if he were to write another VM, it'd probably be in something like Java. The memory management of fairly arbitrary graphs like you get in a compiler really benefit from garbage collection, and it's nice to run the compiler sort of through itself to get dynamic profiling for optimization.
Re:Show HN: Life – A secure, blazing-fast, cross-platform We...
by nine_k on Thursday August 02, 2018 @12:47PM
(#17672976)
I mean, implementing a WebAssembly VM inside e.g. JVM is both possible and practical, but it's a very different approach from implementing it in native code, let alone any JIT approaches.