Luca Sas's ACCU 2021 talk on Modern C, a style of C and C-like C++ aligned with data-oriented design. It covers centralized memory management, zero-is-initialization, error handling and API design.
Why Hacker News points people here: HN recommends it as a good overview of modern C patterns, including in threads about learning C.
“This video gives a good overview of some modern patterns in C”HN comment, 2022
Explains modern C techniques and mentions the Cedro approach.
Full comment
Yes, that’s a very clean and robust approach. In the “Deferred resource release → Related work” section, one of the links is to a video from the ACCU 2021 conference by Luca Sas titled “Modern C and What We Can Learn From It” that explains modern C techniques, and your one is mentioned at 23′15″: this video If you haven’t watched it, I can recommend it.
RecommendsbelterAug 2022
“Modern C and What We Can Learn From It - Luca Sas [ ACCU 2021 ]”
Offered as example of a C conference talk.
Full comment
"Modern C and What We Can Learn From It - Luca Sas [ ACCU 2021 ]" - this video "Linux User/Kernel ABI: the realities of how C and C++ programs really talk to the OS - Greg Law" - link
RecommendsthomDec 2022
“This video gives a good overview of some modern patterns in C”
Good overview of modern C patterns.
Full comment
Modern C by Jens Gustedt is quite good. This video gives a good overview of some modern patterns in C: this video I think the best thing you can do is go find a unit testing library you like the look of, maybe some tools for address/leak sanitization, and spend a good amount of time learning CMake and creating a build/project workflow you're happy with. Coming from Rust you've got great tooling and good guardrails in place to keep you on the happy path, I think getting into that groove early in C where you can run experiments and break things in a sane environment is important.