Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Buck – A build system developed and used by Facebook. Parent comment
- Don't use modification times and instead do intelligent hashing (see https://buckbuild.com/concept/rule_keys.html)
- Include the compiler and a bunch of other stuff in the hash. This means you can share cached artifacts safely via a http cache (https://buckbuild.com/concept/http_cache_api.html)
- Can refer to remote files (see https://buckbuild.com/rule/remote_file.html)
- Can use any script to do anything as long as it has a single consistent output (see https://buckbuild.com/rule/genrule.html)
Because their model is so much better, you get crazy fast local caching and remote shared caching of artifacts.
Please don't use make, the newer build tools are better in virtually every way.
(disclosure: my team created Buck when I was at FB)
There are no comments on this comment yet.
- Don't use modification times and instead do intelligent hashing (see https://buckbuild.com/concept/rule_keys.html)
- Include the compiler and a bunch of other stuff in the hash. This means you can share cached artifacts safely via a http cache (https://buckbuild.com/concept/http_cache_api.html)
- Can refer to remote files (see https://buckbuild.com/rule/remote_file.html)
- Can use any script to do anything as long as it has a single consistent output (see https://buckbuild.com/rule/genrule.html)
Because their model is so much better, you get crazy fast local caching and remote shared caching of artifacts.
Please don't use make, the newer build tools are better in virtually every way.
(disclosure: my team created Buck when I was at FB)