Cute C++ Tricks (and what you can learn from them): Part 2 of N - Daisy Hollman - CppNorth 2022
CppNorth Twitter:
CppNorth Website:
--
Cute C Tricks (And What You Can Learn From Them): Part 2 Of N - Daisy Hollman - CppNorth 2022
Slides:
CppNorth 2022 video sponsors:
think-cell:
Adobe:
During the COVID-19 global pandemic, as we all searched for ways to stay connected to the C community, I innocently started posting short, 25-line or less C snippets of counterintuitive C code that I called my “Cute C trick of the day.“ The amount of attention these tricks got was surprising, and as I’ve posted more of them, I’ve realized that these counterintuitive snippets of C code offer pithy and memorable ways to teach people some intermediate or advanced aspects of C (that often come up in real code!).
I gave part 1 (of N) of this talk at CppCon 2021, and this is part 2 (of N). In this presentation, I will dissect a few more of my most popular “Cute C tricks“ to a level of detail not possible on social media platforms like Twitter. I’ll talk about how and why these tricks work the way they do, talk about the dark corners of C they touch upon, and talk about what you should actually do if you need to produce the same effect in production code. While not targeted at beginners, these tricks span the gauntlet from features that most intermediate programmers are aware of (but never thought to use in a particular way) to dark corners of the language that many of my C committee colleagues were surprised to learn about. Throughout it all runs a common thread: learning how to exploit your own curiosity to expand your toolbox, gain a better grasp of the fundamentals of C , and ultimately, become a better programmer.
---
Daisy Hollman
Dr. Daisy S. Hollman began working with the C standards committee in 2016, where she has made contributions to a wide range of library and language features, including proposals related to executors, atomics, generic programming, futures, and multidimensional arrays. Since receiving her Ph.D. in Quantum Chemistry in 2013, her research has focussed primarily on parallel and concurrent programming models, though a broader focus on general accessibility of complex abstractions has become her focus in more recent years. She currently works on C language and library design at Google, where she continues to focus on providing broad accessibility of programming models and abstractions, with a particular focus on design for diversity and inclusivity.
---
YouTube Channel Managed By Digital Medium Ltd:
---
#Programming #CppNorth #coding