Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)AU
Posts 31
Comments 6
blog.codingconfessions.com How Unix Spell Ran in 64kB RAM

How do you fit a dictionary in 64kb RAM? Unix engineers solved it with clever data structures and compression tricks. Here's the fascinating story behind it.

How Unix Spell Ran in 64kB RAM
1
blog.codingconfessions.com Linux Context Switching Internals: Part 1 - Process State and Memory

How does the Linux kernel represent processes and their state: A breakdown of task_struct and mm_struct

1
0
0
9
blog.codingconfessions.com CPython's Garbage Collector and its Impact on Application Performance

Learn how the knowledge of CPython internals translate into performance insights for your code

CPython's Garbage Collector and its Impact on Application Performance
0
blog.codingconfessions.com The Pythonic Emptiness

Why the Pythonic way of doing emptiness check on sequences is not necessarily ambiguous in most cases

cross-posted from: https://lemmy.bestiver.se/post/96921

> Comments

9

A Selective Survey of Efficient Speculative Decoding Techniques for LLM Inference

blog.codingconfessions.com Speculative Decoding and Beyond: A Survey of Speculative Decoding Techniques

What is speculative decoding, how it works and what are some of the recent advances in this area?

Speculative Decoding and Beyond: A Survey of Speculative Decoding Techniques
0
blog.codingconfessions.com CPython Runtime Internals: Key Data Structures & Runtime Bootstrapping

What are the key data structures which form the CPython runtime and how are they initialized at startup

CPython Runtime Internals: Key Data Structures & Runtime Bootstrapping
0
blog.codingconfessions.com The Design & Implementation of the CPython Virtual Machine

A deep dive into CPython's bytecode instruction format and execution engine internals

The Design & Implementation of the CPython Virtual Machine
0
blog.codingconfessions.com Are Function Calls Still Slow in Python? An Analysis of Recent Optimizations in CPython

How costly it is to call functions and builtins in your python code? Does inlining help? How have the recent CPython releases improved performance in these areas?

13
blog.codingconfessions.com Two Threads, One Core: How Simultaneous Multithreading Works Under the Hood

Ever wondered how your CPU handles two tasks at once? Discover the magic of Simultaneous Multithreading and see what’s really going on inside.

Two Threads, One Core: How Simultaneous Multithreading Works Under the Hood
2
blog.codingconfessions.com CPython Garbage Collection: The Internal Mechanics and Algorithms

A detailed code walkthrough of how CPython implements memory management, including reference counting and garbage collection

0

How Python Compares Floats and Ints: When Equals Isn’t Really Equal

blog.codingconfessions.com How Python Compares Floats and Ints: Why It Can Give Surprising Results

Another Python gotcha and an investigation into its internals to understand why this happens

How Python Compares Floats and Ints: Why It Can Give Surprising Results
43
codeconfessions.substack.com A Deep Dive into the Underlying Architecture of Groq's LPU

What powers the ground breaking performance of Groq's Langauge Processing Unit?

A Deep Dive into the Underlying Architecture of Groq's LPU
0
codeconfessions.substack.com CPython Type System Internals: Video Series

A series of videos of me taking you through the CPython source code to explain its type system design & implementation

CPython Type System Internals: Video Series
4
codeconfessions.substack.com CPython Dynamic Dispatch Internals: What Happens When You do a + b?

Understand the mechanics of dynamic dispatch implementation in CPython

CPython Dynamic Dispatch Internals: What Happens When You do a + b?
0
codeconfessions.substack.com CPython Dynamic Dispatch Internals: What Happens When You do a + b?

Understand the mechanics of dynamic dispatch implementation in CPython

CPython Dynamic Dispatch Internals: What Happens When You do a + b?
0
codeconfessions.substack.com CPython Object System Internals: Understanding the Role of PyObject

Understand how objects are implemented in CPython and how CPython emulates Inheritance and Polymorphism in C using struct embedding

CPython Object System Internals: Understanding the Role of PyObject
0
codeconfessions.substack.com CPython Object System Internals: Understanding the Role of PyObject

Understand how objects are implemented in CPython and how CPython emulates Inheritance and Polymorphism in C using struct embedding

CPython Object System Internals: Understanding the Role of PyObject
1
Why and How Does Python Use Bloom Filters in String Processing?
  • Thank you! That's helpful. I spent quite some time trying to understand the difference between UTF-8 and Python's representation and arrived at the same understanding as you wrote. However, most of the external documents simply say that strings in Python are UTF-8 which made me conclude that perhaps I am missing something and it might be safer to write it as utf-8.

    I will look more in the code as you suggested.