
Learn contemporary C++ with code examples, concise explanations, cheat sheets and infographics. #cpp #cplusplus #programming #learning #education
Germany
Joined March 2020
- Tweets785
- Following714
- Followers5.4K
- Likes16.2K
Replying to @thisisgm
You know that if you keep implementing all my suggestions within days I'll take that as encouragement to push for even more😉
Keep up the great work!
If you are using Neovim to write/review C or C++ this plugin could be really handy:
github.com/J-Cowsert/classla…
Just hover over a type or variable, press a key and see exactly how Clang lays it out in memory: offsets, padding, alignment etc. in a floating window.
hacking C++ retweeted
The Pimpl pattern: heap allocate your implementation, write a copy constructor, write a move constructor, write a destructor, write copy assignment, write move assignment
C++26: std::indirect<Impl> impl_;
Done. The compiler generates everything 🧵👇
Replying to @SbastienLevy1 @ChShersh
Unfortunately. If the rank is less than the rank of int, there’s a promotion to either int or unsigned int. It’s a real mess.
I've begun to work on the site again.
- the default compiler for all runnable examples is now set to g++ 15.2
- the VIM Plugins page has been updated
- added some sprinkles of std::print to the Beginner's Guide
hackingcpp.com/news/2026-02-…
hacking C++ retweeted
Jjust did a round of updates to my starter project. Including automatic build and deployment of your project to github pages with a CI emscripten build!
* emscripten
* CI OS / Compiler updates
* Fine tuning of static analysis
github.com/cpp-best-practice…
cpp-best-practices.github.io…
hacking C++ retweeted
I'm getting very close to publication of my latest book: The Programming Puzzles Big Book (Fun for ages 7-99)!
leanpub.com/programming_puzz…
This is your last chance to get it for the pre-release price of only $4.99 and help me find any remaining bugs.
This is 400 pages of puzzles!
hacking C++ retweeted
🎉 Big news! CLion is now free for non-commercial use! Whether you're a student, hobbyist, open-source hero, or just in love with C or C++, you can now code your heart out – for free! jb.gg/cl_free_x
#cpp #cplusplus
hacking C++ retweeted
Posted a new video about std::chrono which provides an overview of what functionality was added in C++11, C++17, and C++20. Watch to find out how much of chrono your compiler supports. We were pretty surprised at what we discovered. #cplusplus
youtube.com/watch?v=63GKRVb8…
Replying to @lefticus
functions
pointers
classes/objects (encapsulation+invariants)
inheritance+OO patterns
STL design philosophy
monads
other functional patterns
Pretty much in that order. Each of these concepts unlocked a new way of thinking for me.
hacking C++ retweeted
Alright team, we can do this!
Retweet if you know anyone who is not currently a subscriber of C++ Weekly!
youtube.com/@cppweekly
VIM users might find this CMake integration plugin useful: github.com/cdelledonne/vim-c…
- build window
- populates quickfix list with build errors
- easy cmake config switching
- autocompletion for targets, configurations, tests
- events for build success/failure etc.
hacking C++ retweeted
I'm toying with making a list of C++ Tricks, Tips and Tidbits. They are intended for like one of those pop up "did you know?" dialog boxes.
github.com/lefticus/lefticus…
Add some via comment or PR if you are interested!
hacking C++ retweeted
New blog post featuring:
- Terrible jokes
- Floating point
- StackOverflow bashing
- Shameless self-promotion
#programming #cplusplus #stackoverflow
zverovich.net/2023/06/04/pri…
Replying to @DefenceForceOrg @MittringMartin
Precisely - My point was just that the better (safer) equivalent to the “by value“-version would be the “const&” version. No need to take something by non-const ref if it’s not absolutely necessary.
Replying to @MittringMartin
you meant “const std::string&“ or “const auto&” …. right? Emphasis on “const”
Replying to @ninkibah
Do you know of any C++ community in the Rhein-Main area? I don’t, but I haven’t looked since the pandemic. There used to be a (rather short-lived) C++ meetup in Wiesbaden.













