// newsletters

C++ Weekly: CMake 4.5 rc2, vcpkg October, committee heads to Brazil

C++ Monthly · Nov 8, 2026

C++ Weekly: CMake 4.5 rc2, vcpkg October, committee heads to Brazil

Mostly a tooling week. CMake and vcpkg both shipped, the LLVM crowd spent three days in Santa Clara, and the committee is packing for Brazil.

CMake 4.5 rc2 brings import std to all C++20 code

The second release candidate landed Oct 28. The headline: import std now works for all C++20 and later code when CXX_SCAN_FOR_MODULES is on, and there are new install(SBOM) and export(SBOM) commands for bills of materials. Heads up, the Visual Studio 14 2015 generator is gone, so check your CI matrix now (and if you just want fixes, 4.4.5 shipped Oct 29).

vcpkg October update: Boost 1.92 and tunable cache compression

Posted Oct 29, covering the 2026-10-16 registry release. You can now set binary cache compression from 0 to 9 with VCPKG_BINARY_CACHE_COMPRESSION_LEVEL, and a bug that attached precheck results to the wrong packages after filtering is fixed. Boost moves to 1.92 and OpenSSL to 3.6.5, and 22 ports were removed, tensorflow and v8 among them, so pin your baseline before you find out the hard way.

LLVM 23.1.4 is out, 23.1.5 is due Tuesday

This one's from a couple weeks back (Oct 20), but the next point release is close: the announcement puts 23.1.5 on Tuesday, November 3. Sources are on GitHub with no more per-subproject tarballs, and official binaries come later. Meanwhile the US LLVM Developers' Meeting ran Oct 26 to 28 in Santa Clara, though the meeting page has no schedule or recordings up yet.

Pre-Búzios mailing is out, committee meets in Brazil Nov 16 to 21

The 2026-10 pre-Búzios mailing went up Oct 23, a few days before this week's window, at 18 MB of papers. Per the Brno minutes, the meeting is in Búzios, Rio de Janeiro, hosted by the C++ Alliance, with WG14 meeting there at the same time. If you care about where C++29 goes, skim the mailing now, and note the post-meeting mailing deadline is Dec 15.

Microsoft's CppCon 2026 trip report, and when MSVC 14.52 lands

From a couple weeks back (Oct 21), but the useful bit is fresh: MSVC Build Tools v14.52 ships in November with all C++23 features implemented and a /std:c++23 switch that also works with C++/CLI, and the RC is out now. There's also a good data point from Rare's "Journey to /W4 /WX" talk, where C4189 warnings went from nearly 10,000 to zero. CppCon is adding 2026 recordings to its archive on a rolling basis, so keep checking.

C++26 ranges, part 3: parallel algorithms and a safer filter

Sandor Dargo wraps his series (Oct 28) with P3179, which adds execution policies to more than 50 range algorithms, but only for random-access, sized ranges, so no parallel filter_view. Callables can get copied across threads, so stateful lambdas turn into data races. The P3725 half is the practical one: put views::to_input in front of filter and the filter-plus-reverse UB becomes a compile error.

Beating the compiler at signed 32-bit division

Daniel Lemire (Oct 31) uses a magic multiplier that doesn't fit in a signed 32-bit register and does the multiply in 64 bits, which drops the add-back step compilers emit for 376 of the 990 non-power-of-two divisors from 3 to 1000. With clang 21 on an Emerald Rapids Xeon, dividing by 7 went from 1.76 to 1.38 cycles of throughput, and latency went from 10.4 to 8.0. Only reach for it when the compiler actually needs that correction, because dividing by 1000 got slower on an M4.

Compile-time perfect hashing at a billion lookups a second

Lemire again (Oct 26), this time a gperf-style perfect hash built with constexpr in a single C++23 header, with the key compare done as one 16-byte vector load. On an M3 Max, a 20-key HTTP header set came in around 1.3 ns per lookup versus 16.6 ns for std::unordered_map. Keys have to be known at compile time, and a commenter points out the 16-byte over-read is UB by the standard even though it works on common hardware.

Worth a look

That's the week. Go try import std on a C++20 target and tell me what breaks.

Get it by email