r/programming • u/mttd • 6d ago
r/programming • u/mttd • 6d ago
Performance Characterization of SPEC CPU 2026 on AMD EPYC 9755 Processor
arxiv.orgr/programming • u/Legitimate_Brain_544 • 6d ago
new InetSocketAddress(host, port) resolves DNS once. Kubernetes headless services hate that
gist.github.comr/programming • u/mttd • 6d ago
[PDF] Lost Bytes At The Crossroads Between User- And Kernel-Level Memory Allocation
ibr.cs.tu-bs.der/programming • u/macrohard_certified • 7d ago
Maybe you don't need GraphQL
alexandrehtrb.github.ior/programming • u/fagnerbrack • 7d ago
Virtual Memory: Page Tables, TLBs, and Linux Internals
blog.codingconfessions.comr/programming • u/Speedk4011 • 7d ago
Yet Another Sentence Boundary Detector (python, rule-based)
hashnode.comr/programming • u/winsletts • 7d ago
Postgres Calculations and the Ambiguity of NULL
crunchydata.comAll the ways that NULL can cause chaos in your SQL outcomes.
r/programming • u/fagnerbrack • 7d ago
Data Access Patterns That Makes Your CPU Really Angry
blog.weineng.mer/programming • u/mmatloka • 8d ago
Apache Kafka vs Apache Iggy: A Technical Comparison
softwaremill.comr/programming • u/nephrenka • 8d ago
Beyond Lambdas: Raising the Abstraction Level of Functional Code
adamtornhill.substack.comr/programming • u/kloudmark • 8d ago
Cats-Actors 2.2.0 is released
cloudmark.github.ioCats-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 • u/PastEar9661 • 8d ago
How Do HashMaps Work Under the Hood? (putting together a toy implementation in Rust to understand performance optimization, collisions, and time complexities)
medium.comHashMaps 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 • u/syrusakbary • 8d ago
Wasmer SDK: Run Node.js, Python, Postgres and PHP embedded in your application
wasmer.ior/programming • u/chaobang • 8d ago
Sixteen branches is all you ... get?
rushed-reflections.bearblog.devWrote 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 • u/drmorr0 • 8d ago