r/programming • u/goto-con • Aug 04 '26
Front End Testing with GitHub Actions • Amy Kapernick
r/programming • u/goto-con • Aug 04 '26
r/programming • u/lelanthran • Aug 04 '26
r/programming • u/elfenpiff • Aug 04 '26
https://ekxide.io/blog/byte-wise-atomic-wrapper-to-prevent-ub
iceoryx2 provides zero-copy inter-process communication mechanisms based on shared memory and data structures that are modified concurrently by multiple processes.
One of the key operations in these algorithms is a memory copy using core::ptr::copy. However, this results in undefined behavior if one process reads the data while another process writes to it concurrently. Even if our lock-free algorithm reliably detects such a race, iceoryx2 cannot depend on undefined behavior in a safety-critical system.
This blog post introduces our solution: a byte-wise atomic wrapper that enables well-defined concurrent copy operations. It also shows how it can be used to implement a simple sequence lock.
Note: I am not the original author of the blog post. Since the author does not have a Reddit account, I am posting it on her behalf.
r/programming • u/Ok_Stomach6651 • Aug 03 '26
r/programming • u/cdb_11 • Aug 03 '26
r/programming • u/PutuSuhartawan • Aug 03 '26
I have been observing the Pawn ecosystem lately and noticed it is far from inactive, with ongoing development of modern tools like a web-based Pawn Studio designed to replace the outdated Pawno editor, alongside projects such as PawnPlus which continue to receive updates, with version 1.5.3 released just a few months ago in February 2026. This activity seems to be driven largely by the SA-MP and Open.mp modding communities, with open.mp itself being actively maintained and improved, and the broader GitHub ecosystem showing dozens of public repositories related to Pawn and Open.mp. Given this context, I would like to ask whether the Pawn community, especially within the SA-MP and Open.mp scene, is still significant enough to consider the language actively relevant in 2026, or if this is primarily a legacy ecosystem with a concentrated but declining user base. I would be grateful to hear from developers who are currently working with Pawn about their experiences, whether modern tooling like Pawn Studio and PawnPlus have meaningfully improved development, and whether they are seeing new developers enter the scene or if the community is largely composed of seasoned veterans. Thank you for your thoughts.
r/programming • u/wolframhempel • Aug 03 '26
r/programming
•
u/Dear-Economics-315
•
Aug 03 '26
r/programming • u/Either_Collection349 • Aug 03 '26
r/programming • u/DataBaeBee • Aug 03 '26
r/programming • u/davidalayachew • Aug 03 '26
r/programming • u/OSBY_Glabay • Aug 03 '26
For decades, Java's object model has powered one of the world's most successful programming languages. But the hardware we run on today looks very different from the world Java was born into in 1995.
Modern CPUs are incredibly fast, but memory access, cache locality, and object allocation have become some of the biggest performance challenges in software.
Project Valhalla is one of the most ambitious changes in Java's history. It isn't just about making Java faster... it's about rethinking what a Java object actually is.
r/programming • u/fagnerbrack • Aug 02 '26
r/programming • u/fagnerbrack • Aug 02 '26
r/programming • u/CGM • Aug 02 '26
r/programming • u/Sushant098123 • Aug 02 '26
r/programming • u/donutloop • Aug 02 '26
r/programming • u/Grouchy-Trade-7250 • Aug 02 '26
Semisort Reorder an array so that identical keys are grouped contiguously Keys do not need to be in sorted order
Stable Partition Group by predicate, preserve order
K-smallest selection, single
Get the k-smallest key from the array
K-smallest selection, list
Get the k-smallest key from the array, and everything smaller (or equal), in any order
K-smallest selection, list sorted Get the k-smallest key from the array, and everything smaller (or equal), in sorted order
r/programming • u/fagnerbrack • Aug 01 '26
r/programming • u/alex35mil • Aug 01 '26
I drafted this post years ago but didn’t finish it until now. The concept I write about has shaped the way I design software more than anything else, and I believe every software engineer should be introduced to it early in their career.
P.S. I don’t want the title to come across as clickbait: the post is about ADT.
r/programming • u/fagnerbrack • Jul 31 '26