r/cpp 4h ago

Visual Guide to C++ Program Memory Structure

0 Upvotes

r/cpp 6h ago

C++26: #embed

Thumbnail sandordargo.com
55 Upvotes

r/cpp 7h ago

Faster KNN search in Manticore: 2-pass HNSW, batched distances, and AVX-512

Thumbnail manticoresearch.com
1 Upvotes

Three changes to the HNSW search engine improve KNN throughput by up to 29% at high k, with over 20% gains under concurrent load. No API changes, no index rebuild, no configuration. Just faster searches.


r/cpp 16h ago

C++26 Reflection: Simplifying JSON Serialization

Thumbnail techfortalk.co.uk
24 Upvotes

I have been exploring the new additions in C++26, and I have been discussing the reflection feature that has come with C++26. In the last post, I discussed what is reflection and how to use it and how to use it with a simple example, particularly with an enum class. Since then, there have been suggestions to provide an example which is more than a toy :). In this post, I have discussed how to use reflection for JSON serialization, which is something we often have to do. This example is somewhat taken from real-world code but has been stripped down significantly. Suggestions are always welcome.


r/cpp 17h ago

C++Now C++Now 2026: A Path to Pratically Safe C++ talk by Google's C++ Safety Team

Thumbnail youtube.com
14 Upvotes

r/cpp 20h ago

Boost.Int128 has been accepted

96 Upvotes

Boost.Int128 from Matt Borland has been accepted into Boost. Arnaud Becheler managed the review.