---
title: "Nyakio Maina (@Nyakio) | Hashnode"
description: ".rs. Read the latest articles by Nyakio Maina on Hashnode."
url: "https://hashnode.com/@Nyakio"
---

@Nyakio

# Nyakio Maina

@Nyakio · Nairobi, Kenya · Joined January 2023

.rs

### [WebAssembly Overview](https://nyakio.hashnode.dev/webassembly-overview?utm_source=hashnode&utm_medium=feed)

1\. Introduction What is WebAssembly (Wasm)? WebAssembly is a low-level, assembly-like code format that is safe, portable, and optimized for efficient execution and compact representation. It acts as a compilation target for many programming languages...

4 min read · [nyakio.hashnode.dev](https://nyakio.hashnode.dev/webassembly-overview?utm_source=hashnode&utm_medium=feed)

[Dec 25, 2024](https://hashnode.com/posts/webassembly-overview/676c2a8add020fe1c6743d88)

### [Rust And Pico2](https://nyakio.hashnode.dev/rust-and-pico2?utm_source=hashnode&utm_medium=feed)

So here’s the simple tutorial to build and flash a Rust application to the Pico 2 microcontroller Step 1: Environment set-up Clone the Pico SDK: git clone https://github.com/raspberrypi/pico-sdk Set the PICO\_SDK\_PATH environment variable: export...

2 min read · [nyakio.hashnode.dev](https://nyakio.hashnode.dev/rust-and-pico2?utm_source=hashnode&utm_medium=feed)

[Oct 14, 2024](https://hashnode.com/posts/rust-and-pico2/670cddff5afb979122bf1073)

### [Functional Programming in Rust](https://nyakio.hashnode.dev/functional-programming-in-rust?utm_source=hashnode&utm_medium=feed)

Imagine entering a world where functions rule, data remains unaltered, and every operation is a neatly packaged process that never steps outside its boundaries. This is the realm of Functional Programming (FP), a paradigm designed to make your code m...

3 min read · [nyakio.hashnode.dev](https://nyakio.hashnode.dev/functional-programming-in-rust?utm_source=hashnode&utm_medium=feed)

[Aug 24, 2024](https://hashnode.com/posts/functional-programming-in-rust/66c9d4ecb758c5d0ecd1df24)

### [Rust’s Magic Box](https://nyakio.hashnode.dev/rusts-magic-box?utm_source=hashnode&utm_medium=feed)

Cooked up exercises to really get into the guts of how Box ticks Basic Box Allocation: Create a Box that contains a single i32 value. Print the value to confirm it's correctly allocated. Box and Functions: Write a function that takes a Box<i32> and...

3 min read · [nyakio.hashnode.dev](https://nyakio.hashnode.dev/rusts-magic-box?utm_source=hashnode&utm_medium=feed)

[Jul 17, 2024](https://hashnode.com/posts/rusts-magic-box/66978a4013dc41a661490fad)

### [Big O notation](https://nyakio.hashnode.dev/big-o-notation?utm_source=hashnode&utm_medium=feed)

I recently went to the Kenya National Library to search for some history books. Let's use this scenario to explain what Big O notation is—a mathematical concept used to describe how the performance of an algorithm changes as the amount of data it nee...

3 min read · [nyakio.hashnode.dev](https://nyakio.hashnode.dev/big-o-notation?utm_source=hashnode&utm_medium=feed)

[May 3, 2024](https://hashnode.com/posts/big-o-notation/6634a48c6496e648b8fba451)
