5 ms·
Can you run JVM or CLR apps in the browser?
by progfix 2y ago
Can you run JVM or CLR apps in the browser?
- pjmlp 2y agoWhere is the browser in "Orca: WebAssembly Apps Without the Web."?
- meiraleal 2y agoWhere is Orca in "Can you run JVM or CLR apps in the browser?" If you don't have an answer you can help us all not replying
- netghost 2y agoWelcome to the future! https://en.wikipedia.org/wiki/Java_applet https://en.wikipedia.org/wiki/Java_applet
- RandomThoughts3 2y agoThis is not Java applet. The browser can already run WASM code natively. This is the JVM but using WASM as bytecode, which is to say it is yet another WASM interpreter but this one provides a runtime with a canvas.
- pjmlp 2y agoBasically a Apple II running UCSD Pascal.
- camgunz 2y agoWhy would you need to if they run outside the browser?
- rictic 2y agoIt is way easier to get someone to click a link than to get them to download and run your app.
- pjmlp 2y agoOrca requires to download and run your app.
- mcosta 2y agoThen what is Orca useful for?
- szundi 2y ago[flagged]
- pookha 2y agoMaybe replacing containers...I had a better developer experience and a better overall quality of life when I deployed war files into a servelet container (tomcat). I wasn't patching operating system vulnerabilities across a jagged sea of micro service images or patching vendor supplied images either (literally had to do that with Kafka). I deployed a fucking war file. That's it. And I'd also imagine that a WASM module\app would have a much snappier start time without having to lug around the overhead of a container...And "Alpine Linux" can go ahead and kiss my ass (no offense).
- txdv 2y agoYes, there are multiple efforts which compile JVM bytecode and CIL bytecode to WASM.
- useerup 2y agoMicrosoft has ported CLR (.NET Core) to Webassembly and it runs in the browser. You can indeed run CLR code in the browser. That is how Blazor works
- tracker1 2y agoIt's pretty bloated and slow compared to alternatives. This may improve if WasmGC gets integrated instead of part of the payload, but it's still not a great solution, especially on constrained devices. The flip side, is running in server mode means the laggy round trip actions that feel somewhat painful in contrast, reminding me of ASP.Net WebForms and how painful that was in practice.