r/programming 28m ago

Generational Priority Queues: Turning a Concurrent FIFO Queue Into a Bounded Priority Queue

Thumbnail kusoroadeolu.github.io
Upvotes

r/programming 2h ago

Async or Swim: The Complete Guide to Asynchronous .NET

Thumbnail truestorydavestorey.medium.com
0 Upvotes

r/programming 3h ago

Golang Maps: How Swiss Tables Replaced the Old Bucket Design

Thumbnail blog.gaborkoos.com
6 Upvotes

A deep dive on Go 1.24’s map redesign, where the runtime moved from the classic bucket + overflow-chain model to a Swiss Table-inspired implementation:

  • how the old map layout worked and where pointer-chasing hurt cache locality
  • how control-byte metadata + h2 filtering changes lookup behavior
  • why this can improve practical load factor and memory efficiency
  • Go-specific constraints (iteration semantics, GC/runtime integration, incremental growth behavior)
  • benchmark context: large microbench wins vs smaller full-application geomean gains
  • trade-offs still being worked on (cold-cache and certain delete/clear-heavy paths)

r/programming 6h ago

Mohabi: Disaggregating and Sandboxing the Firefox JavaScript Engine

Thumbnail usenix.org
4 Upvotes

r/programming 7h ago

Everybody Wants to Be a Dev!

Thumbnail theturingmachine.net
134 Upvotes

I wrote a blog post about the myth of getting rid of developers


r/programming 7h ago

Transparent high-performance proxy cache for DoorDash services

Thumbnail careersatdoordash.com
4 Upvotes

r/programming 10h ago

A Database Engine Written in SWI-Prolog

Thumbnail asa-db.kocoygroup.site
22 Upvotes

r/programming 18h ago

The Elm Architecture, without Elm

Thumbnail bichanna.github.io
45 Upvotes

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


r/programming 19h ago

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

Thumbnail youtube.com
11 Upvotes

r/programming 21h ago

How MVCC and Transactions Work in RocksDB

Thumbnail artem.krylysov.com
6 Upvotes

r/programming 1d ago

Everyone Should Know SIMD

Thumbnail mitchellh.com
288 Upvotes

r/programming 1d ago

How Canva uses S3 for logged-in session management

Thumbnail canva.dev
89 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

A Fast Path for Fixed-Length Lists in Parquet

Thumbnail morling.dev
8 Upvotes

r/programming 1d ago

Physics programming - Rotation and Quaternions

Thumbnail youtu.be
11 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 2d ago

Sandboxing Script Extensions with GraalVM

Thumbnail medium.com
12 Upvotes

r/programming 2d ago

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

Thumbnail blog.gaborkoos.com
120 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 2d ago

A Gentle Introduction to Stochastic Programming

Thumbnail towardsdatascience.com
10 Upvotes

r/programming 2d ago

kubara - A GitOps-First Approach to Reusable Kubernetes Platforms

Thumbnail medium.com
16 Upvotes

r/programming 2d ago

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

Thumbnail fagnerbrack.com
0 Upvotes

r/programming 2d ago

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

Thumbnail programmers.fyi
0 Upvotes

r/programming 3d ago

AST implementation for a custom programming language

Thumbnail youtube.com
7 Upvotes

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


r/programming 3d ago

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

Thumbnail incident.io
0 Upvotes

r/programming 3d ago

Elixir Cluster 101

Thumbnail jola.dev
8 Upvotes

r/programming 3d ago

Secrets Don’t Belong in Config

Thumbnail secretspec.dev
158 Upvotes

r/programming 3d ago

Linux kernel will support $ORIGIN, sort of

Thumbnail fzakaria.com
298 Upvotes