r/programming May 23 '26

Announcement: We've Updated The Rules, and April Is Finally Over

945 Upvotes

After temporarily banning LLM-related content over April, and asking you for feedback on that ban, we've decided to bring about an end of the temporary, I-can't-believe-it's-still-April ban on AI-related posts.

Replacing the trial rule is a new shiny rule that refers to our new shiny AI policy. In short:

Content about AI and LLMs are considered off-topic with the sole exclusion of deeply technical content about implementation.

And if you want more detail than that, go read the policy, that's what it's there for.

In addition, when writing that rule, I realized the rules weren't listed on the old.reddit.com sidebar, so that's been updated. For those of you who are seeing those rules for the first time, everything there is not new. We've been enforcing those rules as best we can for ages. You can click the link above those to get to the old.reddit rules page, with plenty of info that doesn't exactly read well when crammed into a sidebar.


r/programming 10h ago

Your JS Date Is Lying to You - the traps that keep shipping to production

Thumbnail blog.gaborkoos.com
68 Upvotes

Most JavaScript developers have been burned by Date at least once: a report that's off by a day, an invoice that lands in the wrong month, a timezone bug that only appears in certain regions.

A writeup on the main failure modes with production examples:

  • new Date('2026-07-21') parsed as UTC, displayed as local: date shifts by a day west of UTC
  • constructor months are 0-based, so new Date(2026, 7, 21) is August
  • every set* method mutates in place, including across shared references
  • "add one month" and "add 30 days" are not the same operation and can diverge by days near month boundaries
  • JSON.stringify drops timezone context silently

Each section also covers what safe Date patterns look like for code that can't migrate yet, and where Temporal fixes the design rather than just adding a wrapper.


r/programming 5h ago

Physics programming - Rotation and Quaternions

Thumbnail youtu.be
5 Upvotes

I explain rotations and quaternions. I then implement the latter into my physics engine by replacing the matrix version of angular velocity code with a quaternion version. Lastly, I benchmark the results.


r/programming 7m ago

How Container Filesystem Works: Building a Docker-like Container From Scratch

Thumbnail labs.iximiuz.com
Upvotes

r/programming 7h ago

Sandboxing Script Extensions with GraalVM

Thumbnail medium.com
7 Upvotes

r/programming 4h ago

A Fast Path for Fixed-Length Lists in Parquet

Thumbnail morling.dev
1 Upvotes

r/programming 1d ago

Linux kernel will support $ORIGIN, sort of

Thumbnail fzakaria.com
264 Upvotes

r/programming 22h ago

kubara - A GitOps-First Approach to Reusable Kubernetes Platforms

Thumbnail medium.com
12 Upvotes

r/programming 1d ago

Secrets Don’t Belong in Config

Thumbnail secretspec.dev
144 Upvotes

r/programming 21h ago

A Gentle Introduction to Stochastic Programming

Thumbnail towardsdatascience.com
9 Upvotes

r/programming 2d ago

Zig proposes introducing an actually memory safe (unlike Rust) compilation mode inspired by Fil-C at ~1-6x performance penalty

Thumbnail codeberg.org
476 Upvotes

r/programming 1d ago

Elixir Cluster 101

Thumbnail jola.dev
10 Upvotes

r/programming 1d ago

AST implementation for a custom programming language

Thumbnail youtube.com
3 Upvotes

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


r/programming 1d ago

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

Thumbnail pgedge.com
39 Upvotes

r/programming 2d ago

Throw, Result, or neither?

Thumbnail architecture-weekly.com
90 Upvotes

r/programming 1d ago

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

Thumbnail opencomputer.dev
7 Upvotes

r/programming 2d ago

Modula-3: the forgotten language that explored memory safety decades ago

Thumbnail softwarepreservation.computerhistory.org
79 Upvotes

Pretty cool seeing that people were already thinking about memory safety decades ago. Some of these ideas that feel modern today were being explored back in the 80s and 90s.
Makes you wonder how different things would look if languages like Modula-3 had taken off.


r/programming 1d ago

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

Thumbnail arxiv.org
13 Upvotes

r/programming 2d ago

Comprehensive JVM Primitive Hashtable Benchmarks

Thumbnail sooniln.github.io
40 Upvotes

r/programming 23h ago

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

Thumbnail fagnerbrack.com
0 Upvotes

r/programming 2d ago

The LSM Tree

Thumbnail ledger.khushal.net
6 Upvotes

r/programming 1d ago

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

Thumbnail incident.io
0 Upvotes

r/programming 2d ago

How Generalized Inverted Index works internally in Postgre SQL

Thumbnail deepsystemstuff.com
5 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 1d ago

A Final Reckoning: Programming Is Going Back To The Nerd Era

Thumbnail programmers.fyi
0 Upvotes

r/programming 2d ago

The Message Arrived. Did the Operation Succeed? On End-to-End Arguments in System Design.

Thumbnail mohamed.computer
0 Upvotes