News for hackers. Stuff that matters.
Re:A world to win: WebAssembly for the rest of us by flohofwoe on Thursday August 17, 2023 @09:20AM (#37161143)
Is there an easy to use C/C++ toolchain which targets the JVM? That may be the answer, because essentially that was what gave us WASM.

Getting C/C++ code running in the browser was the motivation for Emscripten, and eventually this evolutionary branch gave us WASM (via asm.js).

(and at the time there was plenty of competition: Adobe's Alchemy/Flascc which targeted Flash, and Google's (P)NaCl which compiled to native instructions and later (a subset of) LLVM bitcode, but notably, there was no similar attempt (that I know of) of a C/C++ compiler which targeted the JVM)

Re:A world to win: WebAssembly for the rest of us by pjmlp on Thursday August 17, 2023 @10:15AM (#37161936)
Re:A world to win: WebAssembly for the rest of us by kaba0 on Friday August 18, 2023 @02:38AM (#37172045)
Also, GraalVM has support for every LLVM language.
Re:A world to win: WebAssembly for the rest of us by ianopolous on Friday August 18, 2023 @09:23AM (#37175264)
I once wrote a Linux process emulator in java for static x86 binaries. It could run 80% native speed on x86 and 240% native speed on arm compared to gcc -o3. (I think gcc wasn't very good on arm at the time) Sadly it was proprietary.