r/cpp • • 9h ago

I don’t even hate AI, I just feel a little sad about being obsolete

255 Upvotes

I felt cool and smart that I understand low level programming, pointers and memory management and all that stuff. I still program for fun as a hobby but if I start thinking about this stuff I lose my momentum. I like to write my code like an engineer and I am very specific about how I write it. I think AI has good uses for the future but it just makes me sad to think about how anyone can AI generate code and it makes my deep understanding not as cool anymore. My projects matter less, anyone could just instantly generate the code for the game I spent years on. I’m not special anymore nor are my projects. It’s just a little sad. I think about C++26 and C++29, is anyone even going to care about these things anymore with the obsolescence of people who use these features by hand… idk. I get in ruts like this someone and I just have to ignore it. I want to hear everyone else’s opinions especially ones who are very opinionated about programming features and care about their code very much like I do.

Sometimes though I think about ways I program that an AI wouldn’t do, such as my excessive and opinionated use of unsigned integers with explicit cstdint types and the lowest possible bit amount for the variable, while AI will just use standard int. Another one is how I try to avoid dynamic allocations whenever possible, even for silly things like microoptimiaztions, for file paths I’ll do a 4096 stack buffer over dynamic allocation. Makes me feel like I have somewhat of a voice.


r/cpp • • 19h ago

Bottom Up Coroutines in C++

Thumbnail forcedrift.github.io
43 Upvotes

r/cpp • • 17h ago

C++ Show and Tell - December 2026

16 Upvotes

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.

Last month's thread: https://www.reddit.com/r/cpp/comments/1xo0gru/c_show_and_tell_november_2026/


r/cpp • • 17h ago

New C++ Conference Videos Released This Month - November 2026 (Updated To Include Videos Released 2026-11-23 - 2026-11-29)

10 Upvotes

C++Now

2026-11-23 - 2026-11-29

2026-11-16 - 2026-11-22

2026-11-09 - 2026-11-15

2026-11-02 - 2026-11-08

2026-10-26 - 2026-11-01

ACCU

2026-11-23 - 2026-11-29

2026-11-16 - 2026-11-22

2026-11-09 - 2026-11-15

2026-11-02 - 2026-11-08

2026-10-26 - 2026-11-01

CppCon

2026-11-23 - 2026-11-29

2026-11-16 - 2026-11-22

2026-11-09 - 2026-11-15

ADC

2026-11-23 - 2026-11-29

2026-11-16 - 2026-11-22

2026-11-09 - 2026-11-15

2026-11-02 - 2026-11-08

2026-10-26 - 2026-11-01


r/cpp • • 14h ago

Local models for C++: Qwen3.8-27B FP8 vs QFN IQ4_XS

Thumbnail reddit.com
5 Upvotes

For anyone interested.


r/cpp • • 18h ago

Visual Studio/MSBuild should have a way to easily consume modules and/or CPS from external libraries

Thumbnail developercommunity.visualstudio.com
5 Upvotes

Well, there it is. Maybe it'll go somewhere, maybe not. Hopefully, it would be a step towards some form of standard package support (with the packages acquired and built through some other means). Maybe also, VS projects could deploy to CPS. CPS all the things.


r/cpp • • 10h ago

Why we shouldn't want a remote package registry, universal package manager or a binary toolchain orchestrator

0 Upvotes

Hi, as most of you now, we get cargo good cmake bad posts and comments here nearly every week.

I want to write a definitive post to answer these criticisms. In this post I'm going to argue for a decentralized approach instead, and will try to list some cons and pros of this approach.

Cargo is the package manager of the rust language, it stores packages in source form in a remote registry called crates.io, It also sort of acts as a build system, as you invoke it directly, rather than calling the package manager first then the build system. The problem with this approach is that you don’t own sources, you don’t know about licenses. If one of your packages break, trying to fix it is very annoying. Also builds are very slow, since you don’t have local binary cache for packages. Additionally, unlike a sane dependency model as proposed by Titus Winters. Cargo relies on semver. This means your dependency tree will not scale and will be hard to maintain.

Rustup is a toolchain orchestrator tool that downloads compiler, stdlib and various other tools from the internet.

It seems very nice to be able to setup a toolchain in seconds, as opposed to doing that with c++ which takes very long.

The drawback of this approach is the lack of knowledge about dependencies of your tools wnd especially stdlib. You need to know what version of xcode or msvc you app is compiled against.

What to do then?

We need a decentralized solution, organizations should clone their deps from a remote and write package recipes for them, we need some sort of organization to collaborate and several standards to make this easier, such as a binary package format.

Cargo and rustup are currently more closer to web technologies in toolchain departmant than c++, I don’t see why everyone is so obsessed about it. There is a new slop project written on it every minute, and we think that's a good thing. It is not, it made library quality very questionable.

Wrote on my phone so probably a lot of typos.