4 ms·
Yes, it would be faster.
by xigency 11y ago
Yes, it would be faster.
- AgentME 11y agoWhy would bundling a Javascript engine in a webpage be faster? I guess it's likely if someone were to make an improved Javascript engine, but their effort would be better spent improving the Javascript engines in browsers (affecting all webpages) rather than bundling it as a many-megabyte download into their own webpages.
- xigency 11y agoIt really depends on the code. This whole topic is for webpages with scripting that have reached performance bottlenecks, not just an obscure exercise in torture.
- geon 11y agoDonHopkins pointed out that wasm will eventually support serialization of arbitrary js. So you wouldn't need to include the js runtime at all, but still get a much quicker download and parsing. https://news.ycombinator.com/item?id=11291997 https://news.ycombinator.com/item?id=11291997