Fun recent Rust articles

in rust

Here’s some fun Rust articles I read recently.

Learn Rust Basics By Building a Brainfuck Interpreter

Mmrsheerluck.blog

First article in a series of Rust tutorials; this one is creating a Brainfuck interpreter. If you’ve never encountered Brainfuck before, it’s a very simple but completely incomprehensible programming language - for instance, this is a Brainfuck program which prints “Hello World!”:

++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.
>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.

The shortest and simplest article on this list, but a nice fun one!

Beast CLI game

Beast, Rust game by Dominik Wilkowski

Beast, Rust game by Dominik Wilkowski

Dominik Wilkowski’s blog

Building a terminal game, based on an 80s game called Beast. A really well-written series of tutorials, taking you all the way up to a fully-working game.

Build your own SQLite

Table Btree illustration, Geoffrey Copin

Database table B-Tree illustration, Geoffrey Copin

Geoffrey Copin, blog.sylver.dev

Tutorial series building a version of SQLite from scratch. I haven’t been all the way through this yet, but it’s a nice deep-dive into how databases work under the hood.