News for hackers. Stuff that matters.
Re:Ask HN: What is the best code base you ever worked on? by pjungwir on Friday June 28, 2024 @02:13PM (#40823346)
> Entire C++ servers with hundreds of lines of code can be built from scratch in a minute or two tops.

Hundreds, huh? Is this a typo? It makes me wonder if the whole comment is facetious. Or do C++ programmers just have very low expectations for build time?

Re:Ask HN: What is the best code base you ever worked on? by jbyers on Friday June 28, 2024 @02:16PM (#40823383)
I suspect they meant "hundreds of thousands"
Re:Ask HN: What is the best code base you ever worked on? by pradn on Friday June 28, 2024 @02:33PM (#40823589)
Yes, oops - fixed!
Re:Ask HN: What is the best code base you ever worked on? by stefan_ on Friday June 28, 2024 @03:35PM (#40824362)
That's the beauty of C++, an absurdly slow build is just an include away.
Re:Ask HN: What is the best code base you ever worked on? by thfuran on Friday June 28, 2024 @04:18PM (#40824831)
Boost always helps prop up falling compile times.
Re:Ask HN: What is the best code base you ever worked on? by mianos on Friday June 28, 2024 @08:08PM (#40826725)
Specially when your juggling is getting out of practice.
Re:Ask HN: What is the best code base you ever worked on? by spease on Friday June 28, 2024 @05:48PM (#40825627)
Has anyone done LLM training with template metaprogramming? That seems like another excellent way to keep Google’s build servers warm.
Re:Ask HN: What is the best code base you ever worked on? by robodan on Friday June 28, 2024 @09:23PM (#40827144)
The public version of Google's build tool is Bazel (it's Blaze internally). It has some really impressive caching while maintaining correctness. The first build is slow, but subsequent builds are very fast. When you have a team working on similar code, everyone gets the benefit.

As with all things Google, it's a pain to get up to speed on, but then very fast.

Re:Ask HN: What is the best code base you ever worked on? by citizen_friend on Friday June 28, 2024 @11:19PM (#40827646)
Just wait until you try a “modern” language