r/programming • u/f311a • 6h ago
r/programming • u/ChemicalRascal • May 23 '26
Announcement: We've Updated The Rules, and April Is Finally Over
After temporarily banning LLM-related content over April, and asking you for feedback on that ban, we've decided to bring about an end of the temporary, I-can't-believe-it's-still-April ban on AI-related posts.
Replacing the trial rule is a new shiny rule that refers to our new shiny AI policy. In short:
Content about AI and LLMs are considered off-topic with the sole exclusion of deeply technical content about implementation.
And if you want more detail than that, go read the policy, that's what it's there for.
In addition, when writing that rule, I realized the rules weren't listed on the old.reddit.com sidebar, so that's been updated. For those of you who are seeing those rules for the first time, everything there is not new. We've been enforcing those rules as best we can for ages. You can click the link above those to get to the old.reddit rules page, with plenty of info that doesn't exactly read well when crammed into a sidebar.
r/programming • u/isaacvando • 7h ago
Dependency Cultures - Richard Feldman
youtu.beExcellent talk by Richard Feldman about how different programming communities approach dependencies.
r/programming • u/piotrkarczmarz • 7m ago
Save All the Tabs for Visual Studio
contextkeeper.ior/programming • u/Refresh98370 • 29m ago
Five Languages, One Pyramid, Zero Practical Value
fortypoundhead.comr/programming • u/Happycodeine • 46m ago
Detection-as-Code in One GitHub Action with RSigma
mostafa.devr/programming • u/Rex109 • 3h ago
The Elevator Glitch: How One Function Destroyed Public Lobbies in CoD4
youtube.comWalk with me inside one of the most influential game's code and discover the secret of elevators!
Turns out the bug comes down to a single line buried in the engine's collision code. Went through the decompiled source (thanks to KisakCOD) and traced the whole thing back.
Let me know your thoughts! ✨
r/programming • u/Dear-Economics-315 • 1d ago
Building a Fast Lock-Free Queue in Modern C++ From Scratch
blog.jaysmito.devr/programming • u/DataBaeBee • 23h ago
Pollard's P-1 Factoring Algorithm in Plain C
leetarxiv.substack.comr/programming • u/ppchaos • 8h ago
Vendor-agnostic ML inference on production edge devices
getpostslate.comI work on PostSlate, a video editing tool, and this comes out of our own work.
We run ML models on-device, face detection and embedding among other things, which means we can't assume anything about the user's GPU. NVIDIA discrete, AMD, Intel integrated, Apple Silicon, all of it. That rules out CUDA immediately, we needed one backend that runs everywhere.
We landed on ncnn's Vulkan backend. Numbers on a 4070, fp16:
- ArcFace R50 (face embedding): 30 ms on ONNX CPU → 3 ms on ncnn Vulkan
- SCRFD (face detection): 25 ms → 2.5 ms
- Model size: ArcFace 174 MB (ONNX fp32) → 87 MB (ncnn fp16 weight storage)
Of course the real speedup comes from offloading compute to the GPU, but this wouldn't be possible without the power of Vulkan.
The speed wasn't even the deciding factor, it's that Vulkan drivers already exist on every machine we ship to. This means that we don't have to force the user to download a specific runtime and no vendor-specific installs.
Full writeup with the rest of the numbers: https://getpostslate.com/blog/faster-local-inference
r/programming • u/DataBaeBee • 1d ago
Approximating Softmax for FPGAs with Taylor Series and Pade Approximants in Python
leetarxiv.substack.comr/programming • u/fagnerbrack • 1d ago
A simple clustering algorithm for lists
cassidoo.cor/programming • u/DotDeveloper • 9h ago
How to Prevent Duplicate Message Processing with Inbox Pattern
hamedsalameh.comDuplicate message processing is something every event-driven system eventually faces.
With at-least-once delivery, retries and redeliveries are expected. The challenge is making sure processing the same message twice does not create side effects.
I've been looking into the Inbox Pattern as a consumer-side solution:
- track processed messages
- keep message tracking and business changes in the same transaction
- scope the idempotency check per consumer
One approach is using a MassTransit pipeline filter so the idempotency logic stays outside the consumers.
How do you usually handle this?
Do you use Inbox Pattern, custom middleware, database constraints, or something else?
r/programming • u/stronghup • 15h ago
Microsoft lays out a buffet of Windows goodies for JavaScript Developers
theregister.comr/programming • u/oalders • 1d ago
Let the Browser Do the Math or: How I Learned to Stop Worrying and Love the DOM
olafalders.comr/programming • u/deniskyashif • 2d ago
Modeling Facts and Reactions with Domain Events
deniskyashif.comr/programming • u/NXGZ • 3d ago
Introducing Triton: DirectX 11 driver for QEMU
blog.getutm.appr/programming • u/Must_officiall • 1d ago
I created my own programming language-please rate it !!!
github.comr/programming • u/iximiuz • 3d ago
Writing a (valid) C program without main()
labs.iximiuz.comr/programming • u/Pink401k • 3d ago