In the 1970s, Douglas McIlroy faced this exact challenge while implementing the spell checker for Unix at AT&T.
blog.codingconfessions.com/p/what-makes...
Another great post by @abhi9u.bsky.social. I learned a lot, including vDSO.
blog.codingconfessions.com/p/what-makes...
Another great post by @abhi9u.bsky.social. I learned a lot, including vDSO.
blog.codingconfessions.com/p/seeing-the...
blog.codingconfessions.com/p/seeing-the...
The size is stored right inside the object, but len() takes a five-pointer detour, only to land back where it started.
This is why if not mylist is ~2x faster for emptiness checks!
The size is stored right inside the object, but len() takes a five-pointer detour, only to land back where it started.
This is why if not mylist is ~2x faster for emptiness checks!
In the 1970s, Douglas McIlroy faced this exact challenge while implementing the spell checker for Unix at AT&T.
In the 1970s, Douglas McIlroy faced this exact challenge while implementing the spell checker for Unix at AT&T.
blog.codingconfessions.com/p/hardware-a...
blog.codingconfessions.com/p/hardware-a...
blog.codingconfessions.com/p/hardware-a...
Another great post by @abhi9u.bsky.social
blog.codingconfessions.com/p/hardware-a...
Another great post by @abhi9u.bsky.social
Now you need to install a systemd utility to do this.
Now you need to install a systemd utility to do this.
PS: I fixed the error he found in the article.
Article: blog.codingconfessions.com/p/how-unix-s...
PS: I fixed the error he found in the article.
Article: blog.codingconfessions.com/p/how-unix-s...
In the 1970s, Douglas McIlroy faced this exact challenge while implementing the spell checker for Unix at AT&T.
In the 1970s, Douglas McIlroy faced this exact challenge while implementing the spell checker for Unix at AT&T.
For static data, you know the probabilities of the symbols, and can build a Huffman tree, but for an infinite stream, you can't do that
For static data, you know the probabilities of the symbols, and can build a Huffman tree, but for an infinite stream, you can't do that
Help us spread the word with school teachers everywhere
50+ hours of lessons covering all levels, beginner to advanced, designed specifically for school children
…👇🏻
Help us spread the word with school teachers everywhere
50+ hours of lessons covering all levels, beginner to advanced, designed specifically for school children
…👇🏻
It is first in a series to cover the internals of context switching in Linux. This one explains the core data structures for process and state management during context switching.
It is first in a series to cover the internals of context switching in Linux. This one explains the core data structures for process and state management during context switching.
I answer this question, and more, through a series of fully interactive Turing machine simulations! Play, pause, step forwards and backwards, and even write your own Turing machine programs in my latest blog post.
samwho.dev/turing-machi...
I answer this question, and more, through a series of fully interactive Turing machine simulations! Play, pause, step forwards and backwards, and even write your own Turing machine programs in my latest blog post.
samwho.dev/turing-machi...
PDF: assets.bitbashing.io/papers/concu...
PDF: assets.bitbashing.io/papers/concu...
PDF: www.akkadia.org/drepper/tls....
PDF: www.akkadia.org/drepper/tls....
parentheticallyspeaking.org/articles/bic...
parentheticallyspeaking.org/articles/bic...
In my latest article, I demystify the hidden magic of fork and also show how it is implemented in Linux.
blog.codingconfessions.com/p/the-magic-...
In my latest article, I demystify the hidden magic of fork and also show how it is implemented in Linux.
blog.codingconfessions.com/p/the-magic-...