
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
Pinned Tweet
C++ Standard Library Algorithms
Quick Visual Reference
Part 1/32 - Sorted Range Operations
#cpp #cplusplus #algorithms #programming #cheatsheet
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 🧵👇
hacking C++ retweeted
This is Algebrica. A mathematical knowledge base I’ve been building for 2.5 years.
215+ entries, carefully written and structured.
400k+ views over this time. Not much in absolute terms, but meaningful to me.
No ads.
No courses to sell.
No gamification.
No distractions.
Just essential pages, aiming to explain mathematics as clearly as possible, for a university-level audience.
Built simply for the pleasure of sharing knowledge.
Content licensed under Creative Commons (BY-NC).
Best experienced on desktop.
If it helps even a few people understand something better, it’s worth it.
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…
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…
hacking C++ retweeted
Major updates to my Ultimate CMake template:
* fetch_content-able
* CPM for dependencies
* LTO by default
* simplified usage
* older versions are archived
* hardening BY DEFAULT
Designed to catch as many errors as possible, as early as possible
github.com/cpp-best-practice…
hacking C++ retweeted
Been playing a lot with CPM lately, and I must say, I'm VERY happy with how it's working out.
youtu.be/dZMU3iAPhtI
Mostly it comes down to there being no question at all about how dependencies were compiled, because they are all just Right There.
Watch the video for cons
need to give a shoutout to the awesome Tracy Profiler: github.com/wolfpld/tracy
hacking C++ retweeted
Do you know answers to all of my questions? )
C++ Initialization Quiz buff.ly/3GyLIkX
#programming #cpp
hacking C++ retweeted
I finally managed to write a blog post again:
| Configuring algorithms in Modern C++
| hannes.hauswedell.net/post/2…
| #cplusplus #cpp @meetingcpp

ALT When designing library code, one often wonders: “Are these all the parameters this function will ever need?” and “How can a user conveniently change one parameter without specifying the rest?” This post introduces some Modern C++ techniques you can use to make passing configuration options easy for your users, while allowing you to add more options later on.
















