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.

Qbdiff – building and applying patches to binary files

26 pointsby palaiologosover 2 years ago

2 comments

f_devdover 2 years ago
I&#x27;ve worked on (alleged) sota delta compressors before and was suprised how much code is needed here to enable OMP parallelism &amp; LZMA compression. It could also just be the difference in delta technique, I will definitely look through it some more if I have the time.<p>For reference the tool I worked on (gdelta) is about roughly 700 sloc: <a href="https:&#x2F;&#x2F;github.com&#x2F;i404788&#x2F;gdelta">https:&#x2F;&#x2F;github.com&#x2F;i404788&#x2F;gdelta</a>
评论 #34464958 未加载
palaiologosover 2 years ago
I&#x27;m sharing a tool that I have been working on in hopes that someone finds it useful. The tool serves the purpose of binary patching in game updates and personal incremental backups. Thanks to a different SA-IS algorithm and parallel compression of blocks, the diffing and patching is considerably faster compared to bsdiff or alternatives. This makes binary patching, in many cases, a viable option.