r/programming • • Jul 21 '26

AST implementation for a custom programming language

Thumbnail youtube.com
11 Upvotes

The talk host explains how ASTs work and shows how to build them step by step.


r/programming • • Jul 21 '26

Elixir Cluster 101

Thumbnail jola.dev
11 Upvotes

r/programming • • Jul 21 '26

The Long Road to Bottomless Postgres: Discussing Neon, pg_mooncake, pg_tier, pg_lake, and ColdFront

Thumbnail pgedge.com
37 Upvotes

r/programming • • Jul 20 '26

Throw, Result, or neither?

Thumbnail architecture-weekly.com
113 Upvotes

r/programming • • Jul 21 '26

How We're Scaling Our Infrastructure Across 4 Clouds To Serve 1M+ Sandboxes

Thumbnail opencomputer.dev
7 Upvotes

r/programming • • Jul 20 '26

Every Microsecond Matters: Achieving Near Speed-of-Light Latency in GPU Collectives

Thumbnail arxiv.org
20 Upvotes

r/programming • • Jul 20 '26

Comprehensive JVM Primitive Hashtable Benchmarks

Thumbnail sooniln.github.io
45 Upvotes

r/programming • • Jul 21 '26

What Is Docker, and What It Silently Replaced 🤫..

Thumbnail fagnerbrack.com
0 Upvotes

r/programming • • Jul 20 '26

The LSM Tree

Thumbnail ledger.khushal.net
8 Upvotes

r/programming • • Jul 20 '26

How Generalized Inverted Index works internally in Postgre SQL

Thumbnail deepsystemstuff.com
7 Upvotes

Regular Indexing works on a column level; it indexes the entire column value, but if you want to index each value in one row, then the GIN indexing technique is used.

GIN can index each element of JSON stored in a JSONB field

How Postgres creates a GIN file physically, what is the format of that file, how that file is retrieved in RAM while fetching records, what data types are used, and how Postgres calculates the exact address of an element of JSON are all explained in the article


r/programming • • Jul 21 '26

Don't add a read replica until you've read this

Thumbnail incident.io
0 Upvotes

r/programming • • Jul 19 '26

The computer at the bottom of a canal

Thumbnail negroniventurestudios.com
167 Upvotes

r/programming • • Jul 19 '26

A History of IDEs at Google

Thumbnail laurent.le-brun.eu
329 Upvotes

r/programming • • Jul 19 '26

Finding zombies in our systems: A real-world story of CPU bottlenecks

Thumbnail medium.com
25 Upvotes

r/programming • • Jul 19 '26

Commutative Complex Number Theory in Plain C

Thumbnail leetarxiv.substack.com
7 Upvotes

r/programming • • Jul 18 '26

The Zilog Z80 has turned 50

Thumbnail goliath32.com
153 Upvotes

r/programming • • Jul 19 '26

A tutorial on building a merkle tree AIR script in Plonky3

Thumbnail hashcloak.com
0 Upvotes

r/programming • • Jul 18 '26

The fsync inside the WAL lock

Thumbnail frn.sh
15 Upvotes

r/programming • • Jul 17 '26

Maintaining the code of the man who wrote "How To Write Unmaintainable Code"

Thumbnail github.com
752 Upvotes

Today I accidentally became the maintainer of software that was already almost three decades old: reviving a 1990s Java utility to keep the last PAD submitter alive in 2026.

I was looking for a way to submit my AI app RiverScript to old desktop software directories and ended up digging through the long-forgotten world of PAD files.

There was one problem.

The only batch submission tool I could find was a Java application that first appeared in the late 1990s. The last release was in 2017.

It was written by Roedy Green of Canadian Mind Products – a software developer who passed away in 2023. He spent decades writing and freely distributing Java utilities, and maintaining the widely-read Java Glossary. Roedy Green also wrote How To Write Unmaintainable Code – a famous satirical guide about writing code nobody can maintain. So, Roedy, today the code you wrote almost three decades ago was maintained.

The tool still did exactly what it was supposed to do. Thank you.

It just had absolutely no idea the modern web existed.

It happily produced URLs like http://https://riverscript.com instead of https://riverscript.com, disabled SNI globally (which was probably a perfectly reasonable workaround at some point), and couldn't cope with the fact that almost every website now redirects HTTP to HTTPS.

So I dug through the legacy Java code, fixed the compatibility issues, and got it working again.

I used it to submit my app to several software directories, then published the revived version on GitHub so anyone who still needs it can use it too.

Maybe nobody will ever need it again. Maybe someone will.

Either way, I'm happy this old thing works again.

So today, the code of the man who wrote "How To Write Unmaintainable Code" is still being maintained even after he was gone.

P.S. The public repository for Mini PAD Submitter 26.3 Revived – 2026 Community Fix is available and open to everyone.

P.P.S. At the request of redditors, I also added support for using custom submission directories.

In Roedy's original program, the list of 66 directories was hardcoded, and quite a few of them no longer exist. So I added a sites.txt file next to the application in the dist folder, where you can edit the list yourself – remove the ones that no longer exist and add new ones. The application simply reads the list from that file now, so you don't have to recompile anything.


r/programming • • Jul 18 '26

The Java Story | The Official Documentary of Java

Thumbnail youtu.be
184 Upvotes

r/programming • • Jul 19 '26

Developing a TUI in Go with Bubble Tea

Thumbnail packagemain.tech
0 Upvotes

r/programming • • Jul 18 '26

Tutorial: Introduction to Formal Verification with Lean (Part 1)

Thumbnail hashcloak.com
26 Upvotes

r/programming • • Jul 19 '26

How fork() duplicates a process without copying its memory

Thumbnail youtube.com
0 Upvotes

A visual explainer on how copy-on-write makes fork() cheap.

A 10 GB process can fork almost instantly because Linux copies the page tables, shares the physical pages, marks them read-only, and only copies a page when one of the processes writes to it.

It also covers fork() + exec(), how Redis snapshots work, Android Zygote, lazy zero pages, and some CVEs