Boost C++ | Open Source Libraries

253 posts

Boost C++ | Open Source Libraries banner
Boost C++ | Open Source Libraries

Boost C++ | Open Source Libraries

@Boost_Libraries

Open source C++ libraries: algorithms, data structures, concurrency, networking & more. Peer-reviewed, portable, battle-tested since 1998. https://t.co/MhBwwXNH58

Global C++ Community Tham gia Mart 2017
184 Đang theo dõi2.4K Người theo dõi
Jebrim
Jebrim@AgileJebrim·
@Boost_Libraries Or just check for the nearest neighbor in a shader and get it done in O(N/P), which automatically trends towards O(1) as hardware improves and P approaches N.
English
1
0
0
32
Boost C++ | Open Source Libraries
Finding the "nearest neighbor" in a set of 1 million points is an O(N) nightmare without the right structure. Standard containers won't help you here. You need to move beyond 1D memory models 🧵👇
English
1
2
21
2.4K
Boost C++ | Open Source Libraries
Boost Blueprint 018: Boost.Cobalt. Cobalt simplifies the coroutine machinery with main, promise, and generator primitives. It makes complex asynchronous tasks feel like standard sequential code. Without sacrificing the raw performance of the underlying Asio engine Level up your C++ architecture. Follow @Boost_Libraries for the #BoostBlueprint series #cpp
Boost C++ | Open Source Libraries tweet media
English
1
0
7
425
Boost C++ | Open Source Libraries
C++20 coroutines are powerful, but the promise_type and awaiter boilerplate can be overwhelming. What if there was a high-level layer designed specifically to make Asio-native async code readable? 🧵👇
English
1
2
36
3K
Boost C++ | Open Source Libraries
Boost Blueprint 017: Boost.Bloom. Provides probabilistic filtering for massive datasets. O(1) lookups, configurable false positive rates, and memory footprint that scales with your tolerance for error, not your data size It’s the perfect architectural choice for high-speed caches and network filtering Level up your C++ architecture. Follow @Boost_Libraries for the #BoostBlueprint series #cpp
Boost C++ | Open Source Libraries tweet media
English
1
3
28
1.2K
Boost C++ | Open Source Libraries
Checking membership in a 10GB dataset shouldn't require 10GB of RAM. How do you get near-constant time answers while using 90% less memory than a standard set? 🧵👇
English
1
3
67
7.1K
Boost C++ | Open Source Libraries
Boost Blueprint 016: Boost.Unordered. Its unordered_flat_map uses open addressing with state-of-the-art collision resolution. Built for how modern CPUs actually work. The result: a dramatic speedup over standard containers, right out of the box Level up your C++ architecture. Follow @Boost_Libraries for the #BoostBlueprint series #cpp
Boost C++ | Open Source Libraries tweet media
English
1
1
40
3.8K
Boost C++ | Open Source Libraries
std::unordered_map was designed before modern CPU cache architecture mattered. If you're using it in high-throughput code today, you're likely hitting a performance wall. And you don't have to 🧵👇
English
6
11
199
30.9K
Boost C++ | Open Source Libraries
Boost Blueprint 015: Boost.Interprocess. A comprehensive toolkit for shared memory and synchronization. It enables multiple processes to share data segments and structures with minimal latency, bypassing the overhead of networking stacks Apologies for the eye test :) Level up your C++ architecture. Follow @Boost_Libraries for the #BoostBlueprint series #cpp
Boost C++ | Open Source Libraries tweet media
English
2
1
18
1K
Boost C++ | Open Source Libraries
Network sockets are the "go-to" for IPC, but they introduce massive latency for local communication. When you need to share complex C++ data structures at memory speeds, there is only one choice 🧵👇
English
2
3
39
5.4K
Boost C++ | Open Source Libraries
Boost C++ | Open Source Libraries@Boost_Libraries·
Boost Blueprint 014: Boost.SafeNumerics. A wrapper to detect and prevent integer overflows and underflows at runtime. By substituting standard integer types with safe, you protect your application from silent logic errors and exploits Level up your C++ architecture. Follow @Boost_Libraries for the #BoostBlueprint series #cpp
Boost C++ | Open Source Libraries tweet media
English
2
1
12
750
Boost C++ | Open Source Libraries
Boost C++ | Open Source Libraries@Boost_Libraries·
INT_MAX + 1 is still one of the most common security vulnerabilities in C++. Detecting overflow after the fact is too late. You need a way to build safety directly into your arithmetic logic 🧵👇
English
1
2
29
3.2K
Boost C++ | Open Source Libraries
Boost C++ | Open Source Libraries@Boost_Libraries·
Boost Blueprint 013: Boost.Leaf. Propagate rich error info up your stack without a single allocation or a single throw Deterministic. Lightweight. Production-ready. This is what error handling looks like when performance actually matters Level up your C++ architecture. Follow @Boost_Libraries for the #BoostBlueprint series #cpp
Boost C++ | Open Source Libraries tweet media
English
2
0
13
597
Boost C++ | Open Source Libraries
Boost C++ | Open Source Libraries@Boost_Libraries·
try/throw/catch has real costs. And error codes are fast but you lose context. There's a third path — zero allocation, full metadata, no compromises 🧵👇
English
1
1
23
2.2K
Boost C++ | Open Source Libraries
Boost C++ | Open Source Libraries@Boost_Libraries·
Boost Blueprint 012: Boost.Beast. Not a framework. Not an opinionated HTTP client. Beast gives you raw HTTP/1, HTTP/2-ready WebSocket, and zero-copy buffer sequences, built directly on Asio's executor model You write the event loop. You own the protocol. Coroutines work out of the box Level up your C++ architecture. Follow @Boost_Libraries for the #BoostBlueprint series #cpp
Boost C++ | Open Source Libraries tweet media
English
0
0
15
439
Boost C++ | Open Source Libraries
Boost C++ | Open Source Libraries@Boost_Libraries·
The moment you go off-script in most C++ networking libraries, you're on your own. Then you're fighting the library instead of shipping code. There's a better way to think about networking 🧵👇
English
1
1
21
1.8K
Boost C++ | Open Source Libraries
Boost C++ | Open Source Libraries@Boost_Libraries·
Boost Blueprint 011: Boost.Process. A portable, high-level interface for process management. It abstracts the complexities of pipes, redirects, and environment variables, allowing you to control external programs with minimal code Level up your C++ architecture. Follow @Boost_Libraries for the #BoostBlueprint series #cpp
Boost C++ | Open Source Libraries tweet media
English
1
1
19
589
Boost C++ | Open Source Libraries
Boost C++ | Open Source Libraries@Boost_Libraries·
Managing child processes in standard C++ usually results in a mess of platform-specific fork or CreateProcess calls. It shouldn't be this difficult to pipe stdout directly into your application 🧵👇
English
1
0
20
1.4K
Boost C++ | Open Source Libraries
Boost C++ | Open Source Libraries@Boost_Libraries·
Boost Blueprint 010: Boost.Outcome. outcome::result gives you functional error propagation without the runtime cost of stack unwinding. Type-safe. Composable. Compatible with std::expected. The error handling model your systems code has been waiting for Level up your C++ architecture. Follow @Boost_Libraries for the #BoostBlueprint series #cpp
Boost C++ | Open Source Libraries tweet media
English
1
0
16
613
Boost C++ | Open Source Libraries
Boost C++ | Open Source Libraries@Boost_Libraries·
"Just use exceptions." Sure, until you're writing firmware, a game engine, or anything where latency guarantees actually matter. There's a cleaner path 🧵👇
English
2
1
19
1.9K