News for hackers. Stuff that matters.
Re:Carbon Language: An experimental successor to C++ by skavi on Tuesday July 19, 2022 @01:16PM (#32154895)
sorry for nitpicking what is likely intentional exaggeration, but multi billion can’t be anywhere near accurate, right?
Re:Carbon Language: An experimental successor to C++ by compiler-guy on Tuesday July 19, 2022 @01:31PM (#32155115)
There are many billions of lines in Google's monorepo[1], summing well over 80 terrabytes of data. The paper below is from 2016, and the repo has only gotten bigger since then.

Exactly how many of them are C++ is not disclosed, as far as I know. But it is public knowledge that C++ is the biggest of Google's primary languages (C++, Java, Go, Python, Javascript, and so on).

https://research.google/pubs/pub45424/

Re:Carbon Language: An experimental successor to C++ by saagarjha on Tuesday July 19, 2022 @01:30PM (#32155090)
No, Google really has that much code. Some of it is probably machine generated but it's definitely in the billions of lines.
Re:Carbon Language: An experimental successor to C++ by summerlight on Tuesday July 19, 2022 @01:27PM (#32155062)
It's a bit of an exaggeration, but it's close. If you count all Google's C++ code base (google3 + open source) it's fairly close to one billion. If you count regardless of language, I believe it's ~3B.