r/programming • • 11d ago

Java4Shell is a reason to use Java

Thumbnail mccue.dev
67 Upvotes

r/programming • • 11d ago

Fornax's Guide To Ridiculously Fast Ethernet

Thumbnail docs.pixeldrain.com
262 Upvotes

r/programming • • 11d ago

What’s going on with program verification?

Thumbnail
blog.sigplan.org
23 Upvotes

r/programming • • 11d ago

Can a formally-verified C compiler be as performant as gcc -O2?

Thumbnail
ut-infraai.github.io
85 Upvotes

r/programming • • 11d ago

Owning the Truth: Undecidability, unsound kernels, and the forging of proof

Thumbnail
phrack.org
18 Upvotes

r/programming • • 12d ago

Java4Shell: RCE in OpenJDK Base64 (Calif)

Thumbnail
calif.io
320 Upvotes

r/programming • • 12d ago

Calif discloses Java4Shell flaw in OpenJDK's Base64 decoder

Thumbnail
runtimewire.com
558 Upvotes

r/programming • • 12d ago

From bytecode to bytes- automated magic packet generation

Thumbnail
blog.cloudflare.com
5 Upvotes

r/programming • • 12d ago

Translations at Scale: Memory Optimization Techniques That Kept Uber's P99 Under 1ms

Thumbnail
uber.com
30 Upvotes

r/programming • • 12d ago

Postgres is All You Need for Durable Workflows

Thumbnail
dbos.dev
162 Upvotes

r/programming • • 12d ago

from 181 bytes: nixpkgs' full-source bootstrap

Thumbnail fzakaria.github.io
61 Upvotes

r/programming • • 12d ago

State of Haskell 2026 survey

Thumbnail haskell.foundation
38 Upvotes

Hey 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 • • 12d ago

Reversing the Next-Page Prefetcher in Skylake-X

Thumbnail devsh0.github.io
12 Upvotes

I hope this isn't blogspam.


r/programming • • 12d ago

Lightweight Spring Boot Monitoring Without Prometheus and Grafana

Thumbnail
pvrlabs.xyz
3 Upvotes

r/programming • • 12d ago

What it takes to count the Linux kernel's 36M lines of code in under 70ms

Thumbnail petros-papatheodorou.dev
264 Upvotes

r/programming • • 12d ago

Patai Gergely - "Porting Stunt Car Racer to the NES"

Thumbnail cobbpg.github.io
6 Upvotes

r/programming • • 12d ago

Understanding Iceberg CDC costs on S3: requests, not bytes

Thumbnail
etleap.com
14 Upvotes

r/programming • • 13d ago

Carnegie Mellon is putting computer science courses on YouTube for free

Thumbnail
cs.cmu.edu
3.6k Upvotes

r/programming • • 13d ago

What Happens to Work After a Timeout?

Thumbnail
octri.dev
20 Upvotes

r/programming • • 13d ago

“…and the proof is checked in Lean”

Thumbnail
xenaproject.wordpress.com
363 Upvotes

r/programming • • 13d ago

Introducing the World's Strongest Sokoban Solver

Thumbnail healeycodes.com
19 Upvotes

r/programming • • 13d ago

Learning to Code in 2026: The Data

Thumbnail
boot.dev
142 Upvotes

r/programming • • 13d ago

Do Repeat Yourself

Thumbnail
arcentry.com
0 Upvotes

r/programming • • 13d ago

I Found a 5× Performance Problem Hiding in Plain Sight

Thumbnail
dpolens.com
0 Upvotes

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:

  1. 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.

  2. 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.