This makes absolutely no sense to me. Are you really recompiling 6000 things each time a dev in the company needs to add a line somewhere in the codebase?
Have you thought about splitting that giant thing in smaller chunks?
> Are you really recompiling 6000 things each time a dev in the company needs to add a line somewhere in the codebase?
It happens when someone modifies a widely included header file. Which there are a lot of thanks to our use of templates. And this is just our small team of 300 people.
> Have you thought about splitting that giant thing in smaller chunks?
Yes. We've tried but it's not scaling. Unfortunately, we've banned tactics like pImpl and dynamic linking that would split a codebase unless they're profiled not to be on a hot path. Speed is important because I'm writing tests for a semiconductor fab and test time is more expensive than any other kind of factory on Earth.
I tried stuff like precompiled headers but the fact only one can be used per compilation job meant it didn't scale to our codebase.
Thanks for the detailed breakdown. The template header cascade problem makes total sense, I underestimated how bad it gets at scale with heavy template usage.
The semiconductor fab constraint is interesting too. When test time costs that much per minute, banning pImpl on hot paths is a pretty obvious call, even if it makes compile times painful.
Appreciate the real-world context.
Agreed, it's a propaganda bot. But with Khamenei dead and Iran terrorist gov down we might have less of those paid actors here and everywhere on internet because their source of income will be gone
"Iran terrorist gov" so unserious. Yesterday's terrorist is today's US appointed leader. See: Syria. From US bounty to US approved. You can just as easily see Israel as the terrorist government attacking Iran unprovoked. They have been claiming Iran has been 2 weeks away from a nuke for decades.
I can confirm this is real! Last week I tried to register a Facebook ads account, I got instantly banned for violating TOS ... Like 2 minutes after registration
Much like Factorio - bringing too much tech/automation into your hobbies (such as model trains) just turns a fun weekend hobby into "work". It's really cool to see the progress with digital controls in model trains (read up about Neil Young and Lionel [0]) but I don't want to have to ask AI to rewrite my train handling config files just to get some little motor to spin.
> I don't want to have to ask AI to rewrite my train handling config files just to get some little motor to spin.
I reckon you could probably still figure out how to just edit the text file. And if it's not fun to do that, then, surely it's just not the right hobby?
reply