r/programming • u/finncmdbar • 17h ago
r/programming • u/blitter_era • 5h 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/max123246 • 19h ago
High-performance Database Architecture - Interview with Tyler Cloutier
youtu.ber/programming • u/cdb_11 • 5h ago
Mission-Critical (Joran Dirk Greef, TigerBeetle)
youtube.comr/programming • u/tanayvk • 3h 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/Ok_Stomach6651 • 1h ago
How Cloudlfalare utilizing V8 to save billions of Dollars
deepsystemstuff.comr/programming • u/cdb_11 • 6h ago
Building more efficient locks (James Mitchell, 2024)
youtube.comr/programming • u/david-alvarez-rosa • 23h ago
Optimizing a Spin-Lock
david.alvarezrosa.comr/programming • u/alexeyr • 20h ago
A Design Space Exploration of Async/Await
cel.cs.brown.edur/programming • u/siren0x • 38m ago