Blogs / Personal blogs

flurries of latent creativity

blog.singleton.io

Popular posts
3
Total points
826
HN comments
332
Rank
#2,767 personal

Visit blog.singleton.io → RSS feedOn Hacker News Jan 2022 – Jun 2025

Software Engineering 2Tools & Productivity 1Programming Languages 1Games & Graphics 1

1

The joy of building a ray tracer, for fun, in Rust

TLDR? You can find the code and a bunch of examples on GitHub at dps/rust-raytracer. Over the holiday break, I decided to learn Rust. Rust is a modern systems programming language which has a really interesting type system. The type system can catch broad classes of common programming mistakes - e.g. ensuring memory…

2

I Wrote a Compiler

I have a Computer Science degree. I attended a whole course of lectures on compilers (and have a certain fondness for “the red dragon book” as a result). However, I had never actually written a compiler from start to finish until a rainy day last weekend.