Topics /
Software Engineering
The most popular blog posts about software engineering on Hacker News. 21,819 posts.
Strict Tables – Column type constraints in SQLite - Draft
SQLite strives to be flexible regarding the datatype of the content that it stores. For example, if a table column has a type of "INTEGER", then SQLite tries to convert anything inserted into that column into an integer. So an attempt to insert the string '123' results in an integer 123 being inserted. But if the…
Fixing Python Performance with Rust
Why your JavaScript events are coming in quicker now.
How to Make an RPG
The How To Make an RPG book teaches you what you need to know to make your own computer role-playing game. Pick it up and start making your game today.
I Wrote a WebAssembly VM in C
For the last 6 months, I’ve been spending my (limited) free time on evenings and weekends writing a WebAssembly VM in C. After repeatedly throwing away small side-projects, this was an extremely productive experience for me as an engineer. I’m writing this in order to put together some take-aways and organize my…
Measuring mutexes, spinlocks and how bad the Linux scheduler is
This blog post is one of those things that just blew up. From a tiny observation at work about odd behaviors of spinlocks I spent months trying to find good benchmarks, (still not entirely successf…
Announcing Quill 1.0
Quill is a free, open source WYSIWYG editor built for the modern web. Completely customize it for any need with its modular architecture and expressive API.
Writing a file system from scratch in Rust
A file system is responsible for organising and providing an abstraction over the storage devices where the data is physically stored. In this post, we will learn more about the concepts used by file systems, and how they fit together when writing your own.
My Python code is a neural network
This post translates a Python program to a recurrent neural network. It visualizes the network and explains each step of the translation in detail.
I Made Stable Diffusion XL Smarter by Finetuning It on Bad AI-Generated Images
And then telling it to not generate those images!
The Graphing Calculator Story - a developer who refused to leave
Pacific Tech's Graphing Calculator has a long history. I began the work in 1985 while in school. That became Milo , and later became part of FrameMaker . Over the last twenty years, many people have contributed to it. Graphing Calculator 1.0, which Apple bundled with the original PowerPC computers, originated under…
Write a time-series database engine from scratch
It covers how to make a time-series database engine from scratch
Why don't more developers “use the platform”?
For years, advocates for web standards, performance, and accessibility have implored web developers to “use the platform”. I’ve often been one of those…
TypeScript is terrible for library developers
We spend a disproportionate amount of time on types
I don't need your query language
Seriously, I don't. I'd prefer SQL.
Python in the Windows 10 May update
Python might be hard to install on Windows, but with the latest Windows 10 update, you can type "python" to find it in the Microsoft Store.
Eliminating Memory Safety Vulnerabilities at the Source
Posted by Jeff Vander Stoep - Android team, and Alex Rebert - Security Foundations Memory safety vulnerabilities remain a pervasive threa...
Coroutines for Go
This post is about why we need a coroutine package for Go, and what it would look like. But first, what are coroutines?
Bun v0.5
Support for npm workspaces, DNS lookups, database drivers, and lots of improvements to bun install.
Should you normalize RGB values by 255 or 256?
Let’s say you’re writing an image processing program. The program takes in an image, converts it to floating point, does some processing and finally saves the modified pixels to disk as 8-bit colors. The question today concerns how exactly the integer-to-float conversion should be done. There are two approaches which…
Executing programs inside transformers with exponentially faster inference
We build a computer inside a transformer — executing arbitrary C programs for millions of steps with exponentially faster inference via 2D attention heads.
Improving the security of your SSH private key files
Update (July 2015): This post is now rather outdated, and the procedure for modifying your private key files is no longer recommended. A better solution is to use ssh-keygen -o .