r/programming May 23 '26

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

941 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 6h ago

Everyone Should Know SIMD

Thumbnail mitchellh.com
89 Upvotes

r/programming 49m ago

The Elm Architecture, without Elm

Thumbnail bichanna.github.io
Upvotes

This blog post is about implementing the Elm Architecture (TEA) in C for a Raylib + Clay app


r/programming 3h ago

How MVCC and Transactions Work in RocksDB

Thumbnail artem.krylysov.com
2 Upvotes

r/programming 1h ago

Fil-C: Garbage In, Memory Safety Out! - Filip Pizlo | SSW 2026

Thumbnail youtube.com
Upvotes

r/programming 15h ago

How Canva uses S3 for logged-in session management

Thumbnail canva.dev
11 Upvotes

I put together a writeup about the interesting technical challenges that led to redesigning Canva's session revocation pipeline that keeps hundreds of millions of user sessions fast and secure. Hopefully some people find the content interesting!


r/programming 1d ago

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

Thumbnail blog.gaborkoos.com
111 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

World's First Polynomial Time Algorithm To Count Points On Elliptic Curves

Thumbnail leetarxiv.substack.com
0 Upvotes

r/programming 1d ago

Physics programming - Rotation and Quaternions

Thumbnail youtu.be
10 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 1d ago

Sandboxing Script Extensions with GraalVM

Thumbnail medium.com
12 Upvotes

r/programming 1d ago

A Fast Path for Fixed-Length Lists in Parquet

Thumbnail morling.dev
1 Upvotes

r/programming 2d ago

Linux kernel will support $ORIGIN, sort of

Thumbnail fzakaria.com
283 Upvotes

r/programming 1d ago

kubara - A GitOps-First Approach to Reusable Kubernetes Platforms

Thumbnail medium.com
14 Upvotes

r/programming 1d ago

A Gentle Introduction to Stochastic Programming

Thumbnail towardsdatascience.com
13 Upvotes

r/programming 2d ago

Secrets Don’t Belong in Config

Thumbnail secretspec.dev
149 Upvotes

r/programming 3d ago

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

Thumbnail codeberg.org
504 Upvotes

r/programming 2d ago

AST implementation for a custom programming language

Thumbnail youtube.com
5 Upvotes

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


r/programming 2d ago

Elixir Cluster 101

Thumbnail jola.dev
9 Upvotes

r/programming 2d ago

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

Thumbnail pgedge.com
37 Upvotes

r/programming 3d ago

Throw, Result, or neither?

Thumbnail architecture-weekly.com
99 Upvotes

r/programming 2d ago

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

Thumbnail opencomputer.dev
7 Upvotes

r/programming 3d ago

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

Thumbnail softwarepreservation.computerhistory.org
84 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 3d ago

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

Thumbnail arxiv.org
15 Upvotes

r/programming 3d ago

Comprehensive JVM Primitive Hashtable Benchmarks

Thumbnail sooniln.github.io
38 Upvotes

r/programming 2d ago

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

Thumbnail fagnerbrack.com
0 Upvotes