News for hackers. Stuff that matters.
Re:Best Performance of a C++ Singleton by amluto on Sunday March 08, 2026 @11:12AM (#47297973)
On the flip side, it’s easy to get a bit stuck down the road by the mere fact that you have a singleton. Maybe you have amazing performance and very carefully managed safety, but you still have a single object that is inherently shared by all users in the same process, and it’s very very easy to end up regretting the semantic results. Been there, done that.

There are no comments on this comment yet.