Rust

Fighting Rust’s borrow checker

2025-03-28

This is a common phrase I come across in Rust forums and IRC rooms. And I’ve got the taste of what it is after I finished porting hedge to Rust (called hedge-rs, obviously). Coming from C/C++/Go/Zig, working with Rust’s borrow checker needs some getting used to. But just to get the thing working, at least initially, I had to do some bits of circumvention, which feels like “dirty” tricks to me at the moment. I’m sure I’ll learn some of the more idiomatic ways of doing these in the (near) future as I write more Rust code. Here are some of those observations.

Programming · Programming · Rust · Rust · Rustlang

4 minutes

Initial impressions on Rust

2025-03-18

Last year, I explored the possibility of adding a complementary systems programming language to our stack. And I mentioned that I was leaning more into Zig as it resonates with me and my biases. Well, I spent a bit of my time last week porting spindle to Rust (called spindle-rs). This blog is me sharing some of my initial impressions. The first thing is, I quite like it. Which, for me, is a very important criteria. Mind you, as a piece of software, spindle-rs is not really that complicated, so I’m barely touching the surface of what it’s going to be like writing system software fit for Rust. However, from that experience, here are some of my impressions.

Programming · Programming · Rust · Rust · Rustlang

6 minutes