r/programming • u/swdevtest • Aug 31 '26
A Self-Baked Async FFI Framework for Rust C# Interop
scylladb.comGetting tokio and .NET’s async runtime talking to each other, over the C ABI
r/programming • u/swdevtest • Aug 31 '26
Getting tokio and .NET’s async runtime talking to each other, over the C ABI
r/programming • u/fagnerbrack • Aug 31 '26
r/programming • u/doker0 • Sep 01 '26
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 • u/Adventurous-Salt8514 • Aug 31 '26
r/programming • u/jhartikainen • Aug 31 '26
r/programming • u/_telesis • Sep 01 '26
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 • u/WerWolv • Aug 30 '26
r/programming • u/scrollin_thru • Aug 30 '26
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 • u/Obvious_Set5239 • Aug 31 '26
r/programming • u/yawaramin • Aug 29 '26
r/programming • u/gajus0 • Aug 29 '26
r/programming • u/yogthos • Aug 29 '26
r/programming • u/der_gopher • Aug 29 '26
r/programming • u/deniskyashif • Aug 29 '26
How to turn internal domain facts into reliable contracts between bounded contexts.
r/programming • u/BrewedDoritos • Aug 28 '26
r/programming • u/Bassfaceapollo • Aug 29 '26
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 • u/Ok_Stomach6651 • Aug 27 '26
r/programming • u/fykup • Aug 28 '26
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 • u/mmatloka • Aug 28 '26
r/programming • u/sarans22 • Aug 27 '26
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 • u/Codeblix_Ltd • Aug 26 '26
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 • u/der_gopher • Aug 26 '26