5 ms·
Ask HN: Compiler speed-up or Build Caching tool. Hard to find?
There's incredibuild, stashed.io, ccache, dcache , scache, FastBuild, BuildCache.
There's one more that was highlighted by HN. Its used by game companies. I can't seem to find the link. It was mentioned here on HN. Anyone have any ideas?
- Davidbrcz 2y agoUnity builds ? They are not a tool per se, but just a way to compile your project.
- Am4TIfIsER0ppos 2y agoUnity here not being the name of the game engine but rather the idea of including all the sources into one file.
- tambre 2y agoAlso known as jumbo and single/combined source file builds.
- arjvik 2y agodistcc?
- dieortin 2y agoProbably not what you’re thinking of, but Bazel? https://bazel.build https://bazel.build
- ltbarcly3 2y agoBazel isn't anything like what they are describing. Also, bazel is an incredibly miserable tool to use.
- tfsh 2y agoOne of Bazels core principles is mass-scale distributed caching, and lots of the design decisions such as repeatability, correctness and deterministic building exist to that effect. For individuals it's a pain to setup, but it's not built for them, or startups. Instead for enterprises who can dedicate a fully manned team to its maintenance
- ltbarcly3 2y agoahahaha, the concept of needing a full team to manage a build system is so ludicrous
- paulddraper 2y agoWell ccache (and C builds in general) isn't exactly a bundle of kittens
- alexhutcheson 2y agoSpecifically: https://bazel.build/remote/caching https://bazel.build/remote/caching
- ComputerGuru 2y agodistcc is probably the one game companies are biased towards.
- amelius 2y agoI'm using ccache, but apparently it does not work for linking. Any drop-in replacement I could use instead?
- bastijn 2y agoFor others searching (alternative) generic build caching tool supporting mono-repos: Nx - https://nx.dev/ https://nx.dev/.
- teaearlgraycold 2y agoIn my experience NX is hot garbage.
- 0x63_Problems 2y agoI haven't used it, but I was interested in it for relatively straightforward task caching in a monorepo. What are the main issues with it?
- samatman 2y agoZig as a build system deserves a shout-out here. It can compile C and C++ projects, good cross-compiler story, and it caches.
- SushiHippie 2y agoIf you've upvoted that HN story/comment that mentioned that tool, you may be able to find it via: https://news.ycombinator.com/upvoted?id=fatbrowndog https://news.ycombinator.com/upvoted?id=fatbrowndog https://news.ycombinator.com/upvoted?id=fatbrowndog&comments=t https://news.ycombinator.com/upvoted?id=fatbrowndog&comments... Both links are only visible to you
- heluser 2y agoLook at https://earthly.dev/ https://earthly.dev/ But ideally we need more info - language, env and etc. for example both CircleCI and Gradle match your current ask but something tells me you need something else
- opless 2y agoIncredibuild is a pretty good product. Though there's nothing else out there that I know of that's similar. Does anyone know? > Incredibuild (at the very least) redirects file io back to the original machine and so the executable running doesn't really know what machine it's on. I know MPI runs nicer on a networked drive but isn't necessarily transparent Plan 9 can do most of this with some scripting...
- tacostakohashi 2y agoProbably not the one you are thinking of, but will mention for amusement... How about ClearCase / clearmake "winkins": https://en.wikipedia.org/wiki/IBM_DevOps_Code_ClearCase https://en.wikipedia.org/wiki/IBM_DevOps_Code_ClearCase