logoalt Hacker News

Nasser_CADtoday at 12:54 PM3 repliesview on HN

ELI5: Imagine you want to run a heavy, powerful 3D video game engine inside a standard web browser or a lightweight desktop app, without making it slow or unsafe.

JavaScript alone can't handle that kind of heavy lifting efficiently. That’s where Wasm comes in. It lets you run high-performance native code (like C++) at near-native speed safely in the sandbox.

For example, I'm currently using Wasm to run a complex 3D geometry engine (Manifold) inside a lightweight CAD app (Nasscad). It gives you web flexibility with desktop power.


Replies

sudohackthenewstoday at 1:14 PM

I think they are asking about the tool itself, not WASM.

This tool seems useful for running 0 dependency JavaScript with isolation through web assembly as an alternative to the isolation and ease of use provided by tools such as cloudflare workers.

utopiahtoday at 3:05 PM

> powerful 3D video game engine inside a standard web browser [...] JavaScript alone can't handle that kind of heavy lifting efficiently.

True... but also WebGL/WebGPU on Vulkan/Metal/etc is a thing. You can run shaders on your GPU via the Web already.

jahalatoday at 1:05 PM

Thanks for that!