Blog Posts

Coffee near the laptop closeup. Working from home.

Day 7: Ownership in Rust

Today I take a look at the concept of Ownership in Rust. This is the magic sauce that makes Rust “memory safe” and beginner Rusticians cry.

Laptop Macbook Codes Coding  - StockSnap / Pixabay

Day 6: Disemvowel

Today we disemvowel a string. That word is beautiful and means to remove every vowel out of a string. Disemvowel it!

Day 5: Counting Bits

Today I take a break from reading and tackle the simple problem of counting bits in Rust. This is my first Rust solution.

Day 4: Rust Functions and loops

Today I’m looking at functions and loops. They are an important part of any language and deserve a closer look.

Day 3: Rust Variables and Data Types

Today I take a look at Rust variables and data types. It’s a gentle introduction to a language not too alien from JavaScript.

Day 2: Cargo

Today I take a look at cargo, Rust’s answer to npm and yarn. It’s a tool that makes a developer’s life that much easier.

Day 1: Hello Rust World

I start a new journey using the rust programming language. Some initial thoughts and a hello world program.

ROT13 Cipher

A long time ago, some dude needed to send a letter to his lover but didn’t want the messenger to be reading it. After all, messengers were notorious gossips and if this particular messager knew what was in the letter then the whole of the city would have known by tea time. He couldn’t very […]

Generate Hashtags

Today’s problem was especially difficult. Not because the problem was hard, the problem is a no-brainer. No, it was difficult because I decided to only work in Emacs for these challenges. I do not know the first thing about emacs. To make things even more interesting I also decided I would not be using the […]

Find the first non-repeating character

Today we are given a string of characters, the task is to return the first non-repeating character in the string. For the purposes of repetition upper case and lower case characters are treated as the same character but the returned value must have the correct case. Example If there are no non-repeating characters, then return […]