Destroy All Values: Designing Deinitialization in Programming Languages
So you’re making a programming language. It’s a revolutionary concept: the first language optimized for the big bappy paws of cats. It’s going great – you’ve got yourself a sophisticated LR(BAPPY) parser; some basic types like Int, and FoodBowl; and some basic operations like if, and purr.
Destroy All Values: Designing Deinitialization in Programming Languages Disclaimer: this was entirely written in a fever dream over two days, I have no idea what this is. So you’re making a programming language. It’s a revolutionary concept: the first language optimized for the big bappy paws of cats. It’s going great – you’ve got yourself a sophisticated LR(BAPPY) parser; some basic types like Int, and FoodBowl; and some basic operations like if , and purr . But now you’ve reached that dreaded point: you have to implement some kind of heap allocation. Well that part’s fine. The real nasty par
Explore this link on the map →saved by
related reading
- What is Ownership? - The Rust Programming Languagedoc.rust-lang.org
- A half-hour to learn Rustfasterthanli.me
- Moves - Rust: A Better C++ Than C++thecodedmessage.com
- Rust Language Cheat Sheetcheats.rs
- References and Borrowing - The Rust Programming Languagedoc.rust-lang.org
- how I think when I think about programming - alice mazalicemaz.com
- What is Ownership? - The Rust Programming Languagerust-book.cs.brown.edu
- Variables and Mutability - The Rust Programming Languagedoc.rust-lang.org
- Rewriting Bun in Rust | Bun Blogbun.com
- Patterns for Defensive Programming in Rust | corrode Rust Consultingcorrode.dev
- Moves, cloning, and copying - Rust for C-Programmersrust-for-c-programmers.com
- References and Borrowing - The Rust Programming Languagerust-book.cs.brown.edu