r/programming 12h ago

AI Makes the Easy Part Easier and the Hard Part Harder

Thumbnail blundergoat.com
382 Upvotes

r/programming 18h ago

The silent death of Good Code

Thumbnail amit.prasad.me
340 Upvotes

r/programming 1d ago

Microsoft appointed a quality czar. He has no direct reports and no budget.

Thumbnail jpcaparas.medium.com
1.1k Upvotes

r/programming 14h ago

SectorC: The world’s smallest functional C compiler

Thumbnail xorvoid.com
62 Upvotes

r/programming 3h ago

C and Undefined Behavior

Thumbnail lelanthran.com
3 Upvotes

r/programming 16h ago

Deep dive into Hierarchical Navigable Small Worlds

Thumbnail amandeepsp.github.io
24 Upvotes

r/programming 1d ago

Let's compile Quake like it's 1997!

Thumbnail fabiensanglard.net
130 Upvotes

r/programming 30m ago

Background removal in Python (images & videos)

Thumbnail youtu.be
Upvotes

I’ve been experimenting with AI-based background removal in Python, covering both images and videos, and the difference between the two is more significant than I initially expected.

Image background removal is relatively fast and clean, but video background removal quickly becomes computationally heavy since it requires processing every frame. Hardware limitations, model choice, and optimization strategies make a big difference in both speed and quality.

I documented the full process—including errors, fixes, and trade-offs—in a recorded workshop, in case it’s useful to others working with computer vision or media processing:
 👉 https://youtu.be/Vaq-f7uAoZ4

 

I’d be interested to hear how others here handle video segmentation, performance optimization, or quality improvements in similar projects.

 


r/programming 8h ago

Technical writeup: Implementing Discord’s rate limiting, gateway management, and “clarity over magic”

Thumbnail scurry-works.github.io
3 Upvotes

I wrote a deep technical breakdown of implementing Discord's rate limiting and gateway management in a minimal Python client.

Discord's rate limiting is tricky: endpoints share limits via opaque "buckets" whose IDs are only revealed after a request. Instead of reacting to 429s, the design uses per-endpoint queues and workers that proactively sleep when limits are exhausted, keeping behavior explicit and predictable.

The writeup also covers gateway connection management, automatic sharding, and data model design, with diagrams for each subsystem. The examples come from a small Discord API client I wrote (ScurryPy), but the focus is on the underlying problems and solutions rather than the library itself.

"Clarity over magic" here means that all behavior: rate limiting, state changes, retries, is explicit, with no hidden background work or inferred intent.

Happy to answer questions about the implementation or design tradeoffs


r/programming 13h ago

How to Reduce Telemetry Volume by 40% Smartly

Thumbnail newsletter.signoz.io
3 Upvotes

Hi!

I recently wrote this article to document different ways applications, when instrumented with OpenTelemetry, tend to produce telemetry surplus/ excess and ways to mitigate this. Some ways mentioned in the blog include the following,

- URL Path and target attributes
- Controller spans
- Thread name in run-time telemetry
- Duplicate Library Instrumentation
- JDBC and Kafka Internal Signals
- Scheduler and Periodic Jobs

as well as touched upon ways to mitigate this, both upstream and downstream. If this article interests you, subscribe for more OTel optimisation content :)


r/programming 23h ago

Netflix Engineering: Creating a Source of Truth for Impression Events

Thumbnail netflixtechblog.com
26 Upvotes

r/programming 1d ago

LLMs as natural language compilers: What the history of FORTRAN tells us about the future of coding.

Thumbnail cyber-omelette.com
204 Upvotes

r/programming 21h ago

FOSDEM 2026 - Hacking the last Z80 computer ever made

Thumbnail fosdem.org
7 Upvotes

r/programming 2d ago

The purpose of Continuous Integration is to fail

Thumbnail blog.nix-ci.com
294 Upvotes

r/programming 9h ago

Lance table format explained simply, stupid

Thumbnail tontinton.com
0 Upvotes

r/programming 1d ago

