Hacker News new | ask | show | jobs
by Hammershaft 780 days ago
I got less of a "Javascript got good", and more of a "Javascript got less unbearably bad" from this article. It is still a travesty that Javascript. alone is the language of the web (sans transpilation).
1 comments

It is no longer. WebAssembly is now - with reference types and GC - fully usable.
Not really; DOM API still absent, calling between modules has high overhead, etc.

It's close though.

Reducing module to module call overhead is important for being able to split larger WASM applications without needing to do so by performance boundary rather than logical or other optimised boundary calc. Doing this properly probably means a proper dynamic linking approach or something but I'm no expert.

DOM API is self explanatory. The whole point of the web is the unified presentation layer but being forced to talk to it via a bridge sucks. Once it's done then WASM/DOM becomes GTK on steroids.