2 ms·
Just write C++ safely! Why didn't we think of that?
by rwmj 7mo ago
Just write C++ safely! Why didn't we think of that?
- array_key_first 7mo agoC++ is hard to get safe in complex systems with hard performance requirements. If the system is simple and you don't give a shit about performance, it's very very easy to make C++ safe. Just use shared_ptr everywhere. Or, throw everything in a vector and don't destroy it until the end of the program. Whatever, who cares.