Re:Python 3.11 in the Web Browser
by wffurr on Saturday March 26, 2022 @06:18PM
(#30815878)
Like a .jar file?
[ Parent
| on HN ]
Yes, but with a much leaner, memory-efficient, and more secure runtime. WASM is kinda "JVM without the Java bits" but that's a good thing. Having the VM provide facilities for GC is not necessary. Go shows that you can embed it in the executable. And Java bytecode is too close to Java code and not close enough to machine code, and so the VM has to provide a full interpreter - also unnecessary.
Wasm requires a full JS runtime no? At this point those are no lighter than a full JVM.