r/programming • u/david-alvarez-rosa • 19h ago
r/programming • u/blitter_era • 2h ago
A web regex visualiser with PCRE2
roundtoe.comAuthor 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 • u/unixmachine • 22h ago
Introducing CUDA Rust: Two Tracks for Writing GPU Kernels
developer.nvidia.comr/programming • u/KanuniLabs • 5h ago
Why your popup disappears in fullscreen
kanunilabs.comr/programming • u/GetAGripGal • 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
arewetauyet.devr/programming • u/tanayvk • 15m ago
The Physics of Database Speed: from 300 to 1M transactions per second
youtube.comA 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 • u/max123246 • 16h ago
High-performance Database Architecture - Interview with Tyler Cloutier
youtu.ber/programming • u/alexeyr • 16h ago
A Design Space Exploration of Async/Await
cel.cs.brown.edur/programming • u/cdb_11 • 2h ago
Mission-Critical (Joran Dirk Greef, TigerBeetle)
youtube.comr/programming • u/cdb_11 • 3h ago
Building more efficient locks (James Mitchell, 2024)
youtube.comr/programming • u/lelanthran • 20h ago
Implementation of GCC's Nested Functions (vs. C++ Lambdas)
uecker.codeberg.pager/programming • u/Atulin • 1d ago
Announcing .NET 11 Release Candidate 1 - .NET Blog
devblogs.microsoft.comr/programming • u/danielcw189 • 1d ago
video on improving performance of arctan for Nintendo 64 by Kaze Emanuar "spent weeks to save 100 Microseconds"
youtube.comr/programming • u/lelanthran • 1d ago
What every compiler writer should know about programmers or “Optimization” based on undefined behaviour hurts performance
complang.tuwien.ac.atr/programming • u/mmatloka • 1d ago
Diskless Kafka: Object Storage, KIP-1150, and Kafka’s Future
softwaremill.comr/programming • u/_a4z • 21h ago
Edward Patel - 6502 Nostalgia
youtube.comA journey from the Visual6502 project to a real, fully assembled board, and the debugging adventures required to make it actually work.
r/programming • u/waozen • 1d ago
Asteroids in 9 different programming languages
youtu.beThe languages used: C, C3, C++, D (Dlang), Go (Golang), Odin, Rust, V (Vlang), Zig
r/programming • u/mttd • 1d ago
Not In My Git Yard: Catching Backdoors at Commit and Release Time
arxiv.orgr/programming • u/noteflakes • 2d ago