logoalt Hacker News

jandrewrogers12/07/20254 repliesview on HN

What does RAII have to do with any of the above?


Replies

WD-4212/07/2025

0 allocations after the program initializes.

show 4 replies
DashAnimal12/07/2025

Well if you're using the standard library then you're not really paying attention to allocations and deallocations for one. For instance, the use of std::string. So I guess I'm wondering if you work in an industry that avoids std?

show 1 reply
nmhancoc12/07/2025

Not an expert but I’m pretty sure no exceptions means you can’t use significant parts of std algorithm or the std containers.

And if you’re using pooling I think RAII gets significantly trickier to do.

show 1 reply
astrobe_12/07/2025

And what does "modern" has to do with it anyway.