Posts

Writing a small async runtime for Cortex-M micro-controllers with Rust

This article explores how to create a custom async runtime for ARM Cortex-M microcontrollers. We’ll adapt Philipp Oppermann’s work for x86 bare-metal systems to Cortex-M and design a simple Task struct and Executor to run async tasks.

Blinking LEDs with Rust

Rust is a modern programming language focused on safety, speed, and concurrency. It’s a go-to for system-level tasks, offering strong guarantees against common bugs like null pointer dereferences. Embedded systems, with their resource constraints and real-time demands, could really benefit from more Rust.

Reusable Forms in Swiftui

I’ve been recently doing a lot of programming using Swift and I’m quite enjoying how intuitive it is to pick up. It also helps that SwiftUI generally produces good looking user interfaces with less effort than other things I’ve tried.

Blockchains as I Understand It

Introduction The first half of 2022 has not been kind to the world of crypto. Everyone expects a recession, cryptocurrency valuations are crashing; crypto firms file for bankruptcy every other week and many are predecting a “crypto winter”.

A Morning Walk Along The Rail Corridor

I take a morning walk along the rail corridor and take some photos of the sunrise.

Haskell Folds Illustrated

I try to wrap my head around one of Haskell’s main higher order functions.

Messages from Demon Slayer: Kimetsu no Yaiba

I talk about the messages from Demon Slayer: Kimetsu no Yaiba that inspire me.

Why I Stopped Reading the News During the Pandemic

Growing up, I was frequently reminded of the importance of reading the news. My family was always subscribed to at least one (physical) newspaper, and magazine subscriptions were not uncommon. A year into the COVID-19 pandemic, however, I’ve decided not to read the news anymore.

Digital Minimalism

About the Book As a heavy user of computer technology for over a decade, I’ll be the first defend its benefits. My familiarity with the internet is responsible for a significant chunk of my knowledge and much of my critical thinking abilities.

On the Effective Use of TODO Lists

I used TODO lists for everything in my life for the last two months of the COVID-19 lockdown. Here’s what I learned from the experience.