Re:Modern C
by jokoon on Friday September 04, 2020 @11:12AM
(#24375639)
C11 or c18 dont bring a lot. I wish they did, but they don't.
[ Parent
| on HN ]
Re:Modern C
by brandmeyer on Friday September 04, 2020 @02:08PM
(#24377421)
I use C11 atomics pretty regularly. While lock-free data structures are tough to get right, there are other uses of atomics that are easy. For example, portable lock-free multithreaded statistics counters.
Indeed, C11 and C18 don't bring a lot. I'm glad that they don't because backwards compatibility and roughly predictable development of the language is important to me.