2 ms·
Despite what blogposts and HN seem to suggest, that is not how a lot of C++ code is written, for better or for worse.
by cmovq 3y ago
Despite what blogposts and HN seem to suggest, that is not how a lot of C++ code is written, for better or for worse.
- 0xffff2 3y agoI guess. My current project is spacecraft flight software targeting C++98 on GCC 4.3ish. Still we backported a slightly gimped `shared_ptr` and a much more gimped `unique_ptr` for the incredibly limited amount of dynamic allocation we do on startup. I know there are a lot of people out there still writing C and I've come to accept that I will never understand or agree with those people, but to be writing C++ and passing raw pointers around in 2023 is a hell of a choice IMO.