Engineering notes & deep dives
Learn how software works beneath the surface.
A growing collection of implementation-focused articles about systems, backend and frontend architecture, databases, distributed software, AI, DevOps, and developer tooling. Posts may use Rust, Go, Python, TypeScript, JavaScript, or whichever language best explains the problem.
4 posts
- Systems EngineeringC++C++Systems ProgrammingPackage Manager
Inside CPM: Architecture of a Hermetic C/C++ Package and Environment Manager
A deep dive into CPM's architecture: transactional environments, multi-build-system adaptation, Nix-backed hermeticity, namespaced header isolation, and incremental parallel builds without CMake bloat.
Aug 19, 202616 min readRead - Systems EngineeringRustRustSystems ProgrammingDatabases
FlashDB: A Lock-Free Redis-Compatible Key-Value Store in Rust
How FlashDB achieves 14M+ SET/sec and 36M+ pub/sub msg/sec on a single node using lock-free data structures, thread-per-core I/O, and zero-copy RESP parsing.
Aug 15, 20269 min readRead - Systems EngineeringRustRustConcurrent HashMapConcurrency
Building a Lock-Free Concurrent HashMap in Rust from Scratch
Inside a sharded Rust HashMap using lock-free reads, per-entry synchronization, open addressing, sequence counters, and epoch-based reclamation.
Aug 11, 202626 min readRead - Developer ToolsGoGoSQLORM
Why Flash ORM Uses Regex Instead of a Full SQL AST
Why Flash ORM chose regex and small scanners over a full SQL AST: faster generation, lower CPU use, smaller binaries, and multi-dialect control.
Aug 11, 202615 min readRead