22 Jul
2026
22 Jul
'26
2:39 p.m.
Two questions that I have been asked in different forums already that are worth sharing with the list: "What's the point when _BitInt is coming?" _BitInt is coming perhaps in C++29. _BitInt(N) is also optional for all N > 64 so there are no guarantees you will have _BitInt(128) on any given platform. This requires only C++14 and is tested all the way back to GCC 5, Clang 5, MSVC 14.1. "also doesn't gcc/clang support __in128? and msvc has std::_Int128?" GCC/Clang support __int128 only on 64-bit platforms and also not on Windows. MSVC has std::_int128, but it is completely undocumented. Basically if you need to write portable code that requires 128-bit integers this will work regardless of toolchain and architecture today. Matt