![Modern C and What We Can Learn From It - Luca Sas [ ACCU 2021 ]](https://i.ytimg.com/vi/QpAhX-gsHMs/hqdefault.jpg)
Modern C and What We Can Learn From It - Luca Sas [ ACCU 2021 ]
About this video
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 it appears in the archive
HN recommends it as a good overview of modern C patterns, including in threads about learning C.
AI-generated summary and labels from the source dataset; verify important details against the video. Source & credits.
From the Hacker News discussion
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″: [VIDEO] If you haven’t watched it, I can recommend it.
Read original comment ↗"Modern C and What We Can Learn From It - Luca Sas [ ACCU 2021 ]" - [VIDEO] "Linux User/Kernel ABI: the realities of how C and C++ programs really talk to the OS - Greg Law" - [LINK]
Read original comment ↗Modern C by Jens Gustedt is quite good. This video gives a good overview of some modern patterns in C: [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.
Read original comment ↗