News for hackers. Stuff that matters.
Re:The C23 edition of Modern C is now available for free by shakna on Wednesday October 16, 2024 @01:25AM (#41855880)
The `thread_local` specifier is used on a few microcontroller platforms already, but would be absolutely illegal in C11 and before to use. However, it vastly simplifies memory management in a threaded context.

Why would I rather step into the world of C++ just to deal with that?

Re:The C23 edition of Modern C is now available for free by casenmgreen on Wednesday October 16, 2024 @05:45AM (#41857253)
IIRC, performance and cost of thread local store varies greatly between platforms.

You have to know what you're biting into, before you use that.