modern-cpp

Tag

Cards List
#modern-cpp

Trust your compiler: Modern C++

Hacker News Top ↗ · 2026-07-01 Cached

Article comparing old C++ performance tricks with modern compiler capabilities, showing that compilers can now optimize naive code better than hand-tuned hacks. Includes benchmarks on AMD Zen 5 with Clang 21.

0 favorites 0 likes
#modern-cpp

The beauty and simplicity of the good old C-style void* in C++

Hacker News Top ↗ · 2026-06-06 Cached

The article discusses the pros and cons of using C-style void* pointers versus uint8_t* and std::span for passing memory blobs in C++, arguing for the simplicity and readability of void*.

0 favorites 0 likes
← Back to home

Submit Feedback