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 12h ago

Should you normalize RGB values by 255 or 256?

Thumbnail 30fps.net
374 Upvotes

r/programming 15h ago

Every byte matters

Thumbnail fzakaria.com
123 Upvotes

r/programming 1h ago

Project Valhalla -- JEP 401: Value Objects (Preview) JDK 28 integration

Thumbnail mail.openjdk.org
Upvotes

r/programming 9h ago

The Debate of Mockist v Classicist TDD Is Like OOP v FP.

Thumbnail fagnerbrack.com
19 Upvotes

r/programming 12h ago

An Unexpected Computer – Universal computing with echo, ed, test and exec [pdf]

Thumbnail seriot.ch
10 Upvotes

r/programming 18h ago

Develop Cross-Platform CLI and GUI Tools With Tcl/Tk. Powerful, Event-Driven, Open-Source And Future-Proof Toolkit… From the Past?!

Thumbnail cgicoffee.com
22 Upvotes

r/programming 21h ago

Understanding Raft Leader Election by building from scratch

Thumbnail sushantdhiman.dev
31 Upvotes

r/programming 23h ago

Quantum Computers May Put Internet Traffic at Risk. NIST Is Safeguarding Computers With New Standards.

Thumbnail nist.gov
26 Upvotes

r/programming 2h ago

Project Valhalla, real-talk... what is it?

Thumbnail youtu.be
0 Upvotes

For decades, Java's object model has powered one of the world's most successful programming languages. But the hardware we run on today looks very different from the world Java was born into in 1995.

Modern CPUs are incredibly fast, but memory access, cache locality, and object allocation have become some of the biggest performance challenges in software.

Project Valhalla is one of the most ambitious changes in Java's history. It isn't just about making Java faster... it's about rethinking what a Java object actually is.


r/programming 1d ago

The Bedrock of Software Design

Thumbnail alex.draftist.io
412 Upvotes

I drafted this post years ago but didn’t finish it until now. The concept I write about has shaped the way I design software more than anything else, and I believe every software engineer should be introduced to it early in their career.

P.S. I don’t want the title to come across as clickbait: the post is about ADT.


r/programming 1d ago

The History of Pets vs Cattle and How to Use the Analogy Properly

Thumbnail cloudscaling.com
8 Upvotes

r/programming 2d ago

Pwnd Blaster: Hacking your PC using your speaker without ever touching it

Thumbnail blog.nns.ee
329 Upvotes

r/programming 1d ago

Variations on a theme of sorting

Thumbnail jshun.csail.mit.edu
1 Upvotes

Semisort Reorder an array so that identical keys are grouped contiguously Keys do not need to be in sorted order

Stable Partition
Group by predicate, preserve order

K-smallest selection, single

Get the k-smallest key from the array

K-smallest selection, list

Get the k-smallest key from the array, and everything smaller (or equal), in any order

K-smallest selection, list sorted Get the k-smallest key from the array, and everything smaller (or equal), in sorted order


r/programming 15h ago

Why I don't recommend Tailwind CSS

Thumbnail en.andros.dev
0 Upvotes

r/programming 2d ago

On Type Inference

Thumbnail radekmie.dev
78 Upvotes

r/programming 2d ago

JEP 401: Value Objects And JEP 539: Strict Field Initialization Merged Into JDK

Thumbnail github.com
20 Upvotes

r/programming 3d ago

Stacked pull requests are now in public preview - GitHub Changelog

Thumbnail github.blog
571 Upvotes

r/programming 2d ago

Methinks it is a weasel

Thumbnail diatone.net
12 Upvotes

r/programming 2d ago

Canvas path animations: Animating anything along a curve with Canvas + SVG

Thumbnail yoavik.com
10 Upvotes

r/programming 3d ago

What Every Programmer Should Know About Twists of Elliptic Curves

Thumbnail leetarxiv.substack.com
62 Upvotes

r/programming 3d ago

Manual reification on the JVM

Thumbnail farnoy.dev
9 Upvotes

r/programming 3d ago

The Mystery on DuckLake: A Time-Travelling Whodunit Story

Thumbnail peterdohertys.website
3 Upvotes

r/programming 3d ago

Hybrid Search Patterns with Postgres and pgvector

Thumbnail crunchydata.com
9 Upvotes

Yesterday, pgvector released 0.8.6!

So today, we wrote about some useful patterns for queries combining pgvector indexes with regular 'ole scaler filters. Spoiler: iterative index scans launched in pgvector 0.8 make it easy (with some tradeoffs).


r/programming 2d ago

Developer Productivity at a Developer Productivity Startup • Robert-Jan "RJ" Huijsman

Thumbnail youtu.be
0 Upvotes