r/cpp • u/akinocal • Apr 07 '26
r/cpp • u/mateusz_pusz • Apr 07 '26
Range-Validated Quantity Points - mp-units
mpusz.github.ioPhysical units libraries have always been very good at preventing dimensional errors and unit mismatches. But there is a category of correctness that they have universally ignored: domain constraints on quantity point values.
A latitude is not just a length divided by a radius. It is a value that lives in [-90°, 90°]; anything outside that range is physically meaningless. An angle used in bearing navigation wraps cyclically around a circle; treating it as an unbounded real number ignores a fundamental property of the domain. A clinical body-temperature sensor should reject a reading of 44 °C at the API boundary, not silently pass it downstream.
No units library — before this work — has provided a way to attach this kind of constraint to a quantity point at the type level, have it enforced automatically, and express different flavors (clamp, wrap, reflect, check) without any runtime polymorphism.
This article describes the motivation in depth, the design we arrived at, and the open questions we would love the community's help to answer.
r/cpp • u/ProgrammingArchive • Apr 07 '26
Latest News From Upcoming C++ Conferences (2026-04-07)
This is the latest news from upcoming C++ Conferences. You can review all of the news at https://programmingarchive.com/upcoming-conference-news/
TICKETS AVAILABLE TO PURCHASE
The following conferences currently have tickets available to purchase
- C++Now (4th - 8th May) - Regular tickets available to purchase at https://cppnow.org/registration/
- CppNorth/NDC Toronto (5th - 8th May) - Tickets are open and can be purchased at https://ndctoronto.com/tickets
- ACCU on Sea (15th - 20th June) - You can buy early bird tickets at https://accuonsea.uk/tickets/ with discounts available for ACCU members.
- CppCon (12th - 18th September) - You can buy early bird tickets until June 26th at https://cppcon.org/registration/
- Meeting C++ (NEW - 26th - 28th November) - You can buy early bird tickets at https://meetingcpp.com/2026/
OPEN CALL FOR SPEAKERS
There are currently no open calls.
OTHER OPEN CALLS
There are currently no open calls.
TRAINING COURSES AVAILABLE FOR PURCHASE
Conferences are offering the following training courses:
LAST CHANCE TO REGISTER
- Performance and Safety in C++ Crash Course - Jason Turner - 1 day online workshop available on Thursday 9th April 12:00 - 20:00 UTC - https://cpponline.uk/workshop/performance-and-safety-in-cpp-crash-course/ - £345/$460/€400 (£90/$120/€105 for students)
- Stop Thinking Like a Junior - The Soft Skills That Make You Senior - Sandor Dargo - Half Day online workshop available on Friday 10th April 13:00 - 16:30 UTC - https://cpponline.uk/workshop/stop-thinking-like-a-junior/ - £172.50/$230/€200 (£45/$60/€55 for students)
- Jumpstart to C++ in Audio - Learn Audio Programming & Create Your Own Music Plugin/App with the JUCE C++ Framework - Jan Wilczek - 1 day online workshop available on both Tuesday 14th April 13:00 - 20:00 UTC - https://cpponline.uk/workshop/jumpstart-to-cpp-in-audio/ - £150/$200/€175 (£90/$120/€105 for students)
- Essential GDB and Linux System Tools - Mike Shah - 1 day online workshop available on Friday 17th April 13:00 - 21:00 UTC - https://cpponline.uk/workshop/essential-gdb-and-linux-system-tools/ - £345/$460/€400 (£90/$120/€105 for students)
C++Online One Day Workshops - £345/$460/€400 (£90/$120/€105 for students)
- Performance and Safety in C++ Crash Course - Jason Turner - 1 day online workshop available on Thursday 9th April 12:00 - 20:00 UTC - https://cpponline.uk/workshop/performance-and-safety-in-cpp-crash-course/
- Essential GDB and Linux System Tools - Mike Shah - 1 day online workshop available on Friday 17th April 13:00 - 21:00 UTC - https://cpponline.uk/workshop/essential-gdb-and-linux-system-tools/
- Concurrency Tools in the C++ Standard Library - Mateusz Pusz - 1 day online workshop available on Friday 24th April 09:00 - 17:00 UTC - https://cpponline.uk/workshop/concurrency-tools-in-the-cpp-standard-library/
- C++ Software Design - Klaus Iglberger - 1 day online workshop available on Thursday 30th April 09:00 - 17:00 UTC - https://cpponline.uk/workshop/cpp-software-design/
- Safe C++ - Klaus Iglberger - 1 day online workshop available on Friday 1st May 09:00 - 17:00 UTC - https://cpponline.uk/workshop/safe-cpp/
- Safe and Efficient C++ for Embedded Environments - Andreas Fertig - 1 day online workshop available on Tuesday 12th May 09:00 - 17:00 UTC - https://cpponline.uk/workshop/safe-and-efficient-cpp-for-embedded-environments/
- Mastering std::execution (Senders/Receivers) - Mateusz Pusz - 1 day online workshop available on Friday 15th May 09:00 - 17:00 UTC - https://cpponline.uk/workshop/mastering-stdexecution-senders-receivers/
- How C++ Actually Works - Hands-On With Compilation, Memory, and Runtime - Assaf Tzur-El - One day online workshop that runs over two days on May 18th - May 19th 16:00 - 20:00 UTC - https://cpponline.uk/workshop/how-cpp-actually-works/
- AI++ 101 - Build an AI Coding Assistant in C++ - Jody Hagins - 1 day online workshop available on Friday 22nd May 09:00 - 17:00 UTC - https://cpponline.uk/workshop/ai-101/
C++Online One Day Beginner Workshops - Reduced from £345 to £150/$200/€175 (£90/$120/€105 for students)
- Jumpstart to C++ in Audio - Learn Audio Programming & Create Your Own Music Plugin/App with the JUCE C++ Framework - Jan Wilczek - 1 day online workshop available on both Tuesday 14th April 13:00 - 20:00 UTC & Tuesday 28th April 07:00 - 14:00 UTC - https://cpponline.uk/workshop/jumpstart-to-cpp-in-audio/
- From Hello World to Real World - A Hands-On C++ Journey from Beginner to Advanced - Amir Kirsh - 1 day online workshop available on Thursday 21st May 08:30 - 16:30 UTC - https://cpponline.uk/workshop/from-hello-world-to-real-world/
C++Online Half Day Workshops - £172.50/$230/€200 (£45/$60/€55 for students)
- Stop Thinking Like a Junior - The Soft Skills That Make You Senior - Sandor Dargo - Half Day online workshop available on Friday 10th April 13:00 - 16:30 UTC & Friday 8th May 20:00 - 23:30 UTC - https://cpponline.uk/workshop/stop-thinking-like-a-junior/
- Splice & Dice - A Field Guide to C++26 Static Reflection - Koen Samyn - Half Day online workshop available on Monday 25th May 09:00 - 12:30 UTC - https://cpponline.uk/workshop/splice-and-dice/
C++Online Two Day Workshops - £690/$920/€800 (£180/$240/€210 for students)
- AI++ 201 - Build a Matching Engine with Claude Code - Jody Hagins - 2 day online workshop available on April 20th - April 21st 13:00 - 21:00 UTC & May 28th - May 29th 09:00 - 17:00 UTC - https://cpponline.uk/workshop/ai-201/
Eleven of these workshops had previews at the main C++Online Conference which took place on the 11th - 13th March. You can watch these preview sessions here: https://www.youtube.com/playlist?list=PLHG0uo5c6V3KIeoLqvBbIqy5AXt_Me_cm
Anyone who purchased a C++Online Main Conference ticket can also get a discount of however much they paid to attend the main conference.
Also if anyone is from a lower-income background or live in a country where purchasing power is limited, then it is recommended to reach out to C++Online on info@cpponline.uk as they will be able to give you a discount.
OTHER NEWS
- (NEW) C++Online Keynote Released - C++Online have released the first of their keynotes on YouTube! New videos will be released each week so subscribe to the YouTube channel here https://www.youtube.com/@CppOnline/videos
(NEW) C++Online Beginner Workshops Discounted - C++Online have discounted the following workshops by 50% to now be 150/$200/€175
- From Hello World to Real World - A Hands-On C++ Journey from Beginner to Advanced - Amir Kirsh - 1 day online workshop available on Thursday 21st April 09:00 - 17:00 UTC - https://cpponline.uk/workshop/from-hello-world-to-real-world/
- Jumpstart to C++ in Audio - Learn Audio Programming & Create Your Own Music Plugin/App with the JUCE C++ Framework - Jan Wilczek - 1 day online workshop available on both Tuesday 14th April 13:00 - 20:00 UTC & Tuesday 28th April 07:00 - 14:00 UTC - https://cpponline.uk/workshop/jumpstart-to-cpp-in-audio/
- (NEW) C++Now Full Schedule Announced - C++Now have announced their full schedule which includes 50 talks across the five days. View the full schedule at https://schedule.cppnow.org
- (NEW) C++Now Final Keynote Announced - C++Now have announced the following keynote which is Benchmarking – It’s About Time by Matt Godbolt - https://cppnow.org/announcements/2026/03/cppnow-keynote-benchmarking/
- (NEW) ACCU On Sea Schedule Announced - The ACCU on Sea schedule has been announced and includes over 60 sessions across the four days. Visit https://accuonsea.uk/schedule/ for the full schedule.
- (NEW) CppCon Call For Authors Now Open! - CppCon are looking for book authors who want to engage with potential reviewers and readers. Read the full announcement at https://cppcon.org/call-for-author-2026/
- (NEW) Meeting C++ 2026 Announced - Meeting C++ will take place on the 26th - 28th November and will be hybrid. Visit https://meetingcpp.com/meetingcpp/news/items/Announcing-Meeting-Cpp-2026-.html to find out more
- CppCon Registration Now Open - You can now buy early bird tickets until June 26th at https://cppcon.org/registration/
- CppCon Academy Classes Announced - CppCon have announced 16 classes/workshops which will take place either before or after the main conference. You can view the full list of classes available at https://cppcon.org/cppcon-academy-2026/
- Hudson River Trading Scholarship Annouced For CppCon 2026 - CppCon have announced a new scholarship program that will provide scholarships that cover lodging, travel, food, and conference registration for twenty to twenty-five students for this year's CppCon. Find out more including how to apply at https://cppcon.org/announce-scholarship-2026/
- C++Online Workshops Announced - C++Online have announced 14 workshops that will take place between the end of March and the start of June with more potentially being added if any workshops are oversubscribed. Find out more including the workshops that are available at https://cpponline.uk/workshop-tickets-for-cpponline-2026-now-available/
r/cpp • u/antiquark2 • Apr 07 '26
C++ History Collection: Software Preservation Group
softwarepreservation.computerhistory.orgr/cpp • u/Foxi_Foxa • Apr 07 '26
Future of Boost.Graph Workshop, Paris, France, May 6th 2026
Dear C++ and Graph community,
We are working towards the revitalizing of the Boost.Graph library and we would like to reconnect with our user base. To this end, I organize a small workshop in Paris on May 6th 2026, 09h-18h.
The goal is to bring together a small group (10-15 people) of researchers, open-source implementers, and industrial users for a day of honest conversation. If you have used Boost.Graph or another C++ graph library in production/research, you should feel invited and welcome. Three questions will anchor the discussions:
- What types of graphs and data structures do you use in practice?
- What performance, scalability, and interpretability requirements matter most to you?
- What algorithms are missing today that Boost.Graph could offer?
And of course expect loooong discussions about API ergonomics and documentation ;)
The format is a mix of short lightning talks in the morning and structured discussions in the afternoon, ending with a concrete prioritized roadmap.
I opened a Github Discussion to allow the community to reach us, even if not able to attend, so please feel free to chime in with your ideas, suggestions, complaints and wish-list: https://github.com/boostorg/graph/discussions/466
If you can not attend because you are far away, please show yourself: remote attendance is possible and I plan to organize similar events in different cities/countries in the future to allow for in-person presence <3
Thanks again,
r/cpp • u/Xaneris47 • Apr 07 '26
The "macro overloading" idiom – Arthur O'Dwyer
quuxplusone.github.ior/cpp • u/_bijan_ • Apr 06 '26
The cover of C++: The Programming Language raises questions not answered by the cover
devblogs.microsoft.comr/cpp • u/alexis_placet • Apr 07 '26
Introducing Sparrow-IPC: A modern C++ implementation of Arrow IPC
medium.comWe’re excited to announce the release of Sparrow-IPC: a modern, open-source C++20 library that implements the Apache Arrow IPC protocol on top of Sparrow.
Sparrow-IPC passes 100% of the Apache Arrow IPC integration tests, ensuring full compatibility with existing Arrow tools and pipelines.
The library supports compression, the Arrow stream format, and the Arrow file format.
Some examples
Serialize record batches to a memory stream
std::vector<uint8_t> serialize_batches_to_stream(const std::vector<sp::record_batch>& batches)
{
std::vector<uint8_t> stream_data;
sp_ipc::memory_output_stream stream(stream_data);
sp_ipc::serializer serializer(stream);
// Serialize all batches using the streaming operator
serializer << batches << sp_ipc::end_stream;
return stream_data;
}Pipe a source of record batches to a stream:
class record_batch_source
{
public:
std::optional<sp::record_batch> next();
};
void stream_record_batches(std::ostream& os, record_batch_source& source)
{
sp::serializer serial(os);
std::optional<sp::record_batch> batch = std::nullopt;
while (batch = source.next())
{
serial << batch;
}
serial << sp_ipc::end_stream;
}Incremental deserialization:
void deserializer_incremental_example(const std::vector<std::vector<uint8_t>>& stream_chunks)
{
// Container to accumulate all deserialized batches
std::vector<sp::record_batch> batches;
// Create a deserializer
sp_ipc::deserializer deser(batches);
// Deserialize chunks as they arrive using the streaming operator
for (const auto& chunk : stream_chunks)
{
deser << std::span<const uint8_t>(chunk);
std::cout << "After chunk: " << batches.size() << " batches accumulated\n";
}
// All batches are now available in the container
std::cout << "Total batches deserialized: " << batches.size() << "\n";
}r/cpp • u/robwirving • Apr 07 '26
CppCast CppCast: Building a Compiler Inside the C++ Compiler with Daniel Nikpayuk
cppcast.comr/cpp • u/epasveer • Apr 06 '26
Seergdb v2.7 released for Linux.
A new version of Seergdb (frontend to gdb) has been released for linux.
https://github.com/epasveer/seer
https://github.com/epasveer/seer/wiki
https://github.com/epasveer/seer/releases/tag/v2.7
https://github.com/epasveer/seer/releases/download/flatpak-latest/seer.flatpak
https://flathub.org/en-GB/apps/io.github.epasveer.seer
Give it a try.
Thanks.
r/cpp • u/ProgrammingArchive • Apr 06 '26
New C++ Conference Videos Released This Month - April 2026
CppCon
2026-03-30 - 2026-04-05
- How to Build Type Traits in C++ Without Compiler Intrinsics Using Static Reflection - Andrei Zissu - https://youtu.be/EcqiwhxKZ4g
- Beyond Sequential Consistency: Unlocking Hidden Performance Gains - Christopher Fretz - CppCon 2025 - https://youtu.be/6AnHbZbLr2o
- Dynamic Asynchronous Tasking with Dependencies - Tsung-Wei (TW) Huang - CppCon 2025 - https://youtu.be/6Jd9Zyl9SDc
- Work Contracts in Action: Advancing High-performance, Low-latency Concurrency in C++ - Michael Maniscalco - CppCon 2025 - https://youtu.be/5ghAa7B5bF0
- Constexpr STL Containers: Why C++20 Still Falls Short - Sergey Dobychin - CppCon 2025 - https://youtu.be/Py4GJaCHwkA
C++Online
2026-03-30 - 2026-04-05
- Is AI Destroying Software Development? - David Sankel - C++Online 2026 - https://youtu.be/Ek32ZH3AI3k
- From Hello World to Real World - A Hands-On C++ Journey from Beginner to Advanced - Workshop Preview - Amir Kirsh - https://youtu.be/2zhW-tL2UXs
- Workshop Preview: C++ Software Design - Klaus Iglberger - https://youtu.be/VVQN-fkwqlA
- Workshop Preview: Essential GDB and Linux System Tools - Mike Shah - https://youtu.be/ocaceZWKm_k
- Workshop Preview: Performance and Safety in C++ Crash Course - Jason Turner - https://youtube.com/live/Ipr6ntCAm9A
- Workshop Preview: Concurrency Tools in the C++ Standard Library - A Hands-On Workshop - Mateusz Pusz - https://youtube.com/live/Kx9Ir1HBbwY
- Workshop Preview: Mastering std::execution (Senders/Receivers) - A Hands-On Workshop - Mateusz Pusz - https://youtube.com/live/bsyqh_bjyE4
- Workshop Preview: How C++ Actually Works - Hands-On With Compilation, Memory, and Runtime - Assaf Tzur-El - https://youtube.com/live/L0SSRRnbJnU
- Workshop Preview: Jumpstart to C++ in Audio - Learn Audio Programming & Create Your Own Music Plugin/App with the JUCE C++ Framework - Jan Wilczek - https://youtube.com/live/M3wJN0x8cJw
- Workshop Preview: AI++ 101 - Build an AI Coding Assistant in C++ & AI++ 201 - Build a Matching Engine with Claude Code - Jody Hagins - https://youtube.com/live/Vx7UA9wT7Qc
- Workshop Preview: Stop Thinking Like a Junior - The Soft Skills That Make You Senior - Sandor DARGO - https://youtube.com/live/nvlU5ETuVSY
- Workshop Preview: Splice & Dice - A Field Guide to C++26 Static Reflection - Koen Samyn - https://youtube.com/live/9bSsekhoYho
ADC
2026-03-30 - 2026-04-05
- Creating from Legacy Code - A Case Study of Porting Legacy Code from Exponential Audio - Harriet Drury - https://youtu.be/rjafXQwCz4w
- Designing an Audio Live Coding Environment - Corné Driesprong - https://youtu.be/Jw8x2uMgFnc
- How To Successfully Develop Software Products - Olivier Petit & Alistair Barker - https://youtu.be/vymlQFopbp0
Meeting C++
2026-03-30 - 2026-04-05
- Building C++: It Doesn't Have to be Painful! - Nicole Mazzuca - Meeting C++ 2025 - https://www.youtube.com/watch?v=ExSlx0vBMXo
- int != safe && int != ℤ - Peter Sommerlad - Meeting C++ 2025 - https://www.youtube.com/watch?v=YyNE6Y2mv1o&pp=0gcJCdkKAYcqIYzv
C++ Jobs - Q2 2026
Rules For Individuals
- Don't create top-level comments - those are for employers.
- Feel free to reply to top-level comments with on-topic questions.
- I will create top-level comments for meta discussion and individuals looking for work.
Rules For Employers
- If you're hiring directly, you're fine, skip this bullet point. If you're a third-party recruiter, see the extra rules below.
Multiple top-level comments per employer are now permitted.
- It's still fine to consolidate multiple job openings into a single comment, or mention them in replies to your own top-level comment.
Don't use URL shorteners.
- reddiquette forbids them because they're opaque to the spam filter.
Use the following template.
- Use **two stars** to bold text. Use empty lines to separate sections.
- Proofread your comment after posting it, and edit any formatting mistakes.
Template
**Company:** [Company name; also, use the "formatting help" to make it a link to your company's website, or a specific careers page if you have one.]
**Type:** [Full time, part time, internship, contract, etc.]
**Compensation:** [This section is optional, and you can omit it without explaining why. However, including it will help your job posting stand out as there is extreme demand from candidates looking for this info. If you choose to provide this section, it must contain (a range of) actual numbers - don't waste anyone's time by saying "Compensation: Competitive."]
**Location:** [Where's your office - or if you're hiring at multiple offices, list them. If your workplace language isn't English, please specify it. It's suggested, but not required, to include the country/region; "Redmond, WA, USA" is clearer for international candidates.]
**Remote:** [Do you offer the option of working remotely? If so, do you require employees to live in certain areas or time zones?]
**Visa Sponsorship:** [Does your company sponsor visas?]
**Description:** [What does your company do, and what are you hiring C++ devs for? How much experience are you looking for, and what seniority levels are you hiring for? The more details you provide, the better.]
**Technologies:** [Required: what version of the C++ Standard do you mainly use? Optional: do you use Linux/Mac/Windows, are there languages you use in addition to C++, are there technologies like OpenGL or libraries like Boost that you need/want/like experience with, etc.]
**Contact:** [How do you want to be contacted? Email, reddit PM, telepathy, gravitational waves?]
Extra Rules For Third-Party Recruiters
Send modmail to request pre-approval on a case-by-case basis. We'll want to hear what info you can provide (in this case you can withhold client company names, and compensation info is still recommended but optional). We hope that you can connect candidates with jobs that would otherwise be unavailable, and we expect you to treat candidates well.
Previous Post
r/cpp • u/gruenich • Apr 04 '26
Has QString any advantage over C++26?
C++26 is a different language compared with when Qt introduced QString and QStringView. For example C++17 introduced std::string_view. Is there any advantage left over what std offers? What about compatibility, could a potential Qt 7 just drop their own code and make QString* a type alias of std::string*?
r/cpp • u/ProgrammingArchive • Apr 04 '26
C++Online 2026 Keynote - Is AI Destroying Software Development? - David Sankel
youtu.ber/cpp • u/tartaruga232 • Apr 04 '26
Options for Organizing Partitions
abuehl.github.ioI'm looking forward to getting grilled. Thanks in advance for your time and your patience!
r/cpp • u/Felixzsa • Apr 03 '26
Trying to implement fiber in C++20 coroutine
https://github.com/felixaszx/coro-fiber
I did some experiments with this. The result is very surprising. I tested this on my Ryzen 7700X (8c/16t) Windows 11.
This is barely optimized. But, its is able to outperform boost::fiber in single-thread context switching (~20ns vs ~60ns, LLVM 21, std=c++20, the timer takes ~20ns). And even with the work stealing algorithm across all 16 threads trying to steal 1 fiber, it can still maitain at ~22ns of context switching.
I guess this is really uncommon since most of the time we expect our fiber to have some real workload rather than infinitely yielding to some other fibers. I am looking for some advices about how to improve the scheduler, right now it is just doing round robin locally or steal from other thread's queue if empty.
r/cpp • u/emilios_tassios • Apr 03 '26
Parallel C++ for Scientific Applications: Distributed Parallelism with HPX (2nd Part)
youtube.comIn this week’s lecture, Dr. Hartmut Kaiser focuses on the implementation of distributed parallelism using HPX to solve large linear algebra systems (LLAS) equations. The lecture highlights essential foundational concepts by revisiting both the SPMD and CSP models from previous discussions, setting the stage for advanced problem-solving in high-performance environments.
A core discussion demonstrates how to implement a Jacobi method for distributed computation, specifically addressing the practical challenges of managing data dependencies across partitions. Finally, critical strategies for optimizing performance are explored, offering a comprehensive approach to handling complex, distributed mathematical operations.
If you want to keep up with more news from the Stellar group and watch the lectures of Parallel C++ for Scientific Applications and these tutorials a week earlier please follow our page on LinkedIn https://www.linkedin.com/company/ste-ar-group/
Also, you can find our GitHub page below:
https://github.com/STEllAR-GROUP/hpx
r/cpp • u/SolidNo1299 • Apr 03 '26
Baseline C++ Habits to Always Follow?
I come from a C background and now am working with a large codebase in C++. The biggest "culture" shock is the absolute mind-numbing amount of choices to accomplish a task which I have heard a lot about. And I know a lot of opinions are thrown out there (some good, some bad, but mostly subjective). I want to see if there is an overwhelming consensus on stuff that every style of C++ should adopt and if anybody could list at least some pillars of good habits that devs here almost always agree on?
I know the mature decision is to prioritize readability and use the right abstraction when it is needed, but what are some core things I need to memorize? The only things I know that is (almost) universally agreed upon:
- never use
malloc()/free()or any C-like string manipulation (theres always a better C++ alternative that does the same thing) - never use
using namespace std; - do not use
new/deletejustifiable in rare cases? (again, not quite sure)
But in other cases, for example, brace initializing vs assignment has some debate even though I know brace initialization prevents narrowing but overwhelming developers I talked to still prefer using '=' for readability, same with classic for loops instead of using something from <algorithm>. I guess it boils down to: which features should you absolutely use in almost any case vs use it when the occasion comes?
tl;dr If C++ was a culture, which things are absolutely taboo vs justifiable in certain contexts?
r/cpp • u/thisis_a_cipher • Apr 02 '26
the most useful resource i've come across for learning cpp
For context, before I learnt cpp, I primarily used python and java.
When I was first starting out in learning cpp, I felt completely lost -- because I felt none of the resources usually mentioned online filled the gap of getting a dev familiar with a high-level language up to speed on the core concepts of modern cpp. Overwhelmingly, resources were meant for complete beginner programmers, and these resources barely mapped onto existing mature code bases that I was supposed to work on.
Even courses like "cpp for java developers" focused overwhelmingly on things like arrays, vectors, strings. like ??? pedagogically, it makes no sense to focus on these things - I can just read cppreference, they are standard data structures.
I finally stumbled onto this criminally underrated playlist of 5 short videos that explain the core concepts you need to know
- Value/reference semantics
- RAII (with an intro to smart pointers)
- Move semantics
I still consider myself a novice in cpp after working with it for about a year now, but these 5 videos were honestly enough for me to start understanding and contributing to existing cpp codebases. Obviously, there was a lot of learning that I did after from various sources, but I didn't even KNOW that these were the core concepts that I should've been focused on to start going deeper before I stumbled across that playlist.
For instance, learncpp.com often gets mentioned on this subreddit but
- RAII is first mentioned on chapter 19 (!!)
- Moves are talked about in chapter 22
Just thought I should share.
r/cpp • u/foonathan • Apr 02 '26
C++ Show and Tell - April 2026
Use this thread to share anything you've written in C++. This includes:
- a tool you've written
- a game you've been working on
- your first non-trivial C++ program
The rules of this thread are very straight forward:
- The project must involve C++ in some way.
- It must be something you (alone or with others) have done.
- Please share a link, if applicable.
- Please post images, if applicable.
If you're working on a C++ library, you can also share new releases or major updates in a dedicated post as before. The line we're drawing is between "written in C++" and "useful for C++ programmers specifically". If you're writing a C++ library or tool for C++ developers, that's something C++ programmers can use and is on-topic for a main submission. It's different if you're just using C++ to implement a generic program that isn't specifically about C++: you're free to share it here, but it wouldn't quite fit as a standalone post.
Last month's thread: https://www.reddit.com/r/cpp/comments/1ri7ept/c_show_and_tell_march_2026/
r/cpp • u/holyblackcat • Apr 02 '26