top | item 41106361

(no title)

progfix | 1 year ago

Can you run JVM or CLR apps in the browser?

discuss

order

pjmlp|1 year ago

Where is the browser in "Orca: WebAssembly Apps Without the Web."?

meiraleal|1 year ago

Where 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

useerup|1 year ago

Microsoft 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|1 year ago

It'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.

netghost|1 year ago

RandomThoughts3|1 year ago

This 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.

txdv|1 year ago

Yes, there are multiple efforts which compile JVM bytecode and CIL bytecode to WASM.

camgunz|1 year ago

Why would you need to if they run outside the browser?

rictic|1 year ago

It is way easier to get someone to click a link than to get them to download and run your app.