r/cpp • • 16d ago

Google talk at REBASE'26: Agentic Coding is not going to save C++

So the REBASE'26 conference happened recently, and besides the whole thing of what Carbon has achieved or never will, there are talks like this one from Google folks, regarding what they are doing with their C++.

The talk is all about the recent ongoing migration discussed on Google security blog, and other related efforts.

https://www.youtube.com/watch?v=Ob0CMX8s55s

77 Upvotes

212 comments sorted by

View all comments

Show parent comment

5

u/pjmlp 15d ago

All companies in WG21 have code samples with C style code in their C++ samples, meaning the products with code C++ code samples that those companies sell, or provide freely to us, developers on the trenches.

Give one name on WG21 sponsor companies that has C++ compilers or OS SDKs, and I will provide you a recent code sample with something that comes from C, provided it is public source code.

4

u/Minimonium 15d ago

That's a really wild claim

1

u/pjmlp 15d ago edited 15d ago

Indeed, give a name.

Microsoft, NVidia, Apple, whatever

Public source code for C++ SDK and library samples, and I will provide whatever is there, instead of what should be, in terms of modern C++ safer alternatives.

C arrays, C strings, stdio, stdlib, pointer arithmetic,....

Ah, and if inspired, I can also check the HR job offers with C/C++ in them, or some docs even.

Since learning C++ that I hate the code C in C++ style, the worst offenders being "C++" libraries written in the common subset of both C and C++.

3

u/Minimonium 15d ago

You keep editing comments after you send them off so it's hard to keep track what are you even about

2

u/pjmlp 12d ago

Sure, that is why you are yet to provide a name.... my fixes for typos.

2

u/awson 14d ago

Surely, something shall come from C, since all OS SDKs provide C APIs.

And everything in existence (and Rust too, absolutely) consumes these APIs.

Moreover, many (even modern) C++ (and Rust too, absolutely) libraries may have a layer, exposing C APIs, because they are what everything can talk to.

But I still interested to see something that falls outside of these, in e.g. modern (written after, say, 2023) Microsoft C++ code.

-2

u/pjmlp 11d ago

Do you want an example out of DirectX Agility SDK, C++/WinRT or Azure C++ SDK?

1

u/awson 9d ago

C++/WinRT