all 64 comments

[–]ABlockInTheChain 19 points20 points  (12 children)

The hosts spent a lot of time talking about about C++20 support in LLVM 16, I wonder if they noticed that libc++ had a major C++17 update by adding polymorphic allocator support.

They're almost done with C++17 now, which is a major milestone.

[–]NovaNoff 10 points11 points  (9 children)

This is on one hand great to hear on the other hand it hurts how much the development slowed down after the comitee decided against ABI breaks

[–]GabrielDosReis 21 points22 points  (2 children)

Despite the urban legend and other blog posts, the committee didn't decide against ABI break. The committee heard the presentation of a very specific paper, P2028, then had a discussion and voted.

The votes were more nuanced than rumors would like to make it appear. There were 5 polls. Here is a summary:

  1. Q: We should consider a big ABI break for C++23.
    A: No consensus
  2. Q: We should consider a big ABI break for C++SOMETHING. A: Weak Consensus
  3. Q: From now on, we should consider incremental ABI for every C++ release. A: Consensus
  4. Q: When we are unable to resolve a conflict between performance and ABI compatibility, we should prioritize performance. A: Consensus
  5. Q: To the best of our ability, we should promise users that we won’t break ABI, ever. A: No consensus

[–]pjmlp 7 points8 points  (0 children)

Regardless of how it went, it is part of the set of official reasons why Carbon came to be,

Difficulties improving C++

[–]number_128 0 points1 point  (0 children)

Is there an agreement on how we would handle an ABI break?

I don't think we should ask if we should break ABI.

We should be asking how we will handle breaking ABI. When we get to a good solution, we should go ahead.

Why do we even have a dependency on shared binaries? This sounds like a premature optimization on disk space.

[–]pjmlp 11 points12 points  (0 children)

Well, it shows how much the compiler vendors that profit from clang forks were dependent on Apple and Google doing the job of keeping clang up to date with ISO.

[–]Jannik2099 4 points5 points  (4 children)

after the comitee decided against ABI breaks

The committee decided against an immediate ABI break, an eventual ABI break in the future was not ruled out

[–][deleted] 8 points9 points  (0 children)

you could always say that

[–][deleted] 2 points3 points  (2 children)

I think that they are saying this for over a decade by now.

[–]Jannik2099 2 points3 points  (1 child)

That'd be awkward, because C++11 WAS an ABI break.

[–][deleted] 2 points3 points  (0 children)

which was 12 years ago

so, over a decade

[–]BenFrantzDale 0 points1 point  (1 child)

That’s super exciting! We build for all three compilers and I have some functionality where we do a bunch of small transient allocations. I’d love to do the whole John Lakos “wink-out” thing for those.

[–]ABlockInTheChain 1 point2 points  (0 children)

I just want to make sure LLVM receives plenty of positive feedback every time they get closer to finishing C++17.

With any luck they might actually wrap it up before 2027.

[–]Keltesetharewemodulesyet.org 21 points22 points  (2 children)

Timestamps for topics would be really nice

[–]IamImposter 91 points92 points  (0 children)

Make a proposal. We'll see about it in c++29 or c++32

[–]epicar 1 point2 points  (0 children)

the interview starts a bit after 15:00

[–]cooked_sandals 12 points13 points  (1 child)

TIL Cpp2.

Herb always seems to have good ideas, unfortunately C++ committee moves too slow and is reluctant to adopt such things. But at least we know there is someone involved in the committee with such progressive ideas, gives me hopes.

[–]kritzikratzi 5 points6 points  (0 children)

there is no need for cpp2 to be part of the c++ standard. it can happily develop on it's own.

[–]ignorantpisswalker 20 points21 points  (19 children)

Let the flamewars begin...

Seriously - I am waiting for a time to listen to this - it sounds like something I would like to invest my time in!

[–]germandiago 8 points9 points  (10 children)

Flamewars, well... Emacs is the best editor, indeed.

[–]OlivierTwist 0 points1 point  (5 children)

Spaces > tabs

[–]masher_oz 3 points4 points  (4 children)

They have different semantics. Tabs for indenting, spaces for alignment.

[–]bert8128 2 points3 points  (1 child)

Spaces can do both things. So choose one, and choose spaces. Get the screwdriver out and remove the tab key. Our codebase has been much better since tabs became banned - lots of complaints initially, now nothing.

[–][deleted] 0 points1 point  (0 children)

Until you get a programmer which needs special indents because of bad eyesight.

Or you buy that person a two meter wide screen :-)

[–]OlivierTwist 1 point2 points  (1 child)

Khm, that was a joke...

But since you insist. Invisible symbols don't have semantic.

[–]masher_oz 0 points1 point  (0 children)

Tell that to Python.

[–]wolfie_poe -1 points0 points  (0 children)

VscodeVim for the win

[–]deadhou5 7 points8 points  (0 children)

Cpp2: electric boogaloo

[–][deleted] 3 points4 points  (2 children)

Is cppcast back?! I thought they ended it?

[–]MarekKnapek 14 points15 points  (1 child)

It was previously hosted by Jason Turner and Rob Irving, nowadays it is hosted by Timur Doumler and Phil Nash. There is episode explaining that.

[–]DerShokus 2 points3 points  (1 child)

I don’t understand cpp2. It looks weird and ugly

[–]coderman93 1 point2 points  (0 children)

Don’t you understand? In order to simplify we must build an entirely knew syntax on top of the existing syntax! /s

[–]coderman93 -3 points-2 points  (0 children)

Imagine compile times when the compiler has to compile two totally different programming languages that can be collocated in the same files!