Binary Musings

Welcome! Musings on technology, learning actively, and thinking independently in the age of AI.

Rust Programming Concepts: Types, Pointers, Async & Generics

Explore fundamental programming concepts essential for Rust development. Learn about primitive and composite data types, pointers vs references, functions and closures, interfaces and virtual tables, concurrency vs parallelism, async/await patterns, and generic programming paradigms. Build a solid foundation for understanding Rust’s ownership model, dynamic dispatch, and concurrent processing.

July 25, 2025 · 12 min · Garry Chen

Rust Memory Management: Stack vs Heap & Memory Safety

Master Rust memory management fundamentals: understand stack vs heap allocation, memory safety principles, and how Rust eliminates memory leaks and use-after-free errors without garbage collection overhead.

July 24, 2025 · 10 min · Garry Chen

Go Pipeline Pattern Guide: Channels & Concurrent Processing

Learn Go’s pipeline pattern for building modular, concurrent applications. Explore channel-based pipelines, HTTP middleware chains, and fan-in/fan-out patterns using goroutines for efficient data processing and stream operations.

July 10, 2025 · 4 min · Garry Chen

Go Decorator Pattern Guide: Pipelines & HTTP Middleware

Master Go’s decorator pattern with practical examples: function timing decorators, HTTP middleware chains, and pipeline processing. Learn to build reusable higher-order functions and explore generic decorators for clean, modular code architecture.

July 9, 2025 · 5 min · Garry Chen

Go Generics Guide: Type-Safe Programming & Data Structures

Comprehensive guide to Go generics: learn type parameters, constraints, and build generic data structures like stacks and linked lists. Explore functional programming patterns with generic Map, Reduce, and Filter operations for type-safe, reusable code.

July 7, 2025 · 9 min · Garry Chen