Stephen Diehl
Personal blog of Stephen Diehl - Software engineer writing about technology, programming, and the future
- Posts
- 136 from 21 Apr 2013 to 11 Oct 2026
- Posting
- monthly (23 in the last year)
- Kind
- personal blog
- Feed
- https://www.stephendiehl.com/feed.xml
2026 20
- MLIR Part 14 - GPT-2 on the GPU
- We Live in the Dependently Typed Future Now
- No, Transformers Won't End the Human Race lol
- The Internet Is Kind of a Predatory Cesspit Now
- Prism: An Impure Functional Language With Typed Effects
- MLIR Part 13 - Running GPT-2
- MLIR Part 12 - Fusion, Bufferization and Execution
- Crypto in 2026: Oh, This is the Bad Place
- Book Review: On the Calculation of Volume
- MLIR Part 11 - Matrix Multiplication and Attention
- Book Review: What We Can Know
- MLIR Part 10 - Compiling Transformer Kernels
- Book Review: There Is No Antimemetics Division
- Book Review: Piranesi
- MLIR Part 9 - A Python Frontend for MLIR
- Optimal Caverna Gameplay via Formal Methods
- Can Opus 4.6 do Category Theory in Lean?
- Book Review: When We Cease to Understand the World
- MLIR Part 8 - GPU Compilation with MLIR
- Hypothetical Divine Signatures
2025 42
- MLIR Part 7 - Transformers
- MLIR Part 6 - Specializing Python with E-graphs
- MLIR Part 5 - Neural Networks
- MLIR Part 4 - Linear Algebra in MLIR
- MLIR Part 3 - Affine Dialect and OpenMP
- Typechecker Zoo
- The Stochastic Code Monkey Theorem
- Christian Nationalism Is A Dangerous Ideology
- It Would Be Good if the AI Bubble Burst
- Every Democrat Who Enabled Trump's Crypto Corruption
- Only Solution to the Attention Economy is to Opt Out
- Fast Tensor Canonicalization in Rust
- MLIR Part 2 - Memory in MLIR
- Fine-tuning With Tool Calling
- Program Synthesis: The λ in the Machine
- The Asbestos Doctrine: Why Crypto Must Be Contained, Not Condoned
- What is AI market actually worth?
- Book Review: Tomorrow, and Tomorrow, and Tomorrow
- The Future of Maths May Be Deeply Weird
- Does the Star Trek Computer Run on COBOL?
- Interfacing MCP with Combinatorial, Convex, and SMT Solvers
- The Trump Crypto Orgy of Corruption
- Unnecessary and Unstable: Why Stablecoins are Bad
- Remote MCP Servers
- Adventures in Symbolic Algebra with Model Context Protocol
- Using CUDA Deep Neural Network (cuDNN) in Python
- The Technofascist Mind: A Guide to Its Psychology and Philosophy
- The Kardashev-Marx Scale
- AI Slopocalypse 2027
- Attention Wasn't All We Needed
- MLIR Part 1 - Introduction to MLIR
- How Democrats Failed on Crypto
- MLIR Part 0 - Installing MLIR
- SGLang on AMD MI300X
- How to Make a Universe
- The FlashAttention CUDA Kernel Line by Line
- Training with GRPOTrainer
- The Case Against Crypto in 2025
- Tokenization is a Meaningless Buzzword
- Worse Than a Scam: How Crypto Fueled American Fascism
- Enterprise Software in 2025
- The Post-literate Economy
2024 34
- Sci-fi Hidden Gems
- The Sybaritic Economy
- Process Reward Models
- Digital Dollarization: The Looming Threat to Monetary Sovereignty
- Introduction to Fine-tuning Large Language Models
- Setting up a Nvidia GH200 for Development
- Hymba : Mamba × Transformers
- Dependent Types in 200 Lines of Python
- Setting up PyTorch for OCaml
- New Rank 29 Elliptic Curve
- Tiny GraphRAG (Part 2)
- Tiny GraphRAG (Part 1)
- The Limitations of RAG
- The Legacy of Web3
- AGI Discourse as Kayfabe
- Types of Types: Common → Exotic
- Monte Carlo Tree Search
- Fine-tuning with ORPO and Unsloth
- Pi from String Amplitudes
- Diaconescu's Theorem
- A Rapid Tutorial on Unsloth
- Basic Formal Ontology
- The AI Backlash is to be Expected
- Volatility Surface
- The Dark Eschatology of Crypto Ideologues
- Silicon Valley's (totally not a cult) Ideologies
- Slippage Modelling
- Portfolio Rebalancing
- Using SMT Solvers to Manage JIRA Tickets
- Word Calculators are Useful, but they're not Smart
- Enough Numbers to Build a Universe
- Cooking Logics with Soufflé
- E-Graphs in Rust
- Portfolio Theory with CVXOPT
2023 8
2022 7
2021 4
2019 2
2018 4
2017 1
2016 11
- Dive into GHC: Targeting Core
- Dive into GHC: Intermediate Forms
- Dive into GHC: Pipeline
- Building a Better Custom Haskell Prelude
- Exotic Programming Ideas, Part 2 (Term Rewriting)
- Exotic Programming Ideas, Part 4 (Datalog)
- Cooking Classes with Datatype Generic Programming
- Exotic Programming Ideas, Part 3 (Effect Systems)
- Exotic Programming Ideas, Part 1 (Module Systems)
- From Newton to Einstein and Back
- Monads to Machine Code