4 ms·
Now someone please compile a real JRE into WASM and do it right, so I can revive applets with a simple embed. There are loads of old applets that have huge hist
by manholio 4y ago
Now someone please compile a real JRE into WASM and do it right, so I can revive applets with a simple embed. There are loads of old applets that have huge historic and technical value which are becoming harder and harder to use.
Example: https://www.grc.nasa.gov/www/k-12/rocket/ienzl.html https://www.grc.nasa.gov/www/k-12/rocket/ienzl.html
- yuri91 4y agoHere you go: https://chrome.google.com/webstore/detail/cheerpj-applet-runner/bbmolahhldcbngedljfadjlognfaaein?hl=en https://chrome.google.com/webstore/detail/cheerpj-applet-run... CheerpJ does exactly that: it ships a full JVM implementation (including Swing/AWT, Threads, ...) that runs in JS/Wasm inside your browser. The Applet Runner extension detects applets in the page and runs them through CheerpJ. The example that you list seems to work.
- manholio 4y agoI know about the extensions, it's exactly how I was able to run that specific applet, but that's a high friction experience for the user. If the applet does not run it's very unlikely I will install an extension (or search for a Firefox alternative) unless I'm very motivated. I'm thinking more like a line or two you can add to your pages hosting applets, and it would enable any modern browser to use it. Minimal friction for the webmaster, zero friction for users.
- yuri91 4y agoThat is also possible: https://docs.leaningtech.com/cheerpj/Getting-Started https://docs.leaningtech.com/cheerpj/Getting-Started See "Converting an applet"
- slowmotiony 4y agoWe still use Java applets at work. For example the IBM Host On Demand is used by the cobol/mainframe folks in a lot of banks and other financial institutions. I hate it so much.
- mirko22 4y agoSee now, I think COBOL in the browser would be a winner!