News for hackers. Stuff that matters.
Re:The Year of C++ Successor Languages by mgaunard on Monday January 02, 2023 @07:17AM (#34217126)
None of system programming can be statically checked, since it's mostly about I/O with weak memory models.
Re:The Year of C++ Successor Languages by Yoric on Monday January 02, 2023 @07:49AM (#34217358)
Caveat: we may be using different definitions of "system programming". The one I'm using is code that is fairly close to the system, i.e. will call into libc or into the kernel/libSystem/etc. as well as calling more-or-less directly into a bunch of system-specific .so/.dylib/.dll.

In my experience as a system developer, you need to invest some time into understanding the invariants expected/promised by the libraries you're calling, but many of them map nicely to static types. Of course, if you're implementing e.g. a IPC or RPC layer, you need to deserialize (and validate along the way) your inputs, but there are very few systems that do not need to do that regardless.

Re:The Year of C++ Successor Languages by mgaunard on Monday January 02, 2023 @09:02AM (#34217890)
Code that uses libc is just normal code.
Re:The Year of C++ Successor Languages by Yoric on Monday January 02, 2023 @09:08AM (#34217949)
I don't disagree :)