News for hackers. Stuff that matters.
Re:Why Not Just Do Simple C++ RAII in C? by jay-barronville on Wednesday May 22, 2024 @04:25PM (#40446006)
Haha. You can’t be serious—what’s the likelihood of running into C code like this in anything remotely serious (compared to the millions upon millions of lines of innocent-looking C++ code that does like a dozen different things under the hood)?
Re:Why Not Just Do Simple C++ RAII in C? by gpderetta on Wednesday May 22, 2024 @04:27PM (#40446035)
No true Scotsman.

I assume you haven't looked at the expansion of errno lately?

edit: also

https://github.com/KxSystems/kdb/blob/master/c/c/k.h