News for hackers. Stuff that matters.
Re:C++ Exit-Time Destructors by pjmlp on Saturday March 23, 2024 @06:21AM (#39798797)
Which is why that kind of stuff only works properly with languages that combine dynamic loading with rich runtimes, alongside automatic memory management, having all puzzle pieces to work together to keep the application running when the library is removed again.

I came to accept that in languages like C and C++, the best path for dynamic loading code is really via OS IPC and external processes, the decrease in hardware resources and simpler programming model of using shared libraries as plugins, isn't worth the endless amount of debugging hours regarding program crashes.

There are no comments on this comment yet.