Explore >> Select a destination


You are here

www.nayuki.io
| | uraimo.com
4.3 parsecs away

Travel
| | Swift provides a convenient set of functionalities for fixed size integers and binary operations but you'll soon discover that in some cases the language is a bit opinionated in regard to how those operations should be performed. This post explains some of the gotchas and describe Bitter, a Swift bit manipulation library.
| | shafik.github.io
1.7 parsecs away

Travel
| | The Usual Arithmetic Confusions
| | leonardschuetz.ch
4.8 parsecs away

Travel
| | Introduction to NaN boxing
| | coredumped.dev
30.7 parsecs away

Travel
| 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...