Earlier quoted context omitted.
Same for "safety"
reflection seems almost dead but there are 2 papers listed on Herb's summary that directly relate to safety: P2530 hazaerd pointers https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p25... P2757 type checking for std::format https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p27...
Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria
11–20 of 141 posts
Re: Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria
#12Earlier quoted context omitted.
I for one welcome the new features! I don't think it's too hard to learn a few new things every 3 years.
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.
Re: Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria
#13Ctrl+f "Reflection" -> 0 results Maybe next year ..
Same for "safety"
Re: Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria
#14Earlier quoted context omitted.
I for one welcome the new features! I don't think it's too hard to learn a few new things every 3 years.
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.
Re: Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria
#15I 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.
A lot of features aren’t fully fleshed out when they enter the standard. For example the building blocks of coroutines appeared in C++20 but the user friendly affordances aren’t there yet — but with the building blocks in place people can work on that.
Likewise a lot of features are there for library developers and aren’t needed by regular code.
So your position is sorta consistent with what’s mostly approved by the committee. Even ranges, which are exciting, I’m still waiting on to see if some things get shaken out.
Re: Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria
#16Earlier quoted context omitted.
I for one welcome the new features! I don't think it's too hard to learn a few new things every 3 years.
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.
* Some new features are typically added to handle very specific cases that will rarely be encountered but can't be easily handled by existing mechanisms. These are typically used by library authors to make an API clearer or easier to use, and new developers won't need to interact with them at all.
* Some new features are added to replace existing features either partially or entirely (because the old feature had issues, or a better way of handling it was found). In that case, new developers just don't need to learn the old feature at all, or if they do, they can learn it later as a more advanced technique.
I don't know a huge amount of C++, and I haven't been following Python much recently, but to use some examples from Rust:
* GATs and a lot of the newer trait features are very much in the former category. Very few Rust developers will be directly using the new tools, but library authors can use them to create easier-to-use APIs which benefit everyone.
* The `try` mechanism is often simpler to learn than all the Result/Option combinators, which drastically reduces the amount a new developer needs to know about to get started. You'll still probably need those combinators later, but you can now get started without them.
There are definitely some features that don't fit clearly into these two categories, and add a kind of overall complexity to the language. But I think a lot of people look at a big list of features and think "but that will be so much to learn", forgetting that (a) you probably don't need to learn a lot of it until you're already very advanced, and (b) a lot of it will be making other parts of the language obsolete and overall simpler.
Re: Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria
#17I 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 ?
Re: Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria
#18That's a bit sad. It's a beautiful city, in places - the older buildings (neglected), the waterfront park that stretches KILOMETERS, one of the best puppet museums in Europe, and an incredible nature reserve parallel to the beach, out of town to the north...
Re: Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria
#19No pictures of Varna? That's a bit sad. It's a beautiful city, in places - the older buildings (neglected), the waterfront park that stretches KILOMETERS, one of the best puppet museums in Europe, and an incredible nature reserve parallel to the beach, out of town to the north...
Re: Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria
#20Earlier quoted context omitted.
I for one welcome the new features! I don't think it's too hard to learn a few new things every 3 years.
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.
what ways are there to learn/teach latest c++? I can only come up with conferences' recordings