Most cited
Posts that commenters keep linking to, ranked by how many different people have cited them in Hacker News comments. 3,470 posts.
Flattening ASTs and other compiler data structures
This is an introduction to data structure flattening, a special case of arena allocation that is a good fit for programming language implementations. We build a simple interpreter twice, the normal way and the flat way, and show that some fairly mechanical code changes can give you a 2.4× speedup.
The Linux Graphics Stack
This is an introductory overview post for the Linux Graphics Stack, and how it currently all fits together. I initially wrote it for myself after having conversations with people like Owen Taylor, Ray Strode and Adam Jackson about this stack. I had to go back to them every month or so and learn the stuff from the…
Image GPT
We find that, just as a large transformer model trained on language can generate coherent text, the same exact model trained on pixel sequences can generate coherent image completions and samples. By establishing a correlation between sample quality and image classification accuracy, we show that our best generative…
Elm 0.19 Broke Us
Elm 0.19 was released yesterday. There were a significant number of breaking changes at every level:...
Cloudflare Workers now supports COBOL
COBOL is often a source of amusement for programmers because it is seen as old, verbose, clunky, and difficult to maintain. COBOL can now be used to write code for Cloudflare’s serverless platform Workers.
Structured logging with slog
The Go 1.21 standard library includes a new structured logging package, log/slog.
A better introduction to Objective-C
Khám phá những chuyển động mới nhất của thể thao thế giới với tin tức, sự kiện, giải đấu, màn trình diễn ấn tượng và câu chuyện nổi bật từ nhiều bộ môn hấp dẫn.
User experience design for APIs
Writing code is rarely just a private affair between you and your computer. Code is not just meant for machines; it has human users. It is meant to be read by people, used by other developers, maintained and built upon. Developers who produce better code, in greater quantity, when they are kept happy and productive…
Crafting Interpreters
We’ll spend the rest of this book illuminating every dark and sundry corner of the Lox language, but it seems cruel to have you immediately start grinding out code for the interpreter without at least a glimpse of what we’re going to end up with.
The Little C Function From Hell
Does the standard say whether or not “char” is “unsigned char” or “signed char”? (I guess not from what you wrote above.)
SQLite 3.33
A complete list of SQLite releases in a single page and a chronology are both also available. A detailed history of every check-in is available at SQLite version control site .
SQLite on Rails: The how and why of optimal performance
This is my personal site, where I write about Ruby, programming, and any of my varied fascinations.
I can’t believe that I can prove that it can sort
When an enthusiastic Ada programmer and a SPARK expert pair up to prove the most "stupid" sorting algorithm, lessons are learned! Join us in this…
How Do You Look When Merging Fails
There was a Simpsons episode, I can’t recall correctly, but I think Bart recorded Lisa when her heart broke and he watched it in slow motion to stop exactly at that point. I thought of this e…
Comparing Git Workflows
A git feature branch is a temporary branch used for development or testing purposes. Learn about the best way to manage them using this guide!
JSX over the Wire
Turning your API inside-out.
P: A programming language for asynchrony, fault-tolerance and uncertainty
To address the challenges of asynchronous computation, we have developed the P programming language for modeling and specifying protocols.
So you want to write a GUI framework
Through several recent discussions of GUI programming in Rust,I have been left with the impression that the term ‘GUI’ means significantlydifferent things to...
Claude's Character
How character training cultivates traits like curiosity, open-mindedness, and thoughtfulness in Claude using a variant of Constitutional AI.
Choc: Bret Victor's 'Learnable Programming' implemented in Javascript
Thinking procedurally is one of the hardest concepts to grasp for the beginning programmer.
Erlang 19.0 Garbage Collector
Each Erlang process has its own stack and heap which are allocated in the same memory block. When the stack and the heap meet, the garbage collector is triggered and memory is reclaimed. Find out more on our blog.
Uber's crazy YOLO app rewrite, from the front seat
I've worked on many projects throughout my career as a software engineer. However, Helix - Uber's Rider app rewrite in 2016 introducing Swift and RIBs - stands as the craziest project by a margin. This is my story and some of my journal entries from the time. Prologue It's