Lib0xc: A set of C standard library-adjacent APIs for safer systems programming
1–10 of 103 posts
Re: Lib0xc: A set of C standard library-adjacent APIs for safer systems programming
#2Re: Lib0xc: A set of C standard library-adjacent APIs for safer systems programming
#3Re: Lib0xc: A set of C standard library-adjacent APIs for safer systems programming
#4Re: Lib0xc: A set of C standard library-adjacent APIs for safer systems programming
#5Re: Lib0xc: A set of C standard library-adjacent APIs for safer systems programming
#6Re: Lib0xc: A set of C standard library-adjacent APIs for safer systems programming
#7there are no good reasons we don't do this in the standards themselves, C, C++, and POSIX should all be working on editions that add safer APIs and mark unsafe APIs as deprecated, to start a long term migration. we know how to do this, we've had a lot of success with this. there are real engineering concerns, sure, but they're not reasons to not do it. compilers and library chains can retain support for less safe var…
Re: Lib0xc: A set of C standard library-adjacent APIs for safer systems programming
#8there are no good reasons we don't do this in the standards themselves, C, C++, and POSIX should all be working on editions that add safer APIs and mark unsafe APIs as deprecated, to start a long term migration. we know how to do this, we've had a lot of success with this. there are real engineering concerns, sure, but they're not reasons to not do it. compilers and library chains can retain support for less safe var…
The C committee at least seems to get it now. The C++ committee still doesn't, led in large part by Bjarne.
Re: Lib0xc: A set of C standard library-adjacent APIs for safer systems programming
#9I'm curious – is MSFT using this in production, or is this a "20% time" project? I'm not sure MSVC could compile the GNU extensions used.
Re: Lib0xc: A set of C standard library-adjacent APIs for safer systems programming
#10The title looks very promising. I’ve added this library to my to-do list to take a deeper look at it. Using this standart library within restricted safe subset of C++ can be a strong opponent for Zig (at least for myself).