top | item 40601562

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

16 points| fatbrowndog | 1 year ago

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?

22 comments

order

ComputerGuru|1 year ago

distcc is probably the one game companies are biased towards.

bastijn|1 year ago

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

Nx - https://nx.dev/.

teaearlgraycold|1 year ago

In my experience NX is hot garbage.

opless|1 year 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...

amelius|1 year ago

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

hdjdjdj|1 year ago

Sccache (from Mozilla is a drop in replacement)

heluser|1 year 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|1 year ago

Unity builds ?

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

Am4TIfIsER0ppos|1 year ago

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

tambre|1 year ago

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

samatman|1 year 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.