logo img Samuel's blog
  • |
  • About
  • |
  • 👋
  • |
  • |
  • |

♡

Properly format your strings in rust

September 12, 2025

Rust, like any other language has string formatting/interpolation abilities similar to C’s printf or fprintf functions, provided by the fmt module. But it’s not that simple as we will see below.

Coordinating threads with Condvar in Rust

September 11, 2025

I recently worked on a rust project where I had to coordinate state between two threads, and with my Scala background, it wasn’t the easiest to implement in rust which does things a little differently.

Build a Simple Key Value Database from scratch with Rust

May 21, 2023

I’ve always been fascitaned by databases and always wanted to learn more about its internals, in this tutorial, we will build a simple Key-Value store from scratch with Rust.

Practically Understanding UTF-8 encoding

January 30, 2022

If you save a text file with non-english characters and wondered how the editor knows how to interpret it correctly, then this is for you.

Essential Effects 08: Concurrent Coordination

April 13, 2021

It’s bad to use vars to define state that’s going to be shared by multiple threads, the same goes for using vars for using vars for sharing state amongst multiple effects. ```scala object Refs extends IOApp {

Essential Effects 07: Managing Resources

April 12, 2021

Managing Resources

Essential Effects 06: Integrating with Legacy systems

April 11, 2021

Integrating Asynchrony

Essential Effects 05: Contexts and Thread Pools

April 10, 2021

CPU vs IO Bound work

Essential Effects 04: Granular Parallelism (Fibers)

April 09, 2021

Forking, Joining and cancelling an effect

Essential Effects 03: Functional Parallelism

April 08, 2021

Parallelism
Prev
1 / 2
Next

Copyright © 2018-2022 Samuel Orji -- Powered by Jekyll with Type on Strap!