Hacker News new | ask | show | jobs
by dullcrisp 30 days ago
I want this to be true too but you’re essentially proving the point by demonstrating you have to write the wasm by hand if you want it to be compact.
3 comments

I don't think that wasm is inherently uncompressible. I think it's more that tools like emscripten include the entire C++ standard library because most existing libraries expect them to just be available for free. But hopefully that would change as more web focused libraries are created.
A small set of changes to AssemblyScript could do this, but most people would still grab for Emscripten with a shadow stack and asyncify hacks.
no, you can write c/c++ or rust