2 ms·
What problem does using precompiled binaries solve for serde?
by jmull 3y ago
What problem does using precompiled binaries solve for serde?
- CodesInChaos 3y agoIt reduces the build time of a clean build by about 10 seconds. Recompiling after changes to your code is not faster, unless the version of serde the code depends on changes.
- justahuman74 3y ago10 seconds isn't nearly enough of a gain for this level of hack, I'll just wait for a from-source compile
- VWWHFSfQ 3y agoCompile times. It's the same as using a binary distribution or a source-based distribution. Only very few people want to "recompile the world" when they install new software. Which is why mainstream distributions pretty much always just distribute binaries via apt, yum, etc. However, for the people that do need source distribution, it's very important for them. And it's almost always required in high-assurance environments where supply-chain attacks are a real concern. And those people can't rely on the upstream security of crates.io, or this developer's laptop.
- Arnavion 3y agohttps://github.com/serde-rs/serde/pull/2514#issuecomment-1643186527 https://github.com/serde-rs/serde/pull/2514#issuecomment-164...