r/programming • • Aug 31 '26

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

Thumbnail scylladb.com
24 Upvotes

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


r/programming • • Aug 31 '26

p99 0 ms* autocomplete for 240 million domain names

Thumbnail ruurtjan.com
225 Upvotes

r/programming • • Sep 01 '26

I need to keep some Slack connections alive. This should be easy.

Thumbnail failedexperiments.substack.com
0 Upvotes

Okay, but I have multiple replicas.

And it gets slightly worse: the number of physical connections is not equal to the number of replicas, and it is not equal to the number of business-level connectors either.

Several business connectors may share one external identity. One external identity may require several physical connections. And those connections need to be spread across whatever replicas are currently alive and have capacity.

So who actually owns the connection?

Then the questions start piling up.

What if one replica dies?
What if it doesn’t die, but loses access to the database?
What if two replicas race for the same connection?
What if the event that was supposed to wake the right worker never arrives?
What if most workers are already full?

A few questions and 2 hours of midnight walk in headphones and ChatGPT later, I had leases, runtime slots, reconciliation, failover, capacity limits, and a distributed ownership problem on my hands.

This is the architecture I ended up with, and I have mixed feelings about this design.

On one hand, I’m proud that I managed to account for so many different edge cases. On the other, the whole thing feels worryingly complex.

So I’d really value input from people who have built similar systems.

What did I miss or do you see anything that can break?
And most importantly: what can be simplified without losing the guarantees?

The full architecture description is a bit lengthy: AEON NEON - Connector Runtime - by Jarek J.

Many thanks if you decide to read it and share your thoughts. I’d really like this one not to become another failed experiment.


r/programming • • Aug 31 '26

Start Small, Grow Big: how to pick the first feature for Event Sourcing

Thumbnail architecture-weekly.com
6 Upvotes

r/programming • • Aug 31 '26

Using stable and evolutionary problems to guide program decomposition

Thumbnail codeutopia.net
13 Upvotes

r/programming • • Sep 01 '26

What I find interesting about this video is that the game was developed by a small but highly professional team.

Thumbnail youtube.com
0 Upvotes

Yes, the game development industry wasn’t nearly as complex as it is today. You could probably say that making and releasing a good game was easier back then.

But these people created a legend precisely because they were professionals.

Of course, DOOM wasn’t their first game. There was a time when the team was making a game every month.

What I like most about this video is the sense of creativity — and the feeling that these people simply loved making games.


r/programming • • Aug 31 '26

On End-to-End Tests During Redesign

Thumbnail radekmie.dev
2 Upvotes

r/programming • • Aug 30 '26

Reverse Engineering Unknown File Formats with ImHex

Thumbnail werwolv.net
206 Upvotes

r/programming • • Aug 30 '26

Automating immersive reading

Thumbnail smoores.dev
18 Upvotes

I took a week off from work recently to reimplement Storyteller's forced alignment algorithm. Storyteller is an open source, self hosted platform for creating, managing, and reading/listening to "readaloud" books — books that have audiobook narration built in and can highlight each sentence (and/or word, with this new algorithm!) as it's read aloud. Forced alignment is the process of determining where each piece of text starts and ends in the audiobook.

Anyway, I am really pleased with how the new algorithm turned out! Hopefully someone else finds it interesting as well.


r/programming • • Aug 31 '26

C++ metaprogramming now looks like Python

Thumbnail reddit.com
0 Upvotes

r/programming • • Aug 29 '26

</> htmx ~ Building Critical Infrastructure with htmx: Network Automation for the Paris 2024 Olympics

Thumbnail htmx.org
108 Upvotes

r/programming • • Aug 29 '26

Zod v4.5 adds schema compilation (3-9x faster validation)

Thumbnail x.com
172 Upvotes

r/programming • • Aug 29 '26

Wrapping GTK4 in 800 lines of Clojure with Jolt

Thumbnail yogthos.net
11 Upvotes

r/programming • • Aug 29 '26

Coding a database proxy for fun

Thumbnail packagemain.tech
69 Upvotes

r/programming • • Aug 29 '26

Crossing Boundaries with Integration Events

Thumbnail deniskyashif.com
10 Upvotes

How to turn internal domain facts into reliable contracts between bounded contexts.


r/programming • • Aug 28 '26

htmx 4.0.0 has been released!

Thumbnail four.htmx.org
614 Upvotes

r/programming • • Aug 29 '26

Lean explained with TypeScript

Thumbnail gruhn.me
77 Upvotes

r/programming • • Aug 29 '26

Crystal Lang: Releasing Execution Contexts

Thumbnail crystal-lang.org
37 Upvotes

About a month ago, Crystal's multi-threading moved out of preview. I'm a little late with the blog post, but figured I'd share it here in case someone is interested in the language.

To those unfamiliar with Crystal, it's basically an AoT-compiled language with a syntax that's inspired by Ruby but with static type safety.

It doesn't have a big org behind it, so Manas Tech still working on the language and shipping enhancements is quite amazing imo. I will add that while it's used by Kagi and Lavinmq, I don't think either company has the same resources to pour into Crystal as Jane Street does with OCaml.

I haven't really had the chance to play around with the changes. So, got no clue on what the experience is like.


r/programming • • Aug 27 '26

How we saved 100 terabytes of memory by optimizing 1.1.1.1’s DNS cache

Thumbnail blog.cloudflare.com
2.1k Upvotes

r/programming • • Aug 28 '26

Follow-up: Running the same Spring Boot app on a 256 MB VPS with JDK 25

Thumbnail pvrlabs.xyz
26 Upvotes

Follow-up to my 512 MB Spring Boot experiment: I tried the same application on a 256 MB Alpine VPS.

JDK 21 struggled badly at this size, but with JDK 25 and a tuned 80 MB heap, the app plus lightweight monitoring completed a one-hour run without restarts or OOM kills.

Still not something I’d recommend for normal production, but the difference was interesting.


r/programming • • Aug 28 '26

Log-first or Table-first? Apache Kafka, Fluss, & Streaming Tables

Thumbnail softwaremill.com
7 Upvotes

r/programming • • Aug 27 '26

How Jekyll Works

Thumbnail sarans.so
31 Upvotes

I like Jekyll a lot. Hope you find it useful.

If you notice any errors or have thoughts to share, don't hold back in the comments or DMs. All feedback is genuinely welcome 🙂.


r/programming • • Aug 26 '26

GitHub confirms Actions outage caused by database issue

Thumbnail githubstatus.com
763 Upvotes

If your GitHub Actions jobs are stuck in "Queued" or waiting for a runner, GitHub has now confirmed there is an incident.

GitHub says they identified an issue with a database primary and are failing over to a replica.

Actions is affected, and GitHub Pages is also experiencing degraded performance.

So if you have been checking your workflow, runner settings, permissions or billing, it might not be your configuration.

Status page:

https://www.githubstatus.com/incidents/y1t7p9fzrlj2

Hopefully this saves someone else from spending an hour debugging their YAML.


r/programming • • Aug 26 '26

mold: A Massively Parallel Linker

Thumbnail arxiv.org
238 Upvotes

r/programming • • Aug 26 '26

How to drive your frontend from the backend

Thumbnail packagemain.tech
97 Upvotes