Tag: programming
-
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 arubygems
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 have high hopes for it being merged into main. So here are my notes on writing a Rust gem extension.
-
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 […]
-
Building a CEDICT parser in Rust with Nom
The CEDICT format is a simple, creative commons-licensed file format for Chinese/English dictionaries. While Mandarin-only CEDICT parsers abound, there is basically no support for Cantonese jyutping in the English-speaking programming world. As someone who would have liked to use Cantonese pronunciations in my programs, at first I was stuck. I considered adding jyutping support to […]
-
Contributing to Artichoke in Rust
Yesterday, I eked out a bit of time to contribute to Artichoke in Rust, in no small part due to the maintainer @lopopolo: Artichoke is an implementation of Ruby written in the Rust programming language. The issue I worked on was to expose a newly stabilized method in Artichoke’s implementation of the Ruby String class. […]