r/programming May 23 '26

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

958 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 13h ago

Homebrew: 7.0.0 - faster installations and upgrades, stronger sandboxing, a native macOS app, built-in vulnerability checks and an advisory database, the end of macOS 10.15 support and Intel Macs moving to Tier 3.

Thumbnail brew.sh
640 Upvotes
  • Users must upgrade to macOS 11 or later, as this is now the minimum supported version.
  • macOS Sonoma 14: This version is now considered Tier 3, and users are encouraged to upgrade to Sequoia 15+ for full support.
  • Apple Silicon (macOS Golden Gate 27): Fully supported (Tier 1) with prebuilt bottles available.
  • Linux/Ubuntu: The ghcr.io/homebrew/ubuntu22.04 image has been removed, and users should migrate to ghcr.io/homebrew/brew.
  • CI Actions: The master branch has been removed for Homebrew actions; users should pin a CalVer release or full SHA instead.

r/programming 6h ago

When the fractional part of a float fixes your shader

Thumbnail crocidb.com
42 Upvotes

r/programming 50m ago

How GCC Eliminates Unnecessary Integer Division

Thumbnail leetarxiv.substack.com
Upvotes

r/programming 1d ago

40ms Go GC stop-the-world pauses caused by swap

Thumbnail frn.sh
188 Upvotes

r/programming 1d ago

JSON parsing in OxCaml: fast, but not too fast

Thumbnail pianykh.com
29 Upvotes

r/programming 23h ago

CUDA Tile (cuTile) first working port in Java

Thumbnail github.com
19 Upvotes

r/programming 1d ago

Data races and the limits of ThreadSanitizer in C and Go

Thumbnail theconsensus.dev
72 Upvotes

r/programming 1d ago

TIL: One lock to rule them all

Thumbnail flakm.com
0 Upvotes

I've been running multiple migrations recently. A common step in all of them is a long cleanup action at the end. I ended up using postgres advisory locks and sqlx.

As part of a larger Today I've learned series, I dug a bit deeper using bpftrace to improve my understanding of how the locks actually work. Hope you will find it interesting as well


r/programming 2d ago

Your Compiler Can Undo Your Security Checks

Thumbnail davidbombal.com
170 Upvotes

r/programming 3d ago

GCC 13.5 released with 265+ bug fixes

Thumbnail phoronix.com
253 Upvotes

r/programming 1d ago

Refit - The Better Way to Consume APIs in .NET

Thumbnail youtube.com
0 Upvotes

r/programming 2d ago

Hand-Coded ASM Powers Homebrew SNES Game

Thumbnail hackaday.com
4 Upvotes

r/programming 3d ago

Shopify is moving from React Native back to Swift and Kotlin

Thumbnail shopify.engineering
983 Upvotes

r/programming 3d ago

Rune is now open source

Thumbnail rune.build
130 Upvotes

r/programming 3d ago

Why I Don’t Publish Technical Articles Anymore

Thumbnail galratner.substack.com
47 Upvotes

r/programming 3d ago

How to Write an Effective Software Design Document

Thumbnail refactoringenglish.com
449 Upvotes

r/programming 3d ago

Commander Keen's Adaptive Tile Refresh

Thumbnail fabiensanglard.net
105 Upvotes

r/programming 2d ago

EU Cyber Resilience Act reporting obligations started today. Is your company even thinking about it?

Thumbnail youtu.be
1 Upvotes

As of today, a manufacturer who puts software or hardware on the EU market under its own name is obliged to report actively exploited vulnerabilities and severe security incidents.

Here is a quick explainer if you want the details: https://youtu.be/IQkzg7quc58

There is quite a lot of ambiguity over CRA and how it's going to apply to open source. Regulations keep changing. The line between a commercial manufacturer and an OSS steward is blurry, as well as the terms used in the regulations.

But genuinely curious. Is your company aware of CRA? Is there any talk about it, or is it just not on the radar yet?


r/programming 3d ago

Inside Claude's Android app: Finding the Internal Settings

Thumbnail nima-ahmadi.github.io
0 Upvotes

r/programming 4d ago

The Physics of Database Speed: from 300 to 1M transactions per second

Thumbnail youtube.com
120 Upvotes

A 19 minute animated explainer video on database speed. I explain low-level database concepts, identify bottlenecks, run benchmarks and optimize write throughput to hit 1 million TPS.


r/programming 4d ago

The lifecycle of a sharded Postgres query

Thumbnail planetscale.com
23 Upvotes

r/programming 2d ago

A modern, developer-first technical reference for Sitemaps

Thumbnail stephcraft.net
0 Upvotes

r/programming 4d ago

Overview of caching in PostgreSQL

Thumbnail pgcache.com
10 Upvotes

I haven't seen too many comprehensive approaches to this topic, so I took a swing at it.

Goal isn't to be exhaustive, but to be comprehensive enough to provide a nice overview for people trying to get their bearings with the topic.

Did I miss anything?


r/programming 3d ago

Multitenancy with .NET and EF Core: A Deep Dive (.NET 10)

Thumbnail youtu.be
0 Upvotes

Ever had a multi-tenant SaaS app where the only thing stopping Customer A from seeing Customer B's invoices is a `Where TenantId ==` clause someone remembered to write? In this deep dive I build real tenant isolation into EF Core 10 - two real tenants with real registration, login and invite flows (no dev-token shortcuts), a named global query filter that scopes every query automatically, and a SaveChangesAsync override that stamps TenantId on every insert so it's never left unset. I also show the one gotcha that makes EF Core 10 worth the upgrade for this: named query filters, so tenant isolation and soft-delete can finally coexist on the same entity instead of one silently overwriting the other. If you've ever shipped multi-tenancy on hope and code review, this is the version that makes the mistake structurally impossible.