3 ms·
"Ha! I KNEW it! WebAssembly literally IS just a reinvention of the JVM!!1" Wouldn't it be funny, after all that sandboxing and component modelling, if it was J
by boomskats 1y ago
"Ha! I KNEW it! WebAssembly literally IS just a reinvention of the JVM!!1"
Wouldn't it be funny, after all that sandboxing and component modelling, if it was JNI and SwingSet3 that finally made enterprise Wasm a thing?
(also this is impressive, great job)
- txdv 1y agoIt compiles to JavaScript and not wasm AFAIK
- apignotti 1y agoThe target of the JIT compiler is indeed JavaScript, since WasmGC is still too limited. This is fundamentally an implementation detail though, when we adopt WasmGC there will be no user visible change beside a potential performance improvement
- dunham 1y agoHow do you deal with numbers? Javascript doesn't do 64-bit numbers and naively multiplying 32-bit numbers can loose lower bits. If I remember right GWT used two numbers to represent 64-bit and ignored the 32-bit issue.
- apignotti 1y agoBigInts are the current solution. There are other solutions as well.
- txdv 1y agoCan you point out the limitations?
- deleted 1y ago[deleted]
- lesuorac 1y agoJava Applets probably would've snuffed out WASM if it was added into a browser by default (instead of an extension). However, they were pretty insecure and caused a ton of problems for the browser [1] and I'm guessing Oracle had no interest in providing free work in a secure solution. So they got eliminated. [1]: https://blog.chromium.org/2013/09/saying-goodbye-to-our-old-friend-npapi.html https://blog.chromium.org/2013/09/saying-goodbye-to-our-old-...