Skip to content

Instantly share code, notes, and snippets.

View tef's full-sized avatar
💭
Please don't try to contact me over GitHub.

tef tef

💭
Please don't try to contact me over GitHub.
View GitHub Profile

fair, fine grained, and deadlock free locking

first, a spin lock

you know what a spinlock is, right?

here's a spinlock:

@tef
tef / grimoire.md
Last active January 13, 2025 22:37

Some notes on "Borrow checking, RC, GC, and the Eleven (!) Other Memory Safety Approaches"

https://verdagon.dev/grimoire/grimoire

I've nothing against the post, it just irks me to see a big unorganized list like a pile of christmas tree lights.

It's an interesting blog post with comprehensive references, but it's also like a travel brochure with a list of destinations. In practice you want something more like a route map: A rough overview of how different approaches complement each other, or overlap each other. A jigzaw puzzle is much easier to solve when there's a picture on the front of the box.

Here's a modest propsoal for a better table of contents: