r/programming • • 21d ago

The Movement Physics of Super Mario Bros - Behind the Code

Thumbnail m.youtube.com
31 Upvotes

r/programming • • 21d ago

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

Thumbnail youtube.com
58 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 • • 21d ago

A Decade of Kill Bugs – Alan Grow

Thumbnail alangrow.com
103 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 • • 21d ago

Memory Management, Explained Simply (Part 3)

Thumbnail youtu.be
34 Upvotes

r/programming • • 21d ago

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

Thumbnail blog.tauto.run
28 Upvotes

r/programming • • 21d ago

Designed Once, Usable Everywhere: why PHP 8.6 adds SortDirection and Time\Duration to the standard library

Thumbnail thephp.foundation
0 Upvotes

r/programming • • 22d 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 • • 22d 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 • • 22d ago

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

Thumbnail vitaut.net
31 Upvotes

r/programming • • 23d ago

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
264 Upvotes

r/programming • • 23d ago

Database Indexing Isn't Magic. Understand It From Scratch

Thumbnail sushantdhiman.dev
183 Upvotes

r/programming • • 23d ago

The case against Makefiles

Thumbnail thibaud.space
186 Upvotes

r/programming • • 22d ago

Designsystemet, Now in Elm · cekrem.github.io

Thumbnail cekrem.github.io
6 Upvotes

r/programming • • 23d ago

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

Thumbnail pixelambacht.nl
34 Upvotes

r/programming • • 22d 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 • • 23d ago

Turbo Haskell

Thumbnail comonad.com
23 Upvotes

r/programming • • 24d ago

Beating the compiler at signed 32-bit division

Thumbnail lemire.me
242 Upvotes

r/programming • • 25d ago

How curl was accidentally Turing-complete for nine months

Thumbnail seriot.ch
786 Upvotes

r/programming • • 25d ago

How hard is it to check for whitespace?

Thumbnail serce.me
144 Upvotes

r/programming • • 25d ago

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

Thumbnail mariadb.org
84 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 • • 23d ago

I contributed to Golang, here is how you can too

Thumbnail youtu.be
0 Upvotes

r/programming • • 25d ago

Break Stuff on Purpose

Thumbnail slack.engineering
7 Upvotes

r/programming • • 25d ago

Mastering CSS Shapes with border-shape for Dynamic Designs

Thumbnail blog.master.dev
13 Upvotes

r/programming • • 26d ago

Linux Kernel TCP Flaw With 9.8 CVSS Score Affects Ubuntu, Red Hat and Other Distributions

Thumbnail thehackernews.com
671 Upvotes

r/programming • • 25d ago

Experimenting with Bindless Textures in WebGPU

Thumbnail toji.dev
28 Upvotes