News for hackers. Stuff that matters.
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.
Re:Show HN: Life – A secure, blazing-fast, cross-platform We... by monocasa on Thursday August 02, 2018 @12:55PM (#17673074)
I mean, implementing a JIT is orthogonal to implementing it in another VM. See JITing meta circular evaluators like Jikes or Graal.