TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A new compression algorithm to make Google Chrome updates small

105 点作者 l0stman将近 16 年前

6 条评论

bkz将近 16 年前
The code has been available in their public SVN repository for quite some time:<p><a href="http://src.chromium.org/viewvc/chrome/trunk/src/courgette/" rel="nofollow">http://src.chromium.org/viewvc/chrome/trunk/src/courgette/</a><p>BTW, I've read about 40% of the Chrome code and I have to say it is the single best open-source project I've come to study so far. Incredibly clean code, really shows how much code reviews done properly can benefit project in the long run.
评论 #706866 未加载
scott_s将近 16 年前
bsdiff was written by a HN regular, and I can't think of a better person to provide insight on this. (Hint.)
评论 #706496 未加载
评论 #706510 未加载
herf将近 16 年前
Does this generalize to a moving "fixed offset" in the compressor? i.e. can't it be done without the disassembler? (Assuming they're parsing x86?)<p>x86 is variable length, so this isn't trivial, but surely it is possible. I guess I don't like the "assembler" step because, hmm, SSE7 might not look like x86.<p>Also, if you were willing to have the loader to do the work, it sounds like you could do a -fPIC sort of thing, and load most code as a DLL.<p>Very cool that they got it working, though.
req2将近 16 年前
Without engaging conspiracy theories, I think the most interesting part is here:<p>The small size in combination with Google Chrome's silent update means we can update as often as necessary to keep users safe.<p>[An extra tidbit- courgette is a 'summer squash'. Silly Google...]
评论 #706444 未加载
评论 #709525 未加载
评论 #707435 未加载
mace将近 16 年前
Technically, it's not a new compression algorithm. It's just a more efficient update scheme which uses a better suited binary diffing algorithm.
评论 #706519 未加载
aminuit将近 16 年前
It's a very impressive achievment, but I'm not sure I buy their motivation for doing the work. 70k vs 700k? It's a blink of an eye on today's Internet. Sounds more like a very bright engineer wanted to work on a cool project, then reverse reasoned his way back to this "smaller is faster" idea.
评论 #706717 未加载
评论 #707509 未加载
评论 #706802 未加载
评论 #706734 未加载
评论 #707854 未加载
评论 #707436 未加载