In the last blog post , we discussed the basics of CPU profilers for compiled languages like Go, C++ and Rust. We ended by saying we wanted a sampling-based… (more…)
Read more »
Introduction Hello! This is part one of a short series of posts on writing a simple raytracer in Rust. I’ve never written one of these before, so it should be a learning experience all around.
So what is a raytracer anyway? The short version is it’s a com... (more…)
Read more »
Hello and welcome to the third post in my series about learning Rust. In case you want to hit it from the start, here’s a link to the first one! This entire series covers my journey from being a completely land-locked Gopher to becoming (hopefully) a hard... (more…)
Read more »
Follow me on Mastodon: https://octodon.social/@fasterthanlimeSupport me on Patreon or GitHub: https://fasterthanli.me/donate00:00 What is Advent of Code?00:4... (more…)
Read more »
In Python there is a thing called a context manager. It looks like this: with open('file.txt') as f: # setup code runs here print f.read() # teardown code runs here do_other_thing(f) # error: f is not bound here Inside the indented block t... (more…)
Read more »