Modern C and What We Can Learn From It - Luca Sas [ ACCU 2021 ]
Why Hacker News recommends it
HN recommends it as a good overview of modern C patterns, including in threads about learning C.
What it is
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.
Recommended by 3 HN commenters across 3 different months, 2021 to 2022.
What Hacker News said
Recommends AlbertoGP · 2021-08 · on “Show HN: C programming language extension: Cedro pre-processor”
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.
Recommends belter · 2022-08 · on “Why aren't there C conferences? (2018)”
"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]
Recommends thom · 2022-12 · on “Ask HN: Learn C in 2023?”
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.