Blog posts in category “Rust”
I've been learning Rust lately on and off for the past few years. Come learn with me!
-
Nov 1st, 2023Learning Rust #10: Added new feature with a HashMap
After almost exactly a year since the last time I wrote Rust, I decided to implement a new feature to my CLI tool 235
-
Apr 19th, 2023A look at my on-going projects
I have a few developer community initiatives and software projects that I've been working on for a while so I decided to give an update on all of them at once.
-
Jun 8th, 2022print is your best debugging tool
One tool to rule them all, one tool to find them (bugs). One tool to bring them all, and in the editor fix them.
-
May 18th, 2022Learning Rust #9: A talk about rustlings
I got to host Rust Finland's meetup at Futurice on May 9th and ended up doing a lightning talk introducing the audience to rustlings project.
-
Mar 9th, 2022Added custom highlight function for nhl-235
235 now supports highlights of your favorite players so it's even easier to check if your favorites are doing well in the league.
-
Sep 1st, 2021Learning Rust #8: What's next?
As the NHL season came to an end in early summer and the 235 app only needs a few adjustments before the next season, it's time for me to plan for a new project. I want to work on something that allows me to go deeper into more advanced functionality with Rust.
-
Aug 4th, 2021Learning Rust #7: Learn from the community
Rust community is wonderful and people are very helpful and open for sharing. In this post of Learning Rust series, I share my community resources for learning more.
-
Jul 7th, 2021Learning Rust #6: Understanding ownership in Rust
One of my biggest challenges with Rust has been understanding its ownership model and how borrows and references operate. Let's take a look.
-
Jun 2nd, 2021Learning Rust #5: Rustlings
One way to learn a language is to start from compiler's error messages and fix things. Rustlings is a great project built to do exactly that and the best approach I've seen towards it in the programming world.
-
May 5th, 2021Learning Rust #4: Parsing JSON with strong types
By definining type definitions as structs, you can give all the heavy lifting to the language and library when parsing JSON and make your logic code much much cleaner. In this post, I talk about writing those structs as well as dynamic and optional keys.
-
Apr 7th, 2021Learning Rust #3: crates.io & publishing your package
When I was young, computer software was bought in boxes from store. Later, we moved into using software online and I spent 15 years falling in love with web as a medium. With my Rust project, I'm back in the mode of sharing executable binaries and distributing new versions is bit more complicated.
-
Mar 3rd, 2021Learning Rust #2: Option & Result
One big challenge I had when I started learning Rust (and still do) is that so often things are wrapped in Option or Result types and it feels like such a hurdle to always unwrap things. Let's talk about it!
-
Feb 3rd, 2021Learning Rust: Pattern Matching
Pattern matching in Rust is one of my favorite features. This blog post is the first in series where I'll write about things I learn while building my first Rust applications.
-
Jan 27th, 2021Introducing: 235
There's nothing that brings hockey fans in Finland together better than the iconic 235. Originally from YLE teletext, it's now available on command line.
-
Dec 16th, 2020Advent of Code #3: Slowing down
Around day 10, things started to slow down and I lost momentum with Advent of Code as so easily happens. What has made me very happy meanwhile has been the sense of community and encouraging others to join the challenge and work together to help Santa.
-
Dec 9th, 2020Advent of Code #2: Borrows, unwraps and lots of compiler errors
Days 2 to 8 of Advent of Code and my journey with Rust was like 2020 on a very small scale: a rollercoaster of emotions. Some days I felt really good and enjoyed learning and coding and some other days I felt like I knew nothing about Rust and couldn't figure out the problems at all.
-
Dec 2nd, 2020Advent of Code #1: Getting Started
Advent of Code is an annual programming challenge that contains multiple small code puzzles each day leading up to Christmas. For me, they are a way to brush up old tech or learn something new. This year, I'm learning Rust for the first time.
-
Oct 28th, 2020How to ask help for technical problems?
Asking for help in technical problems can end up in a lot of back and forth before even getting to the bottom of the issue. Here are some tips how to effectively ask for help.