Skip to content

Instantly share code, notes, and snippets.

@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:

@Hoikas
Hoikas / prp_as_text.py
Last active February 22, 2025 17:46 — forked from Deledrius/prp_as_text.py
A utility for producing a textual overview of a PRP file, used to compare in diffs.
#!/usr/bin/env python
# PRP_as_Text is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# PRP_as_Text is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the