Lowering my expectations of how good I’ll ever get at writing Rust.
Biden won! This is great news not just for America, but the entire world. It’s a ray of hope for those of us who have been disillusioned the democratic process in recent years. Now if only we could get rid of our own knock-off version of the Orange Man. Sadly, we have to endure until […]
Everything I’ve built with Rust so far has been tiny in both scope and size, so writing out my error handling code by hand hasn’t been much of a hassle. However, I’ve been meaning to look into some of the popular error handling crates so I don’t have to write a ton of boilerplate every […]
im is a library that implements immutable data structures for Rust. It works with serde so you can make your data persistent. Consider pairing this with Druid.
https://deterministic.space/secret-life-of-cows.html TIL that you can use Rust’s Cow for representing a type that can either be borrowed or owned. This can be useful when you want to, for example, return either a static string (&’static str) or a dynamically generated owned string (String) from a function.
The cats have stopped fighting! Minor squabbles still break out once or twice a day, but for the most part they’ve settled into an uneasy truce. Found a contract for the next six weeks. It’s not a Rust gig as I had hoped, but it involves some heavyweight data visualization in the browser that will […]
While reading Crafting Interpreters, I learned about something called the expression problem. It’s a problem I’ve run into countless times, especially in larger projects, but I never knew it had an actual name. As usual, Eli Bendersky has an in-depth article about the problem and its solution in C++ and Clojure. After reading Eli’s article, […]
Spent a lot of time on calls with potential clients. Happy to report that I can sound very professional even when I’m not wearing pants. Started reading Crafting Interpreters. With a lot more Rust under my belt than the last time I tried this, things are going better than I expected. I even managed to […]