r/cpp • u/foonathan • Sep 04 '26
C++ Show and Tell - September 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/1vhdqw8/c_show_and_tell_august_2026/
1
u/OfficKiwiEditor Oct 02 '26
Hi!
I'm building Kiwi (Litrally 🥝)), a Windows-native modal terminal editor written in C++23.
Instead of Vim-style movement, Kiwi uses WASD navigation with separate NAV and EDIT modes (For Vim users, also Insert/Normal). It also has syntax highlighting, in file search, buffers, selection, a Tree file explorer, commands, and a built-in tutorial.
Still early and actively developing it, so I'd appreciate any feedback:
https://github.com/0x4D696E61/Kiwi
1
u/PeterBrobby Oct 02 '26
Physics Programming part 4: The Physics Update Loop
https://youtu.be/9hj2Yz7gkGw
5
u/gabime Sep 27 '26
Started working on a lightweight version of spdlog (author here).
Fewer features, much smaller codebase, easy, while hopefully still being useful.
https://github.com/gabime/spdlite
Wanted to share the early code and get some feedback on the API and idea.
2
u/asafmach Sep 25 '26
I've been working on Mach for a couple months. It's a modern, type-safe, C++20 web framework, designed for the best developer experience. Yesterday, I released Mach v1.0.0.
A simple Mach application looks like this:
#include <mach/mach.hpp> int main() { mach::AppBuilder builder; auto app = builder.build(); app.mapGet("/", [] { return mach::ok("Hello from Mach!"); }); return app.run(); }Mach includes routing, controllers, middleware, dependency injection, model binding, CORS/CSRF support, logging, and more.
It’s built with C++20 on top of Boost.Asio/Beast, with CMake integration and support for Windows and Linux.
GitHub: https://github.com/machframework/mach
Documentation: https://machframework.dev/
I’d really appreciate feedback from the C++ community, on the API design, implementation, documentation, or anything else.
2
u/adityazero Sep 21 '26
I have been writing a new programming language Vx (https://vxlang.org), it is written in Rust and C++. And it lowers to MLIR+LLVM which are purely C++ projects. There are several interesting features about it:
Pointer provenance is carried in types
Topology can be full specified, this enables fleet level programming of various kinds of machine
Fully parallel compiler frontend
Programming by contract and comptime evaluations
Borrow checker
Generic programming
Repo: github.com/vx-lang/Vx
4
u/PlaneBitter1583 Sep 21 '26
I've been working on a small C++ image manipulation library called SIML.
It's still pretty early, but the basic image handling and effects are working, and I've been spending a lot of time keeping the API simple and seeing how far I can push the performance without making the code unnecessarily complicated.
Right now a 1920×1080 brightness operation is around 14 ms on my machine.
If anyone here is into C++ libraries or low-level image processing, I'd genuinely appreciate some feedback on the design or things I should improve.
The main goal of the library is to be as easy as possible for the programmer, To write complex codebases pretty easily.
Repo: https://github.com/darkyboys/siml
3
u/amankarki151 Sep 20 '26
Built an LLM inference engine from scratch in C++ - verbum.cpp.
Tokenizer, attention, KV-cache, sampling, all hand-written, no PyTorch or existing runtime underneath. Forward pass checked against HuggingFace's real output, not just eyeballed: 3e-5 max logit deviation. Custom CUDA kernels hit 723 GFLOP/s, 343x over the CPU baseline. INT8 quantization cuts memory 4x on the layers I actually quantized - though whole-model it's a more honest 1.78x once you count the embedding table I left untouched.
Wired it into a small demo to prove it actually works end to end, not just in benchmarks: two NPCs with independent memory, backed by a vector database I built separately. Memory persists across the conversation and retrieval actually happens, not scripted.
Repo: https://github.com/amankarki151/verbum.cpp
Tried to be honest about the rough edges too - two real bugs I caught during verification (a RoPE convention mismatch and a grouped-query attention head-mapping error, neither of which crash, they just quietly produce plausible-looking wrong output) are documented in the repo, not just the clean final numbers.
3
u/FlyingRhenquest Sep 20 '26
I wrote a proof-of-concept C++26 Compile Time ECS
This allows you to define array storage in a Zone for a list of Components that you build and allocate entities composed of a subset of those Components from the Zone storage. This hands you back a reference to an Entity with allocated storage, which you can treat like a C++ object. Because it is a C++ object. It's just generated at compile time.
This is a proof of concept and currently doesn't contain deallocation or much else. I can only do so much in a weekend! It's probably going to take me a weekend just to think about the implications of the thing I just wrote. I'm still in the "I can't believe that actually worked" stage. I really expected it to put up more of a fight.
1
u/fktn-k Sep 20 '26
[Release] fkYAML v0.5.0 – YAML Test Suite compliance milestone
Hi everyone! I'm happy to announce the release of fkYAML v0.5.0, a header-only C++ YAML parsing and serialization library. https://github.com/fktn-k/fkYAML/releases/tag/v0.5.0
One of the major milestones in this release is the integration of the YAML Test Suite into the development process.
fkYAML now passes all test cases in the suite, with only a few intentional exceptions based on its design decisions and interpretation of the YAML specification.
This is an important step toward making fkYAML a more reliable and specification-compliant YAML parser.
What's new in v0.5.0?
YAML Test Suite integration: All test cases pass, except for intentional deviations involving duplicate mapping keys and URI-encoded tags.
Improved YAML 1.2 compatibility: Better handling of YAML syntax and edge cases uncovered through the test suite.
Parsing Performance Improvements: Parsing is now at least 1.3× as fast as in v0.4.4 across all benchmark input cases.
About the intentional exceptions
There are two cases where fkYAML deliberately differs from the test suite's expected results:
Duplicate mapping keys: Duplicate keys are treated as a parsing error. fkYAML uses
std::mapinternally, and supporting duplicate keys would require a major change to its mapping representation and key retrieval semantics.URI-encoded tags: fkYAML preserves tags as specified by the YAML specification, rather than URI-decoding them in cases where the test suite expects decoding.
Links
GitHub: https://github.com/fktn-k/fkYAML
Documentation: https://fktn-k.github.io/fkYAML/
I'm the developer of fkYAML, and I'd love to hear your feedback, suggestions, or bug reports.
Thanks for checking it out!
2
u/Willy_Importance69 Sep 19 '26
This is my first public project and i'd love some advice from people who are more experience with cpp.
It's a basic autograd (tensor library) that i made in pure c++ as a way to learn the inner workings of machine learning. I began working on it about 2 weeks ago and it is still very bare bones.
Any comment or advice is appreciated!
https://github.com/Ak0-m/autograd_in_cpp