Re:Low-Level Optimization with Zig
by jandrewrogers on Sunday June 08, 2025 @10:26AM
(#44217211)
FWIW, the std::string buffer is directly accessible for (re-)writing via the public API. You don't need to use any private access to do this.
In other words, we can at best form API contracts in C++ that work 99% of the time.