Skip to the content.

Blog

Short updates, context, and essays that complement the long-form notes in the bookshelf.

Understanding Reference Types in Modern C++

· c++, references, move-semantics, perfect-forwarding

Modern C++ gives you several kinds of references, each solving different problems around binding, lifetime, and ownership. Before C++11, you had one tool: the lvalue reference. ...

Read more →

Why Direct Sampling from PDFs or PMFs Is So Hard

· probability, sampling, monte-carlo, numerical-methods

Directly sampling from a probability density function (PDF) or probability mass function (PMF) sounds deceptively simple: evaluate the function, interpret the number, and draw a...

Read more →

Publishing Cadence Summary

· meta, index

Looking for a single place to trace how the notebook has evolved? This reference page aggregates every post that landed on the site, sliced by month, quarter, half-year, and ful...

Read more →

SIMD Intrinsics: From SSE to AVX2 in Practice

· simd, intrinsics, avx, performance, c++

Modern CPUs have wide vector units capable of executing the same operation across multiple data elements at once. Compiler auto-vectorization handles the simple cases, but when ...

Read more →

Mastering std::async in Modern C++

· c++, concurrency, async, futures

std::async is the standard library’s shortest path to running work asynchronously and receiving the result as a std::future. Used well, it hides thread management, propagates ex...

Read more →

Composing Futures in Modern C++

· c++, concurrency, futures, async

In the previous post we focused on the contract between a single promise and future. Real systems rarely stop there. Data pipelines, UI flows, and service backends routinely lau...

Read more →

The Hidden Symmetry of Inverse Sine and Cosine

· mathematics, engineering, intuition

Mathematics often rewards patient observers with patterns that seemed invisible at first glance. One of my favorite examples links two functions that appear to live on separate ...

Read more →

Understanding the Resent Family of Emotions

· language, psychology, emotions

Negative feelings often get lumped together, but the words we choose point to very different shades of experience. I like to think of resent as the seed in a small emotional eco...

Read more →

Introducing the Atul Singh Notes Blog

· updates, roadmap

The books and long-form research that live in this repository tend to move slowly. They collect notes, citations, and iterative drafts over weeks or months before they finally b...

Read more →