TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Kuto, a Reverse JavaScript Bundler

40 pointsby bpierreabout 1 year ago

2 comments

jauntywundrkindabout 1 year ago
Nice. Nice nice nice. Super expert optimizations.<p>I knew Zstd &amp; custom-dictionaries were coming to browsers soon, but v8&#x27;s coverage expounded on this in a lot of directions I didn&#x27;t expect. Really neat. <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39892119">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39892119</a> <a href="https:&#x2F;&#x2F;chromestatus.com&#x2F;feature&#x2F;6186023867908096" rel="nofollow">https:&#x2F;&#x2F;chromestatus.com&#x2F;feature&#x2F;6186023867908096</a><p>Being able to use existing code as the dictionary for new code seems like it might claim a ton of the bandwidth wins here. A ton.<p>But! But this idea that V8 caches the bytecode, that really adds a huge dimension of mechanistic sympathy that can be tapped, that can be evaluated.<p>With a little rejiggering most of these optimizations would probably be able to be kept as is, plus a little extra dictionary encoded to eek a decent but more transport wins out with. But I do love how Zstd work does gain a lot of the transport wins here. Stellar work all around, awesome to see great ideas concur &amp; converge.
hardwaregeekabout 1 year ago
Very cool! It&#x27;s effectively treating code as an immutable data structure, so any code change only requires sending the changed code and a small main function.