Trainer, Speaker, Programmer all around C++ and Embedded Systems. Creator of cppinsights.io bsky.app/profile/andreasfert…

I did @CompileExplore's monthly accounts, and for the first time in ages we only broke even. Usually we run at a small surplus & we have a year contingency saved up. If you want to support us: * Buy stuff: shop.compiler-explorer.com/ * Patron/GH: "Other" menu on CE Please repost. thx
1
23
60
5,263
Andreas Fertig retweeted
LAST CHANCE to register to Safe and Efficient C++ for Embedded Environments by @Andreas__Fertig on Tuesday! Watch The Preview Video: piped.video/watch?v=kDZKo9Om… Full Workshop Information & Registrastion: cpponline.uk/workshop/safe-a… #cpp #cplusplus #embedded #coding #programming
Made with AI
2
6
353
Andreas Fertig retweeted
Check out the upcoming C++ workshops we have over the next couple of weeks from instructors including Klaus Iglberger, @SandorDargo @wilczek_jan and @Andreas__Fertig cpponline.uk/workshops/ #cpp #cplusplus #workshops #learncpp
Made with AI
1
5
367
Andreas Fertig retweeted
Embedded C++ just got safer & faster! Join Safe & Efficient C++ for Embedded Environments with @Andreas__Fertig to master modern C++ for memory-constrained systems. Type-safe, robust, and efficient coding awaits. 🗓 12 May | 🖥 Online 🔗cpponline.uk/workshop/safe-a… #cpp #embedded
Made with AI
1
3
269
C++ Insights - Episode 72: Why you should never call a virtual member function in a constructor In this episode, you'll learn by example why you should never call a virtual member function from a constructor. piped.video/_ZvNJciCXeE #cppinsights #cpp #cpp11
1
15
2,604
Andreas Fertig retweeted
I'm giving workshops at upcoming conferences! The next two coming up are C++Online (April 9) and NDC Toronto (May 5-6). Check out this session preview of my style: piped.video/live/Ipr6ntCAm9A C++Online: cpponline.uk/workshop/perfor… NDC Toronto: ndctoronto.com/workshops/c-b…
1
3
19
1,841
You might have seen that, I'm producing the C++ Insights YouTube channel piped.video/@andreas_fertig. There, I aim to explain various C++ elements, using cppinsights.io. This is where you come in. What is it that you want me to dive in for you? #cppinsights #youtube #cpp
2
27
1,588
Andreas Fertig retweeted
Embedded C++ just got safer & faster! Join Safe & Efficient C++ for Embedded Environments with @Andreas__Fertig to master modern C++ for memory-constrained systems. Type-safe, robust, and efficient coding awaits. 🗓 12 May | 🖥 Online 🔗cpponline.uk/workshop/safe-a… #cpp #cplusplus
1
194
Have you ever wondered how to use templates when programming C++? Stop guessing and get your copy of tips and tricks to help you write clean code. Paper: amzn.to/3OnLAIx E-book: fertig.to/btmpl #cpp14 #book #cplusplus
1
17
438
Andreas Fertig retweeted
Online Workshop tickets are now live from world class instructors including @lefticus, @SandorDargo @mateusz_pusz, @Andreas__Fertig @wilczek_jan & more! 🧑‍🏫 FREE main conference access included with every workshop registration! cpponline.uk/workshops #cpp #cplusplus #coding
1
2
179
Andreas Fertig retweeted
Fellow nerds! 🤓 Want to help me play test my new Programming Puzzles Game website? programmingpuzzles.fun It's the companion site to my Programming Puzzles for Everyone book. Have fun and report any issues.
2
23
2,294
C++ Insights - Episode 71: C++23: multidimensional operator[] In this episode, you'll learn about the change to the operator[] in C++23. piped.video/_wIj799nLOc #cppinsights #cpp #cpp23
1
14
1,020
You might have seen that, I'm producing the C++ Insights YouTube channel piped.video/@andreas_fertig. There, I aim to explain various C++ elements, using cppinsights.io. This is where you come in. What is it that you want me to dive in for you? #cppinsights #youtube #cpp
1
1
8
313
Andreas Fertig retweeted
Back to Basics: Master the static inline, const, and constexpr C++ Keywords by @Andreas__Fertig piped.video/hLakx0KYiR0
C++: Understanding static vs. global linkage Notice the static keyword in the image? The compiler uses it to make smarter decisions. After parsing, the optimization passes kick in: 1️⃣ Constant Folding Inputs are constants, so the result (10) is calculated at compile time. 2️⃣ Inlining The function calls in main are replaced with the raw result 10. 3️⃣ Dead Code Elimination Look at the top-right pane (-O3): - The static Foo is deleted (unused & internal). - But the global foo is kept! ⚠️ Why? Default linkage is external. The compiler preserves foo for potential linking by other files. Can we fix this? Yes, with the Link Time Optimization (-flto). The linker examines all modules, confirms no one calls foo, and finally removes the dead code.
4
48
3,290