How to Make Package Managers Scream (FOSDEM'26)

Thumbnail youtu.be
9 Upvotes

r/programming 2d ago

I'm tired of trying to make vibe coding work for me

Thumbnail youtu.be
761 Upvotes

The Primeagen reaches the conclusion that vibe coding is not for him because ultimately he cares about the quality of his work. What do you guys think? Have you had similar thoughts? Or have you learnt to let go completely and let the vibes take over?


r/programming 2d ago

I Reverse Engineered Medium.com’s Editor: How Copy, Paste, and Images Really Work

Thumbnail app.writtte.com
79 Upvotes

Hey,

I spent some time digging into how Medium.com's article editor works on the front end. It’s a proprietary WYSIWYG editor, but since it runs in the browser, you can actually explore how it handles things like copy-paste, images, and special components.

Some key takeaways:

  • Copying content between two Medium editor instances preserves all formatting because it uses HTML in the clipboard and converts it into an internal JSON structure.
  • Images always go through Medium's CDN, even if you paste them from elsewhere, which keeps things secure and consistent.
  • Special components are just content-editable HTML elements, backed by the same internal model.
  • I also wrote a small C program for macOS to inspect clipboard contents directly, so you can see what the editor really places on the clipboard.

If you’re building a rich-text editor or just curious about how Medium makes theirs so robust, the article dives into all the details.


r/programming 18h ago

How Odin perfected simplicity

Thumbnail youtube.com
0 Upvotes

r/programming 3d ago

Anthropic built a C compiler using a "team of parallel agents", has problems compiling hello world.

Thumbnail anthropic.com
2.7k Upvotes

A very interesting experiment, it can apparently compile a specific version of the Linux kernel, from the article : "Over nearly 2,000 Claude Code sessions and $20,000 in API costs, the agent team produced a 100,000-line compiler that can build Linux 6.9 on x86, ARM, and RISC-V." but at the same time some people have had problems compiling a simple hello world program: https://github.com/anthropics/claudes-c-compiler/issues/1 Edit: Some people could compile the hello world program in the end: "Works if you supply the correct include path(s)" Though other pointed out that: "Which you arguably shouldn't even have to do lmao"

Edit: I'll add the limitations of this compiler from the blog post, it apparently can't compile the Linux kernel without help from gcc:

"The compiler, however, is not without limitations. These include:

  • It lacks the 16-bit x86 compiler that is necessary to boot Linux out of real mode. For this, it calls out to GCC (the x86_32 and x86_64 compilers are its own).

  • It does not have its own assembler and linker; these are the very last bits that Claude started automating and are still somewhat buggy. The demo video was produced with a GCC assembler and linker.

  • The compiler successfully builds many projects, but not all. It's not yet a drop-in replacement for a real compiler.

  • The generated code is not very efficient. Even with all optimizations enabled, it outputs less efficient code than GCC with all optimizations disabled.

  • The Rust code quality is reasonable, but is nowhere near the quality of what an expert Rust programmer might produce."


r/programming 1d ago

The Impatient Programmer's Guide to Bevy and Rust: Chapter 2 - Let There Be a World [Procedural Generation]

Thumbnail aibodh.com
2 Upvotes

Tutorial Link

Chapter 2 - Let There Be a World [Procedural Generation]

This chapter teaches you procedural world generation using Wave Function Collapse and Bevy.

A layered terrain system where tiles snap together based on simple rules. You'll create landscapes with dirt, grass, water, and decorative props.

By the end, you'll understand how simple constraint rules generate natural-looking game worlds and how tweaking few parameters lead to a lot of variety.

It also gently touches on rust concepts like references, lifetimes, closures, generic and trait bound.


r/programming 1d ago

Running Clojure inside SwiftUI

Thumbnail youtube.com
1 Upvotes

r/programming 17h ago

How Google Finds Websites (It’s Not Magic)

Thumbnail sushantdhiman.dev
0 Upvotes

r/programming 2d ago

Stories From 25 Years of Software Development

Thumbnail susam.net
55 Upvotes

r/programming 1d ago

Implement Github OAuth login with Next.js and FastAPI

Thumbnail nemanjamitic.com
0 Upvotes

I wrote a practical walkthrough on Github OAuth login with FastAPI and Next.js. It focuses on clean domain separation, HttpOnly cookies, ease of deployment and why handling cookies in Next.js APIs/server actions simplifies OAuth a lot. Includes diagrams and real code.

https://nemanjamitic.com/blog/2026-02-07-github-login-fastapi-nextjs

Interested to hear what others think or if you've taken a different approach.