Why choose async/await over threads?
A common refrain is that threads can do everything that async/await can, but simpler. So why would anyone choose async/await?
The latest blog posts to take off on Hacker News. 21,820 posts.
A common refrain is that threads can do everything that async/await can, but simpler. So why would anyone choose async/await?
I have this weird hobby of trying to get good unix tools to run natively on Windows. I find this is the most efficient use of my laptop's resources, and therefore the nicest experience. WSL is nice, but it takes up a lot of RAM on my system. I prefer to use MSYS2 . Getting unix tools to work correctly under MSYS2 is a…
Introduction Today’s post will take us in a slightly different direction than the last few. Today’s post will be about hooking up some Python code to the X-Plane flight simulator to enable development of an autopilot using PID (proportional-integral-derivative) controllers. I’ve been a fan of flight simulators for…
We got it in 1983, I think, so it only took me about 41 years to get around to it. This Tomy Tutor isn't a replacement system I secondarily ...
I did a livestream where I talked about Object Storage. The how and why. The Bad Old Days. And also the neat and interesting stuff just beyond the basics. I figured I'd cover that in text as well.
A deep dive into how Reflex works under the hood—from reactive state management to compilation of Python components into React.
With the help of Antithesis, a startup from the founders of FoundationDB, CockroachDB engineers were able to track down and reproduce a most elusive one-in-a-million bug, nearly deterministically!
We are excited to introduce pgzx, a framework for creating Postgres extensions using the Zig programming language.
I’ve been learning at least one new programming language a month through Exercism which has been really fun and interesting. I frequently say that “every language you learn teaches you something about all the others you know” and with nearly a dozen under my belt so far I’m starting to worry about the combinatorics of…
All the “C++ killers”, even these which I wholeheartedly love and respect like Rust, Julia, and D, help you write more features with fewer bugs, but they don't much help when you need to squeeze the very last FLOPS from the hardware you rent. As such, they don’t have a competitive advantage over C++. Or, for that…
Made for Rive and dedicated to our runtimes.
I’ve invested leisure time to save time when I’m working hard, not to save keystrokes but to save mental energy for the project at hand.
What is a deterministic hypervisor and why do we need one anyhow?
For the past few months, I’ve been curious about two technologies: the Zig programming language and Ethereum cryptocurrency. To learn more about both, I’ve been using Zig to write a bytecode interpreter for the Ethereum Virtual Machine. Zig is a great language for performance optimization, as it gives you fine-grained…
This article is about a bit of surprising behavior I recently discovered using Python's regex module (re) while developing SBOM tooling for CPython. Folks who've worked with regular expressions be...
Andrey Mokhov, Neil Mitchell, Simon Peyton Jones Published in Journal of Functional Programming, Vol 30(E11) View PDF Download BibTex
One of my favorite features in Neovim is the Tree-sitter integration. It allows for fast syntax highlighting that works well even in an error state (often the case when you’re editing code), and it has additional semantics (you can differentiate between function parameters and local variables).
MIT CSAIL researchers introduce FeatUp, a model-agnostic framework designed to significantly enhance the spatial resolution of deep learning features for improved performance in computer vision tasks such as semantic segmentation, depth prediction, and object detection.
An Intel 8080 processor emulator written in less than 4K of C language and able to run CP/M. It won the Best of Show category (first place) of the 19th IOCCC. The 8080 originated the Zilog Z80 and started the personal computer's revolution.
Safari 17.4 adds vertical writing mode support for form control elements across macOS, iOS, iPadOS, and visionOS.
We create the world's fastest and most efficient AI.
There are lots of interesting little subproblems in compilation like instruction selection, register allocation and instruction scheduling. These can be expressed in declarative interlinked way to constraint solvers.
Detailed description of an algorithm and a comparison between different languages.
Sometimes, I don’t know why I do things. It’s one of these times. A few months ago, Python 3.13 got its JIT engine, built with a new JIT compiler construction methodology (copy-patch, cf. research paper ). After reading the paper, I was sold and I just had to try it with PostgreSQL. And what a fun ride it’s been so…
My optimistic take on the future of Software Development in the age of AI.
Arroyo 0.10 has an entirely new SQL engine built with Apache Arrow and DataFusion. It's much faster, smaller, and easier to run. Read on for why and how we're making this change.
Django REST framework - Web APIs for Django