this post was submitted on 18 Dec 2024
20 points (95.5% liked)
Experienced Devs
4008 readers
13 users here now
A community for discussion amongst professional software developers.
Posts should be relevant to those well into their careers.
For those looking to break into the industry, are hustling for their first job, or have just started their career and are looking for advice, check out:
- Logo base by Delapouite under CC BY 3.0 with modifications to add a gradient
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
4h build times... ouch! I'm betting this is Rust or TypeScript.
Actually, C++. An enormous codebase plus we build all dependencies from source. I asked my dev lead why we don't have access to pre-compiled dependencies and he answered with a mix of embarrassment and "that's just how it's done".
A 4h build would be OK if I only needed to do it once. However, our source control system lacks even a basic conception of branches, so each new ticket requires destroying and regenerating your workspace.
If you want an unsolicited advice:
…
There may be reasons to keep building everything from the ground up (usually reproducible builds and security are presented as such), but there also may be ways to fix build times while adhering to the requirements.We use Nix for building and binary cache plays nicely with it, but it is also not always too fast, it's hard to start with, most of our team hates it and wants to replace with something simple (not fruitfully, yet), but it may solve some of the issues.
That is, if you want to solve those, I'm not sure I would if I were in such a situation.