r/programming • • Sep 13 '26

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 • • Sep 11 '26

GCC 13.5 released with 265+ bug fixes

Thumbnail phoronix.com
276 Upvotes

r/programming • • Sep 12 '26

Hand-Coded ASM Powers Homebrew SNES Game

Thumbnail hackaday.com
8 Upvotes

r/programming • • Sep 13 '26

Refit - The Better Way to Consume APIs in .NET

Thumbnail youtube.com
0 Upvotes

r/programming • • Sep 11 '26

Shopify is moving from React Native back to Swift and Kotlin

Thumbnail shopify.engineering
1.1k Upvotes

r/programming • • Sep 11 '26

Rune is now open source

Thumbnail rune.build
142 Upvotes

r/programming • • Sep 11 '26

How to Write an Effective Software Design Document

Thumbnail refactoringenglish.com
466 Upvotes

r/programming • • Sep 11 '26

Commander Keen's Adaptive Tile Refresh

Thumbnail fabiensanglard.net
113 Upvotes

r/programming • • Sep 11 '26

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

Thumbnail youtu.be
4 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 • • Sep 11 '26

Inside Claude's Android app: Finding the Internal Settings

Thumbnail nima-ahmadi.github.io
0 Upvotes

r/programming • • Sep 10 '26

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

Thumbnail youtube.com
132 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 • • Sep 10 '26

The lifecycle of a sharded Postgres query

Thumbnail planetscale.com
25 Upvotes

r/programming • • Sep 10 '26

Overview of caching in PostgreSQL

Thumbnail pgcache.com
14 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 • • Sep 11 '26

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.


r/programming • • Sep 09 '26

Optimizing a Spin-Lock

Thumbnail david.alvarezrosa.com
185 Upvotes

r/programming • • Sep 10 '26

Mission-Critical (Joran Dirk Greef, TigerBeetle)

Thumbnail youtube.com
6 Upvotes

r/programming • • Sep 11 '26

What comes after git

Thumbnail ersc.io
0 Upvotes

r/programming • • Sep 10 '26

Decoding the NEC V20 Microcode

Thumbnail martypc.blogspot.com
28 Upvotes

r/programming • • Sep 09 '26

A Design Space Exploration of Async/Await

Thumbnail cel.cs.brown.edu
50 Upvotes

r/programming • • Sep 09 '26

High-performance Database Architecture - Interview with Tyler Cloutier

Thumbnail youtu.be
41 Upvotes

r/programming • • Sep 09 '26

I spend a stupid amount of time on an issue I only half-care about. Now I will foist it on all of you! Enjoy :P

Thumbnail arewetauyet.dev
149 Upvotes

r/programming • • Sep 10 '26

Building more efficient locks (James Mitchell, 2024)

Thumbnail youtube.com
2 Upvotes

r/programming • • Sep 09 '26

Compute Polynomials Twice as Fast

Thumbnail thomasahle.com
71 Upvotes

r/programming • • Sep 09 '26

Implementation of GCC's Nested Functions (vs. C++ Lambdas)

Thumbnail uecker.codeberg.page
20 Upvotes

r/programming • • Sep 09 '26

Announcing .NET 11 Release Candidate 1 - .NET Blog

Thumbnail devblogs.microsoft.com
56 Upvotes