New
The latest blog posts to take off on Hacker News. 1,748 posts.
A 10x Faster TypeScript
Embarking on a native port of the existing TypeScript compiler and toolset to achieve a 10x performance speed-up.
What makes code hard to read: Visual patterns of complexity (2023)
Not long ago, I was auditing a codebase for work (looking for bugs) when I realized that despite the quality of the code, I was becoming mentally fatigued extremely quickly and had a hard time working on it for long stretches of time…
Zero-Downtime Kubernetes Deployments on AWS with EKS
Zero-downtime deployments on Kubernetes on AWS EKS utilizing Pod Readiness Gates, graceful application shutdown and termination delays with code examples in Go
Performance of the Python 3.14 tail-call interpreter
A deep dive into the performance of Python 3.14's tail-call interpreter: How the performance results were confounded by an LLVM regression, the surprising complexity of compiling interpreter loops, and some reflections on performance work, software engineering, and optimizing compilers.
Building websites with lots of little HTML pages
And by LLMS I mean: (L)ots of (L)ittle ht(M)l page(S). I recently shipped some updates to my blog. Through the design/development process, I had some insights…
Compiling C++ with the Clang API
This post describes how to compile a single C++ source file to an object file with the Clang API. Here is the code. It behaves like a simplified clang executable that handles -c and -S…
Gleam v1.9
News post: Gleam v1.9.0 released
Switching from Pyenv to Uv
Premise The 0.4.0 release of uv does everything I currently do with pip, pyenv, pipx, pip-tools, and pipdeptree. Because of that, I'm in the process of switching to uv. This blog post covers switching
Improving on std:count_if()'s auto-vectorization
To start off, we can leverage the STL for this calculation. std::count_if() more precisely:
MCP vs. API Explained
Model Context Protocol (MCP) is an open standard that connects AI models to tools and data sources efficiently. This guide breaks down MCP’s architecture, benefits, and how it differs from traditional APIs
Discovering errors in Donald Knuth's TAOCP
As Donald Knuth has just published Volume 4, Fascicle 7 of The Art of Computer Programming (TAOCP), on constraint satisfaction, I would like to provide…
The program is the database is the interface
That transfer to John Smith isn't covered by any of the tagging rules. So I select the date, switch to the editor window and paste the date into the date->tag definition:
Long Read: Lessons from Building Semantic Search for GitHub and Why I Failed
Made in Notion, the connected workspace where AI agents and teams organize docs, projects and knowledge together.
An epic treatise on error models for systems programming languages
Musings on the representation, propagation and handling of errors in existing programming languages, as well as thoughts on future systems. (15K+ words)
Great software design looks underwhelming
Years ago I spent a lot of time reviewing coding challenges. The challenge itself was very straightforward — building a CLI tool that hit an API and allowed the…
Introducing command And commandfor In HTML
Learn about the new capabilities for declarative behavior on buttons.
Optimistic Locking in B-Trees
CedarDB is a database system that delivers unmatched performance for transactions and analytics, from small writes to handling billions of rows. Built on cutting-edge research to power today’s tools and tomorrow’s challenges.
Bel in Clojure (2022)
9 months ago, I took a gander at PG’s guide to Bel . If you haven’t read it, here’s the premise:
Zig's dot star syntax (value.*)
Karl Seguin's Blog - A mix of coding and creative writing
Using GRPO to Beat o1, o3-mini and R1 at “Temporal Clue”
The OpenPipe platform has migrated to Weights & Biases and CoreWeave. Browse migration details and the OpenPipe technical archive.
Succinct data structures
An overview of a class of data structures I didn't know about!
Exploring Polymorphism in C: Lessons from Linux and FFmpeg's Code Design (2019)
Learn how Linux/FFmpeg C partial codebase is organized to be extensible and act as if it were meant to have “polymorphism”. Specifically, we’re going to briefly explore how Linux …
Git without a forge
I’ve written quite a lot of free software in my life. Most of it was from scratch: projects I started myself. So I get to choose where to host them – or rather, I have to choose where to host them.
The features of Python's help() function
Python's help() function accepts more than functions, modules, and objects. The help() function can lookup help for symbols, keywords, and topics!
Lynx: Open Source Native Cross Platform framework used in TikTok
Today, we're excited to introduce Lynx, a family of technologies empowering developers to use their existing web skills to create truly native UIs for both mobile and web from a single codebase...
Writing an LLM from scratch, part 8 – trainable self-attention
Moving on from a toy self-attention mechanism, it's time to find out how to build a real trainable one. Following Sebastian Raschka's book 'Build a Large Language Model (from Scratch)'. Part 8/??
Solving SICP
This report is written as a post-mortem of a project that has, perhaps, been the author’s most extensive personal project: creating a complete and comprehensive solution to one of the most fa…
Mountains, Cliffs, and Caves: A Guide to Using Perlin Noise for Procedural Gen
Minecraft generates unique worlds with Perlin noise. Covers the algorithm, octaves, and Fractal Brownian Motion - with a terrain implementation walkthrough.
Should managers still code?
Ah, the eternal question, straight from the mailbag.