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 t...| coredumped.dev
Episode 01 of studying Ruby programming language design decisions, how they evolved with time, and how they look in a wider context.| zverok.space
[Note - This is republishing of an article that was previous posted on github gist, and advertised on reddit in January 2021.]| PoignardAzur