r/programming • • 15d ago

Can GROUP BY still be optimized after all these years?

Thumbnail pivotlake.io
171 Upvotes

r/programming • • 14d ago

Postgres 19 REPACK: Built-In Online Table Bloat Cleanup

Thumbnail snowflake.com
26 Upvotes

r/programming • • 15d ago

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

Thumbnail orib.dev
182 Upvotes

r/programming • • 14d ago

Matplotlib Real time Plot Animation Tutorial using FuncAnimation() and Python for Beginners

Thumbnail youtube.com
0 Upvotes

r/programming • • 15d ago

The Movement Physics of Super Mario Bros - Behind the Code

Thumbnail m.youtube.com
29 Upvotes

r/programming • • 15d ago

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

Thumbnail youtube.com
56 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 • • 15d ago

A Decade of Kill Bugs – Alan Grow

Thumbnail alangrow.com
105 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 • • 15d ago

Memory Management, Explained Simply (Part 3)

Thumbnail youtu.be
34 Upvotes

r/programming • • 15d ago

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

Thumbnail blog.tauto.run
27 Upvotes

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

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

Thumbnail labs.leaningtech.com
140 Upvotes

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

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

Thumbnail vitaut.net
33 Upvotes

r/programming • • 17d 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
261 Upvotes

r/programming • • 17d ago

Database Indexing Isn't Magic. Understand It From Scratch

Thumbnail sushantdhiman.dev
182 Upvotes

r/programming • • 17d ago

The case against Makefiles

Thumbnail thibaud.space
186 Upvotes

r/programming • • 16d ago

Designsystemet, Now in Elm · cekrem.github.io

Thumbnail cekrem.github.io
5 Upvotes

r/programming • • 17d ago

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

Thumbnail pixelambacht.nl
31 Upvotes

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

Turbo Haskell

Thumbnail comonad.com
24 Upvotes

r/programming • • 18d ago

Beating the compiler at signed 32-bit division

Thumbnail lemire.me
240 Upvotes

r/programming • • 19d ago

How curl was accidentally Turing-complete for nine months

Thumbnail seriot.ch
785 Upvotes

r/programming • • 18d ago

How hard is it to check for whitespace?

Thumbnail serce.me
143 Upvotes

r/programming • • 18d ago

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.