Programming Reference & Tutorials

A technical
reference for
working engineers

Concise, accurate programming guides across systems languages, web technologies, and computer science fundamentals. No padding, no fluff.

10 articles this collection

Go — Concurrency

Goroutines and Channels: Go's Concurrency Model

How Go's runtime scheduler manages goroutines, and why channels as typed conduits produce safer concurrent programs than shared memory.

Rust — Memory Safety

Ownership and the Borrow Checker Explained

Rust's ownership model eliminates use-after-free and data races at compile time. A ground-up walkthrough of moves, borrows, and lifetimes.

Python — Language Features

Python Decorators: Advanced Patterns

Decorators are more than syntactic sugar. Learn how wrapping functions enables cross-cutting concerns like logging, caching, and retry logic.

JavaScript — Async

Async/Await Patterns in Modern JavaScript

How async/await layers over the Promise model, and when try/catch with await is cleaner — or more dangerous — than chained .catch() handlers.

Theory — Lattice QCD

Lattice Gauge Theory and GPU Shader Pipelines

An unexpected structural analogy: how the parallel decomposition of Monte Carlo gauge field sampling maps onto fragment shader invocation across tiles.

Go — Channels

Go Channels: Buffered, Unbuffered, and Range

Channel semantics from first principles. Buffered vs unbuffered blocking behaviour, directional types, and the range-over-channel fan-out pattern.

Python — Patterns

Decorator Patterns: @property, @classmethod, functools.wraps

Built-in decorators and the functools module give Python its most expressive API patterns. Covers descriptor protocol, class methods, and metadata preservation.