5 ms·
https://en.wikipedia.org/wiki/Wirth%27s_law https://en.wikipedia.org/wiki/Wirth%27s_law
by incrudible 6y ago
https://en.wikipedia.org/wiki/Wirth%27s_law https://en.wikipedia.org/wiki/Wirth%27s_law
- api 6y agoI think Wirth's Law has already peaked as a trend. Lately the trend has been away from dynamic languages and fat bloated runtimes toward lighter weight compiled languages. The web stack (including Electron and friends) is the outlier, but eventually WASM could help fix that.
- incrudible 6y agoWASM is just another thing that makes the web platform (and Electron binaries) a fat bloated runtime. Anything you can do with WASM, you can do with Javascript, probably as fast or faster, because it all still needs to go through Web APIs to do anything interesting.
- bb010g 6y agoThere's a reason asm.js existed before Wasm, and it's not because JavaScript was just too dang fast.
- kevingadd 6y agoasm.js is JavaScript, specifically a subset of it that can be consistently optimized. So if your point is "JavaScript is slow", using JavaScript as your point of comparison is a bad way to prove it.
- swyx 6y agofirst off, cool HN username second off, i think you underestimate the world's demand for more software vs the world's demand for performant software. you're possibly being selective with your datapoints on wirth's law peaking. zoom out and view the no-code movement as programming.