Hacker News new | ask | show | jobs
by 9dev 334 days ago
WASM enables things like running a 20 year old CAD engine written in C++ in the browser. It isn’t a scripting language, it’s a way to get high-performing native code into web apps with a sensible bridge to the JS engine. It gets us closer to the web as the universal platform.
2 comments

The biggest problem solved by WASM is runtime portability. For security reasons many users and organizations will not download or install untrusted binaries. WASM provides a safer alternative in an often temporary way. The universal nature is an unintended byproduct of a naive sandbox, though still wonderful.
Why would WASM be any less secure than JavaScript?
It's not, they're saying it's a safer alternative to traditional binaries
Exactly, and the CAD engine doesn't need to know about nor access the DOM

> It gets us closer to the web as the universal platform.

As a target

I don't want a pseudo 'universal' platform owned by Big Tech; or by governments as a substitute

Google/Chrome controlled platform, no thanks

https://i.imgur.com/WfXEKSf.jpeg