2 ms·
Theoretically, if Sun and Oracle would have cared for the experimental runtimes which compiled to native instead of JVM. I think GNU had one going, but RMS hate
by actionfromafar 4y ago
Theoretically, if Sun and Oracle would have cared for the experimental runtimes which compiled to native instead of JVM. I think GNU had one going, but RMS hated that too, so there was kind of a gap in the marketplace for such a thing. You can sort of do it with .NET now.
- simiones 4y agoEdit: I completely misunderstood what Blink is in relation to WASM. I'm leaving my original comment below, but it is quite wrong. Still, Blink is a VM in the same sense as the JVM, and it does JIT compilation (or it can interpret program ASM) just as much as that. As far as I understand from the git page, it is using x86_64 assembly as the "bytecode" though, so the JIT step may be quite trivial if running on the same arch and/or OS. Old post: This isn't compiling to native either, not ahead of time anyway. It is compiling C or C++ to WASM, and then running that in a browser. The browser will JIT compile the WASM, just like the JVM would. The biggest difference is that everyone has a browser, while not everyone has a JVM pre-installed.
- actionfromafar 4y agoWait, where is WASM used here? I thought that was a possible future development?
- TJSomething 4y agoThis doesn't use WASM or a browser at all. This is an new, original x86-64 machine code interpreter with a JIT compiler that supports x86-64 and aarch64. This is an extension of Justine's APE project to use x86-64 ELF as the core of write-once-run-anywhere software.
- pjmlp 4y agoThey cared about the commercial third party ones, just not about the free beer ones.