Live data from Hacker News

Show HN: Create Native Desktop Apps from WebAssembly

wasmer.io

1–10 of 17 posts

Re: Show HN: Create Native Desktop Apps from WebAssembly

#2
Hi HN!

At Wasmer we have been working to enable more use cases for the WebAssembly ecosystem. We believe that Wasm can become the lingua franca for software, and we have started to work towards enabling that: starting with standalone native executables generation from Wasm WASI packages.

Looking forward hearing your thoughts!

Re: Show HN: Create Native Desktop Apps from WebAssembly

#9
I like Wasmer for the ability to sandbox executables, because WASM can't do more than some very basic I/O if it ever gets compromised; great for a plugin architecture!

This, however, feels like a newer, inefficient, more limited version of Java JARs or dotnet DLLs. Why not compile into a more optimized bytecode format instead? Pretty sure you can generate a C# binary that compiles into a single platform native executable that includes the framework (and all of your dependencies, I believe?).

Want a cross platform native app that's even faster? Compile for Windows, bundle Wine! Want the limitations of the Javascript framework? Run the Windows executable in a browser through Boxedwine!

Re: Show HN: Create Native Desktop Apps from WebAssembly

#10
post #9

I like Wasmer for the ability to sandbox executables, because WASM can't do more than some very basic I/O if it ever gets compromised; great for a plugin architecture! This, however, feels like a newer, inefficient, more limited version of Java JARs or dotnet DLLs. Why not compile into a more optimized bytecode format instead? Pretty sure you can generate a C# binary that compiles into a single platform native execut…

Love it, and not wrong. Isn't bytecode typically more performant than this approach?
Post reply on HN