/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

www.think-cell.com
| | nelari.us

A small look at some useful template techniques, in the context of trying to bind functions to a virtual machine. I wrote this post mostly for myself so that these techniques would be listed all in one place.
2.8 parsecs

Travel
| |
| | www.foonathan.net

In my previous blog post, weve discussed the static constexpr std::integral_constant idiom to specify the size of a range at compile-time. Unlike the standard, our (think-cells) ranges library at think-cell already supports compile-time sizes natively, so I was eager to try the idiom there and see how it works out in practice. namespace tc { template constexpr auto size(Rng&& rng); // runtime-size of a range, like std::ranges::size template requires tc::has_constexpr_size constexpr auto constexpr_size = ...
0.0 parsecs

Travel
| |
| | playfulprogramming.blogspot.com

The performance of std::visit came up in a discussion, and my first thought was that from reading generated assembly code, it's a jump tabl...
3.1 parsecs

Travel
| |
| | suckless.org

[AI summary] The article critiques systemd, a Linux init system, for its complexity, bloat, and negative impact on system design and user control, highlighting its controversial role in modern Linux distributions.
23.7 parsecs

Travel
|