▲ | dwattttt 4 days ago | |||||||
I've been following Raymond Chen's recent series on writing a tracking C++ pointer class with interest. Most of the articles start with "to fix the mistake we showed at the end of the last article", and end with "but now we've broken something else". Needing to keep track of where exceptions can occur, so that you don't leave an operation half committed, sounds especially nasty: https://devblogs.microsoft.com/oldnewthing/20250827-00/?p=11... | ||||||||
▲ | nromiun 4 days ago | parent | next [-] | |||||||
A lot of things are broken in C++. Like coroutines, exceptions, parallel execution (std::execution) etc. That does not mean the core ideas are bad and we should stop using them in every language. | ||||||||
| ||||||||
▲ | quotemstr 4 days ago | parent | prev | next [-] | |||||||
You still have to be exception safe in Rust, you know. What do you think a panic is? Rust really has the worst of both worlds. | ||||||||
| ||||||||
▲ | lenkite 4 days ago | parent | prev [-] | |||||||
Yeah, well C++ built a faulty bridge and screwed the pooch for future language designers who now all say "bridges are harmful". |