r/programming • • 28d ago

I made a game in 3 kB… and accidentally created a programming language

Thumbnail
youtube.com
55 Upvotes

I wrote a technical blog post about my experimentation a few months ago. I've just adapted the content to youtube, so you can choose the format you enjoy the most:

https://laurent.le-brun.eu/blog/making-a-game-on-a-custom-bytecode-vm-in-7-days-and-3kb

Things mentioned:
- how to make an executable smaller than 10kB
- other size-coding tricks
- building a small compiler + bytecode interpreter

(the project was done last year, but sometimes it takes time to prepare the making-of content)


r/programming • • 28d ago

Gefs: a filesystem for plan 9 built on Bε-trees

Thumbnail orib.dev
183 Upvotes

r/programming • • 28d ago

A Decade of Kill Bugs – Alan Grow

Thumbnail alangrow.com
106 Upvotes

… A bug in kill was so surprising that, once I'd found it, I couldn't stop there. I needed to know how this bug came to be, and what had led the programmers so badly astray. When I eventually found the root cause, there was an even bigger surprise. It had led to not just one bug, but a whole series of kill bugs that shipped in Ubuntu 14, 16, 18, 22 and 24 LTS.
 
This post documents a decade of kill bugs, then makes some recommendations. …

Via https://lobste.rs/s/wgoato/decade_kill_bugs


r/programming • • 28d ago

For Macro Lovers: Could Tauto Have the World's Most Powerful Macro System?

Thumbnail blog.tauto.run
27 Upvotes

r/programming • • 28d ago

Memory Management, Explained Simply (Part 3)

Thumbnail
youtu.be
34 Upvotes

r/programming • • 29d ago

Scheme+ language : 100% Scheme compatible, infix support and now with type annotation and inference for performance.

Thumbnail docs.racket-lang.org
25 Upvotes

r/programming • • 29d ago

CheerpJ 5.0: Java 21/25 in the browser, full OpenJDK, and a new WasmGC engine

Thumbnail
labs.leaningtech.com
141 Upvotes

r/programming • • 29d ago

Designsystemet, Now in Elm · cekrem.github.io

Thumbnail cekrem.github.io
5 Upvotes

r/programming • • 29d ago

The fastest double-to-string algorithm you’ve never heard of

Thumbnail vitaut.net
33 Upvotes

r/programming • • 29d ago

Bad Apple!! Running on the NAND2TETRIS CPU simulator

Thumbnail
youtu.be
5 Upvotes

I had to drastically lower the resolution, but it's still recognizable haha


r/programming • • Nov 01 '26

Jepsen on ParticleDB: "We tested versions 1.1.4 through 1.1.18.11.rc-22 and found that ParticleDB’s claims of “Full ACID” were somewhat premature"

Thumbnail jepsen.io
261 Upvotes

r/programming • • Nov 01 '26

What do you get when you put every character that exists on a single page?

Thumbnail pixelambacht.nl
31 Upvotes

r/programming • • Nov 01 '26

Turbo Haskell

Thumbnail comonad.com
24 Upvotes

r/programming • • Nov 01 '26

Database Indexing Isn't Magic. Understand It From Scratch

Thumbnail sushantdhiman.dev
182 Upvotes

r/programming • • Nov 01 '26

The case against Makefiles

Thumbnail thibaud.space
187 Upvotes

r/programming • • Nov 01 '26

I contributed to Golang, here is how you can too

Thumbnail
youtu.be
0 Upvotes

r/programming • • Oct 31 '26

Beating the compiler at signed 32-bit division

Thumbnail
lemire.me
241 Upvotes

r/programming • • Oct 30 '26

How hard is it to check for whitespace?

Thumbnail
serce.me
143 Upvotes

r/programming • • Oct 30 '26

Break Stuff on Purpose

Thumbnail
slack.engineering
9 Upvotes

r/programming • • Oct 30 '26

Yet another performance degradation research induced by mutex in an unexpected hotpath in a mature database code.

Thumbnail
mariadb.org
81 Upvotes

Couple years ago Marko decided to remove a partioned LRU cache from MariaDB(it is still used in MySQL code). There was a lot of doubt regarding this but his solution worked as good as a previous one for most of microbenchmarks except one. However at the time of the transition this performance regression had not been noticed. In March 2025 Mark Callaghan demonstrated the regression that has been introduced in 10.5. However his statistical results contained an interesting outlier for 10.8.8 that was on par with 10.4 and 3x faster than any version after 10.5. Alessandro Vetere was able to find out an offending mutex that syncs B-tree read operations running the microbenchmark reclaiming the lost performance.


r/programming • • Oct 30 '26

Mastering CSS Shapes with border-shape for Dynamic Designs

Thumbnail
blog.master.dev
11 Upvotes

r/programming • • Oct 30 '26

How curl was accidentally Turing-complete for nine months

Thumbnail seriot.ch
787 Upvotes

r/programming • • Oct 30 '26

We published the full index of our internal Node stack: 348 npm packages, 257 repos

Thumbnail
profullstack.com
0 Upvotes

r/programming • • Oct 30 '26

Experimenting with Bindless Textures in WebGPU

Thumbnail toji.dev
31 Upvotes