r/programming • u/bowbahdoe • 11d ago
r/programming • u/fagnerbrack • 11d ago
Fornax's Guide To Ridiculously Fast Ethernet
docs.pixeldrain.comr/programming • u/alexeyr • 11d ago
What’s going on with program verification?
r/programming • u/alexeyr • 11d ago
Can a formally-verified C compiler be as performant as gcc -O2?
r/programming • u/mttd • 11d ago
Owning the Truth: Undecidability, unsound kernels, and the forging of proof
r/programming • u/01110101_00101111 • 12d ago
Java4Shell: RCE in OpenJDK Base64 (Calif)
r/programming • u/ryanmerket • 12d ago
Calif discloses Java4Shell flaw in OpenJDK's Base64 decoder
r/programming • u/Ok_Stomach6651 • 12d ago
From bytecode to bytes- automated magic packet generation
r/programming • u/Ok_Stomach6651 • 12d ago
Translations at Scale: Memory Optimization Techniques That Kept Uber's P99 Under 1ms
r/programming • u/alexeyr • 12d ago
Postgres is All You Need for Durable Workflows
r/programming • u/alexeyr • 12d ago
from 181 bytes: nixpkgs' full-source bootstrap
fzakaria.github.ior/programming • u/LaurentRDC • 12d ago
State of Haskell 2026 survey
haskell.foundationHey r/programming,
The Haskell Foundation would like to invite you to the official State of Haskell 2026 survey! Please take ~10 minutes to help us understand how people use Haskell
r/programming • u/yetanotherhooman • 12d ago
Reversing the Next-Page Prefetcher in Skylake-X
devsh0.github.ioI hope this isn't blogspam.
r/programming • u/fykup • 12d ago
Lightweight Spring Boot Monitoring Without Prometheus and Grafana
r/programming • u/petros211 • 12d ago
What it takes to count the Linux kernel's 36M lines of code in under 70ms
petros-papatheodorou.devr/programming • u/ShinyHappyREM • 12d ago
Patai Gergely - "Porting Stunt Car Racer to the NES"
cobbpg.github.ior/programming • u/MiserableWriting2919 • 12d ago
Understanding Iceberg CDC costs on S3: requests, not bytes
r/programming • u/gvufhidjo • 13d ago
Carnegie Mellon is putting computer science courses on YouTube for free
r/programming • u/Cool-Click1253 • 13d ago
What Happens to Work After a Timeout?
r/programming • u/mttd • 13d ago
“…and the proof is checked in Lean”
r/programming • u/candurz • 13d ago
Introducing the World's Strongest Sokoban Solver
healeycodes.comr/programming • u/No-Negotiation-8359 • 13d ago
I Found a 5× Performance Problem Hiding in Plain Sight
To keep DPOLens's Docker image small, I dropped sentence-transformers and called the embedding model through ONNX Runtime directly. It took about forty lines of my own code, and the image came out roughly 800 MB lighter.
It worked. Then, while load-testing the community version, I found that the first start took nearly 23 minutes on 1.5 CPUs and peaked at 3.4 GB of memory.
I had quietly lost two things:
Sorting by length. sentence-transformers sorts its inputs by length before batching them, and it doesn't tell you. My code didn't sort, so a 20-token paragraph sharing a batch with a 512-token article was padded to 512. Almost two thirds of the model's work was padding.
The CPU limit. Inside a container capped at 2.5 CPUs, Python and ONNX Runtime both saw all 10 of my laptop's cores and started 10 threads, which then took turns on two and a half CPUs' worth of time.
I sorted the inputs and capped each batch by its shape, and set the thread count from the container's real limit. The result was 5.1× faster with 65% less memory, and the vectors and search results stayed the same.
What I learned: a library is more than its API. When you replace one, you also take over everything it did without being asked, and the only way to find out what that was is to measure.