Live data from Hacker News

Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria

herbsutter.com

21–30 of 141 posts

Re: Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria

#21

I am very happy to see that the work on fibers is continuing. I was under the impression that with the addition of coroutines, the focus would have shifted. Glad i am wrong. What's the best way for someone to keep track of the progress and the conversation around a specific proposal ?

You subscribe to the Github issue of the proposal: https://github.com/cplusplus/papers/issues

Re: Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria

#22
I really like the fact that it takes "decades" for any reasonable change (e.g. networking, fiber, reflection etc) in C++ to be approved, implemented and promoted.

It has never been a better time to depreciate such dinosaur language controlled by a small closed group of people with a combined age of thousands. It is a language for those with several million $ worth of RSU waiting to be vested.

Re: Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria

#23
It's nice that whatever may be going on in life, at least we've always got an exciting new C++ release to look forward to every 3 years. I'm particularly excited that C++23 is finally getting std::flat_map and flat_set, more memory-friendly data structures with much nicer latency characteristics than the old non-flat variants.

Re: Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria

#24

I feel things with C++ are not as bad as with Python, but I would really like a "core language freeze" for 10 years now or something. I don't want to keep up with all these changes. To many enthusiasts on the committee.

What new language features did python get recently that make it harder for newbies?

I can't think of any specifics that won't sound silly in isolation. It is just the sum.

I mean, it felt like I woke up one day and couldn't read Python anymore. I believe there is a great lag between introduction of a concept/syntax/whatever and its actual use, so I can't even pinpoint a version where Python became "too much".

Re: Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria

#25

Earlier quoted context omitted.

You have to think about newbies too. Python has made the same mistake as C++, but worse. At least C++ is not pretending to be user friendly. "Modern" C++ was a mountain to climb for me. I think I will not even try to catch up on modules, contracts and what not. I'd rather go back to C for personal projects. I just don't have the stamina for another big C++ language change. And they add up.

While I don't follow Python development super closely, as a scripting language it is still pretty simple and user friendly. I'm sure once the complexity rises... well, the complexity rises.

Ye sure. My point is that Python is harder than it could be. Not that it is harder to use or learn than C++. It is like the language design now is centered around those with 10 year plus experience in the language.

I firmly remember how hard it was to understand each concept as a newbie. And all the additions since I started out must be insanely confusing now.

Re: Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria

#27
> Some compiler needs to implement -Wunderbar

Hidden gem!

On a more serious note, the author of this little proposal (officializing "_" as a no name placeholder) had to perform a thorough research to show that this change would not break existing code.

This kind of attention is necessary for a language with broad scope and a long successful history such as C++, and would be for every other language with such characteristics.

While more modern languages benefit from the errors of the older ones, I do not think they will be exempt from this kind of responsible growth process when they will become decades old.

Re: Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria

#28
I still think they should stop adding new features and do what the C committee does in keeping the language stable over the decades which it will take to slowly die, as it should.

Can't the new-feature enthusiasts just make a new language, or join existing efforts at building new ones? C++ is already a mess of around 3.5 languages jumbled together. When will it stop?

Re: Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria

#29
post #26

"type checking format args" [1] is rather sad reading. I think that it's time to admit that C++ will never have things like string interpolation, that are norm in other modern languages. [1]: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p27...

What a weird comment. What would be the point of "admitting" something that is an obvious fact? std::format, being a function for string formatting, is already part of the C++ standard library and can do some of its error checking at compile time. The paper you link is about making that error checking even better.

Re: Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria

#30

I still think they should stop adding new features and do what the C committee does in keeping the language stable over the decades which it will take to slowly die, as it should. Can't the new-feature enthusiasts just make a new language, or join existing efforts at building new ones? C++ is already a mess of around 3.5 languages jumbled together. When will it stop?

> I still think they should stop adding new features and do what the C committee does in keeping the language stable over the decades which it will take to slowly die, as it should.

Other than catering to your unexplainable desire to see the death if one of the most popular programming languages ever designed, what would be the point of that?

More importantly, what leads you to believe that there is value in stopping others from improving upon a language they use?

> Can't the new-feature enthusiasts just make a new language, or join existing efforts at building new ones?

What's the point of that? You have a perfectly good and working programming language that is used to build software everyone in the world uses every single day. Why would anyone think it's a good idea to just throw that out and water their time reinventing the wheel? Are you the one who is going to rewrite every single C++ software project into your flavor of the month?

Post reply on HN