3 ms·
Java still doesn't have value types AFAIK. Meanwhile WASM started out as no-gc continuous memory VM. Comparing WASM and JVM is like comparing a truck and a bus
by moonchrome 4y ago
Java still doesn't have value types AFAIK. Meanwhile WASM started out as no-gc continuous memory VM.
Comparing WASM and JVM is like comparing a truck and a bus because they are relatively the same size, move at the same speed etc.
I mean sure you can load people in trucks and cargo into buses - and both have been done with JVM (eg. people built C compilers) and WASM (people are building GCed runtimes on top of it despite lack of GC support from platform).
Almost 30 years later nobody sane is running C on JVM and there were many attempts posted here over the years.
- pjmlp 4y agoNobody sane should be running C, regardless of the target platform.
- throwaway12245 4y agoYou'd have to delete your operating system and most of your libraries.
- pjmlp 4y agoThankfully not all OS are written in C, and many are making efforts to fix that mistake created by UNIX release into the industry. Similarly, many managed compiled languages don't depend on C. Finally, cybersecurity legislation will speed those efforts.
- kllrnohj 4y agoOutside of the kernel it's a lot more C++ than C