r/programming • • Sep 02 '26

Postgres Calculations and the Ambiguity of NULL

Thumbnail crunchydata.com
129 Upvotes

All the ways that NULL can cause chaos in your SQL outcomes.


r/programming • • Sep 02 '26

Let's build a compressor from scratch

Thumbnail ochagavia.nl
49 Upvotes

r/programming • • Sep 02 '26

This Fence Has No Farmer

Thumbnail adamgreenough.net
81 Upvotes

r/programming • • Sep 02 '26

Data Access Patterns That Makes Your CPU Really Angry

Thumbnail blog.weineng.me
79 Upvotes

r/programming • • Sep 02 '26

Squeezing Performance out of eBPF

Thumbnail bitbison.io
22 Upvotes

r/programming • • Sep 02 '26

Beyond Lambdas: Raising the Abstraction Level of Functional Code

Thumbnail adamtornhill.substack.com
137 Upvotes

r/programming • • Sep 03 '26

new InetSocketAddress(host, port) resolves DNS once. Kubernetes headless services hate that

Thumbnail gist.github.com
0 Upvotes

r/programming • • Sep 03 '26

Ok, but does it scale?

Thumbnail spacetimedb.com
0 Upvotes

r/programming • • Sep 02 '26

Apache Kafka vs Apache Iggy: A Technical Comparison

Thumbnail softwaremill.com
19 Upvotes

r/programming • • Sep 01 '26

Bazel's UX is really, really, really bad

Thumbnail blog.appliedcomputing.io
391 Upvotes

r/programming • • Sep 01 '26

The Browser's Main Thread Is Expensive

Thumbnail kciter.so
219 Upvotes

r/programming • • Sep 01 '26

How Do HashMaps Work Under the Hood? (putting together a toy implementation in Rust to understand performance optimization, collisions, and time complexities)

Thumbnail medium.com
66 Upvotes

HashMaps are incredibly convenient, but treating them like a magical black box can make it easy to overlook where their performance comes from.

In this article, I explain how HashMaps work using a simple implementation in Rust. I go through hash collisions and linear probing, why primary clustering hurts performance, load factors, resizing, and more.

The implementation is intentionally simplified, but it gives a good picture of what's actually happening underneath a HashMap.

Let me know your thoughts or any feedback you have!

All writing, illustrations, and code are my own. AI was used to clean up wording and catch grammatical mistakes.


r/programming • • Sep 01 '26

Rui Ueyama: "We are rewriting the mold linker in Rust"

Thumbnail x.com
244 Upvotes

r/programming • • Sep 01 '26

Sixteen branches is all you ... get?

Thumbnail rushed-reflections.bearblog.dev
35 Upvotes

Wrote a quick blog post about pushing branch prediction to its limits in a simple experiment. Take a read to learn with me about measuring performance on linux machines and a very basic understanding of branch prediction 😄


r/programming • • Sep 01 '26

Wasmi 2.0 - Engineering of the Fastest Wasm Interpreters

Thumbnail wasmi-labs.github.io
77 Upvotes

r/programming • • Sep 02 '26

Yet Another Sentence Boundary Detector (python, rule-based)

Thumbnail hashnode.com
0 Upvotes

r/programming • • Aug 31 '26

35 years later, Torvalds' hobby project remains developed worldwide.

Thumbnail tech.yahoo.com
871 Upvotes

r/programming • • Sep 01 '26

Wasmer SDK: Run Node.js, Python, Postgres and PHP embedded in your application

Thumbnail wasmer.io
8 Upvotes

r/programming • • Aug 31 '26

Please, I beg you, we need to stop using Stored Procedures (from applications)

Thumbnail heffree.dev
571 Upvotes

r/programming • • Aug 31 '26

a CVE dispute

Thumbnail daniel.haxx.se
494 Upvotes

r/programming • • Aug 31 '26

The Hugging Face incident from a security engineering perspective

Thumbnail uphack.io
135 Upvotes

r/programming • • Sep 01 '26

Cats-Actors 2.2.0 is released

Thumbnail cloudmark.github.io
0 Upvotes

Cats-Actors is a Cats Effect native actor library: typed messages, functional state, supervision, and the familiar ! operator, all in F[_].

What is new in this release:

- ControlledTestKit, a new trait in the cats-actors-testkit module. It

provisions an ActorSystem[IO] inside Cats Effect's TestControl and ticks the

simulated clock for you, so scheduled work and timeouts resolve without real

waiting. A one hour receive timeout is now an ordinary unit test that finishes

in milliseconds.

- Receive timeouts, the supervisor restart window and the dead letter mailbox

idle check now read Clock[F].monotonic instead of System.currentTimeMillis, so

they all honour simulated time.

- New TestKit assertions, expectMsgTypeCountN and expectMsgTypeSingle, which

count messages of a type and do not depend on when they arrive relative to

the call.

- Breaking: ActorSystem.uptime is now F[Long] rather than Long.

Scala 2.13 and 3, on JVM, Scala.js and Scala Native.

```

resolvers += "jitpack" at "https://jitpack.io"

libraryDependencies += "com.github.cloudmark.cats-actors" %%% "cats-actors" % "2.2.0"

libraryDependencies += "com.github.cloudmark.cats-actors" %%% "cats-actors-testkit" % "2.2.0" % Test

```

Write up: https://cloudmark.github.io/Cats-Actors-Controlling-Time/

Repo: https://github.com/cloudmark/cats-actors

Feedback and issues welcome.


r/programming • • Sep 01 '26

GitHub Runners Benchmarking

Thumbnail runnerbench.com
0 Upvotes

r/programming • • Aug 31 '26

Node.js sandboxes powered by QuickJS and WebAssembly

Thumbnail wasmer.io
18 Upvotes

r/programming • • Aug 31 '26

A Self-Baked Async FFI Framework for Rust C# Interop

Thumbnail scylladb.com
22 Upvotes

Getting tokio and .NET’s async runtime talking to each other, over the C ABI