WebAssembly Overview1. 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...Dec 25, 2024 · 4 min readnyakio.hashnode.dev
Rust And Pico2So 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...Oct 14, 2024 · 2 min readnyakio.hashnode.dev
Functional Programming in RustImagine 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...Aug 24, 2024 · 3 min readnyakio.hashnode.dev
Rust’s Magic BoxCooked 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...Jul 17, 2024 · 3 min readnyakio.hashnode.dev
Big O notationI 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...May 3, 2024 · 3 min readnyakio.hashnode.dev