News for hackers. Stuff that matters.
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.
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.
Re:Modern C by beefhash on Friday September 04, 2020 @11:21AM (#24375719)
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.
Re:Modern C by gnu on Friday September 04, 2020 @11:30AM (#24375815)
I have been meaning to learn the Plan 9 dialect of C but haven't gotten around to it.