/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

kristerw.github.io
| | coredumped.dev

In this post, we are going to take a deep dive into pointer tagging, where metadata is encoded into a word-sized pointer. Doing so allows us to keep a compact representation that can be passed around in machine registers. This is very common in implementing dynamic programming languages, but can really be used anywhere that additional runtime information is needed about a pointer. We will look at a handful of different ways these pointers can be encoded and see how the compiler can optimize them for diff...
8.7 parsecs

Travel
| |
| | nullprogram.com


8.5 parsecs

Travel
| |
| | kristerw.blogspot.com

Signed integers are not allowed to overflow in C and C++, and this helps compilers generate better code. I was interested in how GCC is tak...
3.6 parsecs

Travel
| |
| | denniskubes.com


30.1 parsecs

Travel
|