r/cpp • • Jan 11 '26

CppCon Making C++ Safe, Healthy, and Efficient - CppCon 2025

https://youtu.be/p52mNWsh-qs?si=Bz6pyW6d0SMLCZxV

Now with some updated content since the ACCU talk, and the Q&A is nonetheless interesting.

54 Upvotes

103 comments sorted by

View all comments

Show parent comment

2

u/pjmlp Jan 15 '26

Back in the 1990's all C and C++ compilers worth using were all commercial, though.

Sean Baxter was also looking for sponsorship, which did not happen.

3

u/Wonderful-Wind-905 Jan 15 '26

But the situation is very different from the 1990s, and GCC tried to add support already in the late 1980s:

 1987: C++ support in GCC 1.15.3

Even Apple open-sourced Swift within one year of it appearing.

 It was initially a proprietary language, but version 2.2 was made open-source software under the Apache License 2.0 on December 3, 2015, for Apple's platforms and Linux.

People cannot contribute to a closed-source compiler, and they are wary of building programs in a language where only one closed-source vendor is available.

The main programming language that comes to mind regarding its compilers mostly being closed-source, in the current day and age, is Ada. Maybe you are fond of Ada or related to Ada, I don't know.

The sponsorship thing is unfortunate, but the compiler being closed-source likely didn't help. I can understand Sean Baxter wanting to be compensated for his work, but I don't believe that his approach was the most strategic. The economics of programming language development are indeed screwed up. It almost seems most suited for being financed indirectly by universities doing public research for the common good. But that has drawbacks as well.

1

u/bitzap_sr Mar 14 '26

Completely agreed. If Safe C++ was implemented in Clang, with a -fsafe or whatever switch, it could gain traction and evolve, and eventually parts of it could find its way to ISO c++. Sean would have likely gotten a job somewhere maintaining and evolving this, from some big tech who would feel much safer relying on a clang mode than on a new proprietary compiler with not much industry use. I've gotten downvoted significantly in the past for suggesting this.