Settings

Theme

Ask HN: Compiler speed-up or Build Caching tool. Hard to find?

16 points by fatbrowndog 2 years ago · 22 comments · 1 min read


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?

dieortin 2 years ago

Probably not what you’re thinking of, but Bazel? https://bazel.build

  • alexhutcheson 2 years ago
  • ltbarcly3 2 years ago

    Bazel isn't anything like what they are describing. Also, bazel is an incredibly miserable tool to use.

    • tfsh 2 years ago

      One 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 2 years ago

        ahahaha, the concept of needing a full team to manage a build system is so ludicrous

    • paulddraper 2 years ago

      Well ccache (and C builds in general) isn't exactly a bundle of kittens

ComputerGuru 2 years ago

distcc is probably the one game companies are biased towards.

bastijn 2 years ago

For others searching (alternative) generic build caching tool supporting mono-repos:

Nx - https://nx.dev/.

SushiHippie 2 years ago

If 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&comments...

Both links are only visible to you

opless 2 years ago

Incredibuild 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 2 years ago

Probably 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

amelius 2 years ago

I'm using ccache, but apparently it does not work for linking. Any drop-in replacement I could use instead?

heluser 2 years ago

Look at 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

Davidbrcz 2 years ago

Unity builds ?

They are not a tool per se, but just a way to compile your project.

  • Am4TIfIsER0ppos 2 years ago

    Unity here not being the name of the game engine but rather the idea of including all the sources into one file.

  • tambre 2 years ago

    Also known as jumbo and single/combined source file builds.

samatman 2 years ago

Zig as a build system deserves a shout-out here. It can compile C and C++ projects, good cross-compiler story, and it caches.

arjvik 2 years ago

distcc?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection