Tag: programming
-
One of my favorite Rust features (doc comments!)
I realized that one of my favorite Rust features doesn’t have a blog post highlighting it [0], so I thought I’d talk a bit about documentation comments and doc tests in Rust. I’ll give you a quick example. Let’s say you have some code: There’s a cargo command to generate documentation from that code: Which…
-
Professional Rustacean, 3 months in
Hi! đź‘‹ I did end up landing that Rust job I was looking for, and I’ve been wrestling with the Rust programming language now for a good couple of months – not quite 3, if I’m to be honest, but who’s counting. To be honest, I’m a little bit ambivalent. I think it’s a great…
-
Fun with Gleam
This’ll be a short blog post, but Gleam (v0.25.0) is an Erlang OTP language, akin to Elixir (in fact, recently added full compatibility with Elixir packages). It’s been fun so far. I think the error messages are great and the functional style language is a lot of fun to wrap my brain around. I have…
-
Getting into tech
When I graduated from college with a degree in East Asian Languages and Culture from the University of Illinois at Urbana-Champaign in 2011 (one year late), I had no idea what I was going to do. To compare with my fellow EALC majors, one had started a restaurant, one got into horseback riding, and another…
-
Rust advocacy at a medium-sized startup
At Hologram, I loved getting to sign into work Slack and share knowledge with fellow software engineers of all experience levels. There were about 40 engineers in a company closing in on 200 employees. Meanwhile, the biggest change in my career as a software engineer recently has been learning Rust, which I’ve been calling a…
-
Why PHP is not for me
So most recently I was employed at Hologram and was therefore too busy to write. Not anymore – I was one of the employees laid off from Hologram recently. While at Hologram, I worked mostly in PHP, which was something I actually dreaded coming into the job, but ended up not minding as much as…
-
Ruby has economy-class functions
Ruby has economy-class functions, not first-class functions. And that’s okay! It’s a great language anyway.
-
Writing a Rust gem from scratch
This is a followup to the last post. Instead of using the template rust_ruby_example gem, we’ll make one from scratch. Make sure to go back over the “Using a rubygems fork” section because we’ll be using it heavily during this post, as well!
-
Sneak preview: Writing Ruby gem native extensions in Rust
In December 2021, Ian Ker-Seymer (@ianks) submitted a pull request to add a CargoBuilder class for handling Rust code in gems, enabling native extensions in Rust! I was so excited, I had to try it out, even though it hadn’t been merged yet. A lot of maintainers are showing interest and pitching in, so I…
-
Crate of the Week second chance list
TLDR – the three most upvoted crates that were never recognized as Crate of the Week in This Week in Rust are glutin, rust-cuda, and redshirt. The Crate of the Week is a Rust (programming language, not game) segment in the This Week in Rust newsletter that highlights a single Rust library in a given…