/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

erikmcclure.com
| | zackoverflow.dev

Interfaces rely on slow dynamic-dispatch, but generics could open the door to performance boosts with the ability to leverage the cache-friendliness of static dispatch
9.4 parsecs

Travel
| |
| | www.foonathan.net

Just like regular function parameters, template parameters can also have default parameters. For class templates, this behaves mostly just like default function arguments: if you pass fewer template arguments than required, default template arguments are used to fill the remaining places. However, for function templates, it gets more complicated as template parameters for functions can be deduced by the normal function arguments. This leads to some interesting side-effects. In particular, default argumen...
9.5 parsecs

Travel
| |
| | siderite.dev

While trying to optimize a sorting algorithm that worked on iterables I've noticed how slow iterators and generator functions are.
8.5 parsecs

Travel
| |
| | krzysckh.org

[AI summary] The author shares their experience designing and implementing a custom virtual machine in Emacs Lisp for a Capture The Flag competition, detailing the assembly language, stack architecture, and a fun recursive self-modifying code experiment.
26.0 parsecs

Travel
|