Peter Dimov retweeted
Replying to @Boost_Libraries
Looking at this code example, I noticed that we were missing support for directly printing a `uuid`, so I added it.
godbolt.org/z/95xPjsEEh
It will be in the next Boost release.
Peter Dimov retweeted
I think I said this years ago. The Greeks had no frame of reference for siege warfare. Not in the Bronze Age, not by Homer's time, and not even by the time of the Peloponnesian War.
The "horse" is the mythological reinterpretation of the Mesopotamian-style siege engine.
Peter Dimov retweeted
"If I were to tell a story about Boost, I'd start with the people."
Today we're sharing the official teaser for the Boost documentary. A film about the people, the politics, and the decades of work behind possibly the most important open source library you've never heard of 🎥👇
Peter Dimov retweeted
What if your function could tell the compiler: "don't call me with a negative number"?
And what if the compiler could actually enforce that at debug time, at test time, or even in production?
C++26 just made that part of the language 🧵👇
A breakthrough in C/C++ dependency management: lcamtuf.coredump.cx/blog/dep…
Peter Dimov retweeted
std::hive won't land until C++26 at the earliest
Boost just accepted a faster alternative that works today, all the way back to C++11
Meet boost::container::hub 🧵👇
Peter Dimov retweeted
I tried to stop std::hive.
When it became clear I couldn't, I tried to keep them for baking in a design that forced a particular implementation.
std::hive doesn't belong in the C++ standard library.
Peter Dimov retweeted
Boost 1.91 highlights:
🔢 NEW: Boost.Decimal. Full IEEE 754 decimal floating point. Financial, scientific, embedded. No more binary FP rounding surprises
⚡ Boost.UUID. SIMD accelerated from_chars (13x) and to_chars (5.5x). Constexpr accessors on C++14+
🔴 Boost.Redis. Sentinel support baked in. New generic_flat_response: contiguous memory, zero steady state allocations. Auto subscription restore on reconnect
🪞 Boost.PFR. Experimental C++26 reflection backend. Define BOOST_PFR_USE_CPP26_REFLECTION to opt in
🧠 Boost.Optional. Union based storage enables gradual constexpr. Plus o = {} and o.value_or({}) now just work. Getting closer to std::optional parity
⚙️ Boost.MultiIndex. MPL → Mp11 migration (breaking). Variadic composite_key. Faster compiles, fewer deps.
🔁 Boost.MSM. Flat_fold dispatch + up to 25% faster compile times vs 1.90. Merged event pool with SBO
🛡️ Boost.System. result<>::operator* now throws on empty instead of UB. Old behavior lives in unsafe_value()
Peter Dimov retweeted
Boost 1.91 just dropped.
13x faster UUID parsing.
Zero-allocation Redis responses.
C++26 reflection in Boost.PFR.
A brand-new IEEE 754 decimal library.
This might be the most stacked release in years.
Here's what you need to know 🧵👇
Peter Dimov retweeted
Mom, I want pattern matching.
We have pattern matching at home.
Pattern matching at home:
Peter Dimov retweeted
🚀 NEWS UPDATE: @Google Quantum AI's Tesseract decoder uses Boost.DynamicBitset and Boost.ContainerHash to accelerate quantum error correction, achieving up to 5× speedup on the most demanding configurations.
By replacing custom hashing with boost::hash_value and leveraging hardware-accelerated bitwise ops, the team eliminated a key decoding bottleneck across Surface Codes, Color Codes, Bivariate Bicycle Codes & more.
The result? Consistent ~2× speedups across code families, with peak gains over 5× – making fault-tolerant quantum computing more practical.
Great example of how Boost libraries power cutting-edge research. 🔗
#cpp #OpenSource
Peter Dimov retweeted
Translation of the Chinese comment:
Revolution begins with yourself. An egg broken from the outside is food; broken from the inside, it's new life.
template<class U, class... T>
constexpr bool holds_alternative( variant<T...> const& v )
{
using A = bool[];
return A{ std::is_same<U, T>::value... }[ v.index() ];
}
Peter Dimov retweeted
After 20+ years, Boost.MultiIndex has been refactored for faster builds and clearer diagnostics. Be sure the upgrade works for your project before Boost 1.91 ships!
Details: go.boost.org/4aMW4Of
Repo: go.boost.org/4qIOCbx
#cpp #opensource #boost
Peter Dimov retweeted
Fil-C achieves C/C++ memory safety, but at what performance cost? We ran the Boost.Unordered benchmarks to find out:
bannalia.blogspot.com/2025/1…
Peter Dimov retweeted
Boost.Decimal by Matt Borland and Chris Kormanyos has been accepted! Implementation of IEEE 754 and ISO/IEC DTR 24733 Decimal Floating Point numbers. Thanks to Review Manager John Maddock.
Announcement: go.boost.org/4r9BvBt
Repo: go.boost.org/4hSojfH
Docs: go.boost.org/49KiNK8
#cpp #opensource #boost





















