5 ms·
In a few years, 256 TiB will be barely enough to run VSCode, Slack, Teams, and a browser concurrently. But yeah, the idea is that you can add tagging info to
by bitwize 4y ago
In a few years, 256 TiB will be barely enough to run VSCode, Slack, Teams, and a browser concurrently.
But yeah, the idea is that you can add tagging info to the high bits of pointers (to enforce data types, reference counting, etc.) and pay zero cost to indirect through such a tagged pointer. No need to mask off the tag bits, just use it like a regular pointer.