Skip to main content
N Acharya

N Acharya

Products & Architecture

Recent

Async Rust with Tokio: Futures, Streams, and Channels — and How They Compare to Go

·8 mins
Go’s concurrency model is famously approachable: goroutines are lightweight, channels are built into the language, and context handles cancellation without much ceremony. But Rust’s async story — built on stackless futures, the Tokio runtime, and a rich channel ecosystem — is compelling in a different way. It pushes more decisions to compile time, eliminates data races by construction, and delivers higher concurrency density with less memory. This post works through Rust async from first principles and puts it side-by-side with Go at every step.

Math, Emoji and Diagrams in Hugo

·2 mins
A practical reference for three content extensions that go beyond basic Markdown: mathematical notation via KaTeX, emoji shortcodes, and Mermaid diagrams.

Vibe Coding: think more, type less, and let the reasoning show

·5 mins
What is Vibe Coding? # Vibe coding represents a paradigm shift in how we approach software development. Instead of meticulously crafting every line of code, developers describe their intent in natural language and let AI assistants generate the implementation. But this isn’t just about writing code faster—it’s about fundamentally changing how we think about, reason through, and validate our software.

NVMe, Modern I/O and scalable KV stores

·4 mins
NVMe, Modern I/O, and Scalable Databases: Building the Next-Generation KV Stores # TL;DR # The landscape of high-performance storage has shifted fundamentally. NVMe SSDs deliver microsecond latency and multi-GB/s throughput per device, shifting bottlenecks from disk mechanics to CPU, PCIe fabrics, and software stacks. For modern KV stores, this means rethinking metadata vs. data storage separation, embracing async APIs (io_uring), and leveraging kernel-bypass frameworks (DPDK/SPDK).

Why Rust ?

·2 mins
It’s a question that I’ve been asked a lot lately, and I think it’s worth looking into. Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety. It’s a language that’s been around for a while, but it’s only recently started to gain popularity. After all it has made it to 14 in the TIOBE index It is the most admired language in Stack Overflow Survery for 2024