Megacorps be like "we optimize for productivity not performance" then take 4 years to maybe fix a minor bug
-
-
This Tweet is unavailable.
-
also the idea of a custom deleter embedded in a unique_ptr seems fucking crazy to me idk custom allocators are a huge pain in c++ anyway and I only recently started adding them in a couple places
- Show replies
-
-
-
Nope. It was fine. "Free things individually" would be "a whole container full of things".
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I feel like both the RAII and anti RAII talk past each other. You will have to do resource cleanup. You will have to deallocate even your pools and you will have to close file handles. Since all Raii does is guarantee the cleanup everything
@cmuratori is talking about can be done -
Can be done with or without it. But RAII also isn't the only approach for this to be automated. Especially they way it deals with ownership etc. There is a great video from
@contextfreeinfo That talks about many different approaches to it.https://youtu.be/hjeOZN7YGng - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.