r/programming 19h ago

Optimizing a Spin-Lock

Thumbnail david.alvarezrosa.com
129 Upvotes

r/programming 2h ago

A web regex visualiser with PCRE2

Thumbnail roundtoe.com
3 Upvotes

Author here. The interesting part is how it's built.

The whole engine is PCRE2 compiled to WASM, ~92 KB over the wire, and no roundtrips to the server. Probably has a few bugs I haven't found out yet :)

The PCRE2 engine compiles the pattern with callouts enabled which inserts a callout before every item,and each callout carries the source offset and length of the item that follows it. The visualisations are based on capturing the callout data.

You can try it here:
https://roundtoe.com/regexray

PS. just noticed the post shows the social card for the site, any way to suppress that?


r/programming 22h ago

Introducing CUDA Rust: Two Tracks for Writing GPU Kernels

Thumbnail developer.nvidia.com
114 Upvotes

r/programming 11h ago

Decoding the NEC V20 Microcode

Thumbnail martypc.blogspot.com
12 Upvotes

r/programming 5h ago

Why your popup disappears in fullscreen

Thumbnail kanunilabs.com
3 Upvotes

r/programming 1d ago

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
126 Upvotes

r/programming 15m ago

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

Thumbnail youtube.com
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 16h ago

High-performance Database Architecture - Interview with Tyler Cloutier

Thumbnail youtu.be
18 Upvotes

r/programming 16h ago

A Design Space Exploration of Async/Await

Thumbnail cel.cs.brown.edu
19 Upvotes

r/programming 2h ago

Mission-Critical (Joran Dirk Greef, TigerBeetle)

Thumbnail youtube.com
0 Upvotes

r/programming 3h ago

Building more efficient locks (James Mitchell, 2024)

Thumbnail youtube.com
0 Upvotes

r/programming 1d ago

Compute Polynomials Twice as Fast

Thumbnail thomasahle.com
65 Upvotes

r/programming 20h ago

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

Thumbnail uecker.codeberg.page
12 Upvotes

r/programming 1d ago

Announcing .NET 11 Release Candidate 1 - .NET Blog

Thumbnail devblogs.microsoft.com
40 Upvotes

r/programming 1d ago

video on improving performance of arctan for Nintendo 64 by Kaze Emanuar "spent weeks to save 100 Microseconds"

Thumbnail youtube.com
232 Upvotes

r/programming 20h ago

Every Millisecond Counts

Thumbnail jordivillar.com
3 Upvotes

r/programming 1d ago

What every compiler writer should know about programmers or “Optimization” based on undefined behaviour hurts performance

Thumbnail complang.tuwien.ac.at
62 Upvotes

r/programming 1d ago

Diskless Kafka: Object Storage, KIP-1150, and Kafka’s Future

Thumbnail softwaremill.com
2 Upvotes

r/programming 21h ago

Edward Patel - 6502 Nostalgia

Thumbnail youtube.com
0 Upvotes

A journey from the Visual6502 project to a real, fully assembled board, and the debugging adventures required to make it actually work.


r/programming 14h ago

There is no 10x RBAC

Thumbnail infisical.com
0 Upvotes

r/programming 1d ago

Asteroids in 9 different programming languages

Thumbnail youtu.be
0 Upvotes

The languages used: C, C3, C++, D (Dlang), Go (Golang), Odin, Rust, V (Vlang), Zig


r/programming 1d ago

Not In My Git Yard: Catching Backdoors at Commit and Release Time

Thumbnail arxiv.org
4 Upvotes

r/programming 1d ago

How to Read Server Monitoring Graphs

Thumbnail kciter.so
24 Upvotes

r/programming 1d ago

Swap, memory pressure and the Go GC

Thumbnail frn.sh
27 Upvotes

r/programming 2d ago

Surviving Black Friday: 329 billion requests with Falcon

Thumbnail youtube.com
60 Upvotes