Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 21,829 posts.
When pigs fly: optimising bytecode interpreters
This is part two in my series of articles about bytecode interpreters, based on a small stack virtual machine which I have nicknamed PM…
Prompt Engineering: Steer a large pretrained language model to do what you want
Prompt Engineering, also known as In-Context Prompting, refers to methods for how to communicate with LLM to steer its behavior for desired outcomes without updating the model weights. It is an empirical science and the effect of prompt engineering methods can vary a lot among models, thus requiring heavy…
Jank development update – Moving to LLVM IR
Learn about jank's upcoming LLVM IR codegen, Rust interop plans, and more.
Mach v0.1: Cross-platform Zig graphics
Five months ago we announced some of our vision for Mach & the future of graphics with Zig. Today we've reached Mach v0.1 with over 1,100 commits.
You can now run WebAssembly on Cloudflare Workers
Today, we're extending Cloudflare Workers with support for WebAssembly. All Workers customers can now augment their applications with WASM at no additional cost.
The Implementation of Functional Programming Languages (1987)
“The Implementation of Functional Languages” is a book about implementing functional programming languages using lazy graph reduction, and it divides into three parts. The first part describes how to translate a high-level functional language into an intermediate language, called the lambda calculus, incuding detailed…
Reverse Engineer the BL602 WiFi Driver
What happens inside the WiFi Driver on RISC-V BL602... And how we found the incomplete source code for the driver
Using k-d trees to efficiently calculate nearest neighbors in 3D vector space
What would the world look like if there were only 16 colors? I use k-d trees to perform nearest neighbor search to find out.
Introductions to advanced Haskell topics
Tour of watershed posts and papers for Haskell
Common Mistakes for New Golang Devs
Go is a simple and fun language, but, like any other language, it has a few gotchas... Many of those gotchas are not entirely Go's fault. Some of these mistakes are natural traps if you are coming from another language....
Understanding Deep Learning Through Neuron Deletion
Deep neural networks are composed of many individual neurons, which combine in complex and counterintuitive ways to solve a wide range of challenging tasks. This complexity grants neural networks their power but also earns them their reputation as confusing and opaque black boxes.
Unearthing my 1996 windowed OS in machine code for Am29000 homebrew computer
History of the development of my windowed operating system for 32-bit Am29000 processors when I was age 18.
Tokenized Tokens
Documentation and guides from the team at Fly.io.
The Optimizations in Erlang/OTP 27
The official home of the Erlang Programming Language
Erlang 28 on GRiSP Nano using only 16 MB
A modular embedded ecosystem—bare-metal hardware, software stacks, and a cloud platform for real-time IoT and distributed systems.
SQLite Release 3.39.0
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 .
I made Zig compute 33M satellite positions in 3 seconds
Update: I've since added multithreading and pushed astroz to 326M propagations/sec. Read the follow-up → I've spent the past month optimizing SGP4 propagat...
Relaxed Radix Balanced Trees (2024)
I’m adding immutable vectors to my language, Ivan, and needed to pick a suitable data structure to implement them. Clojure uses Persistent Vectors (PVs) which support lookups, updates, and appends all in ‘effectively’ constant time. However, it doesn’t have efficient insert or merge operations. Relaxed Radix Balanced…
Reducing technical debt by valuing comments as much as code
Annotations, such as Javadoc, help maintainers understand your coding decisions.
What it means that Ubuntu is using Rust
Righty-ho, I’m back from Rust Nation, and busily horrifying my teenage daughter with my (admittedly atrocious) attempts at doing an English accent 1 . It was a great trip with a lot of good conversations and some interesting observations. I am going to try to blog about some of them, starting with some thoughts…
Experiment: Unit testing isn't enough; You need static types, too
When I was working on my research for my Masters degree I promised myself that I would publish my paper online under a free license, as soon...
Why can't you reverse a string with a flag emoji?
davidamos.dev is your first and best source for information about davidamos. Here you will also find topics relating to issues of general interest. We hope you find what you are looking for!