3 ms·
I respect this a lot as an impressive hack, but it's really sad that in 2024 we are headed toward a "statically link the entire universe" approach to software d
by api 2y ago
I respect this a lot as an impressive hack, but it's really sad that in 2024 we are headed toward a "statically link the entire universe" approach to software distribution because OSes have failed to provide good consistency, stability, or portability.
WASM could solve all this, but that would mean all OSes would need WASM runtimes that supported a consistent set of standards and APIs. Have fun getting that to happen.
- diath 2y ago> WASM could solve all this, but that would mean all OSes would need WASM runtimes that supported a consistent set of standards and APIs. Have fun getting that to happen. I mean if that's your solution to the problem, then Java already solved it.
- mdaniel 2y agoI agree in principle with your assertion, with a small asterisk that what you said would be true if the JVM was baked into the OS As it stands now, because the JVM is merely an application, it needs tomfoolery to JNI out to anything interesting. One can see this in effect with Eclipse's SWT which to the best of my knowledge uses JNI for all its UI trickery (e.g. https://github.com/eclipse-platform/eclipse.platform.swt/tree/R4_33/binaries/org.eclipse.swt.cocoa.macosx.x86_64 https://github.com/eclipse-platform/eclipse.platform.swt/tre... ) Pour one out, I guess: https://en.wikipedia.org/wiki/JavaOS https://en.wikipedia.org/wiki/JavaOS although it's a fascinating thought experiment to invert that problem where JavaOS actually uses JNI to run Proton/Wine :-D
- mwcampbell 2y agoThe web platform is the best set of standards and APIs we have.