Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You will probably not have Python or Ruby on the client with web assembly. Shipping their runtime is several Mo. Not to mention the stdlib (which is part of the appeal of those languages). Paying that cost upfront, without even a framework or any user feature yet is way too much. We already have bloated webpages with only JS...


Opal is actually pretty nice and usable as a JS transpiler already. I suspect they'll be targeting WASM at some point.

I do think however the current trend is OCaml / Haskell influenced languages like Elm, Purescript, Reason, etc. WASM is only going to make them better.

The king is dead, long live the king!


This seems like a solvable problem: signed browser run-time caching.


And then suddenly I got 30Go of cache on my hard drive because of all the sites that are so smart. And limiting the size of it will just render it useless as everybody will just tried to add to it, erasing the existing cache.

But even without that, then chances that you have exactly the same build than somebody else in cache is very weak unless it's very popular. And to get it popular means a lot of people has to download it, taking the several Mo hit download on first load. And most users will just quit the page before that, thinking it doesn't work.

The solution would be for browsers to stop the madness and decide by community to adopt a new standard with a decent language for the web. Be it Ruby, Lua, Python, at this point I don't care. I'm partial to Python, but I won't fight for it if it means I can get anything with a real stdlib, good builtins, namespaces and a readable syntax.


> suddenly I got 30Go of cache on my hard drive

The same thing happens now with regular browser caching, it's not that big of a deal. People will design run-times targeting webassembly to be lightweight, but if they end up being too heavy, developers will use CDNs the same way they do now with other large front-end dependencies.

> The solution would be for browsers to stop the madness and decide by community to adopt a new standard with a decent language for the web

A subjective and impossible consensus to achieve. The community will never be able to agree, that much is obvious. The answer isn't "pick a language that works today and hope for the best", that is how we got where we are today, rather, we need a solution that gives the community the power to experiment with better solutions that aren't constrained to a single language.


I agree with your conclusion but I don't think caching will save us. Currently it doesn't work. The magic of cdn didn't happen. I still download every single bloated monster on the web every time I want to read it.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: