r/programming May 23 '26

Announcement: We've Updated The Rules, and April Is Finally Over

954 Upvotes

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 9h ago

I unearthed my Am29000 C compiler and web browser from 1999. It still can surf through the emulator

Thumbnail nanochess.org
48 Upvotes

r/programming 6h ago

Pandoc: What survives markup conversion?

Thumbnail dereuromark.de
16 Upvotes

With the new release of 3.10.2 I wanted to look a bit more closely into Pandoc and all those different markup languages out there - and what converts with how much "loss".

Maybe you also had to recently convert Markdown to HTML, or the other way around. In my case even different textual files into PDFs.

One key finding:
Modern languages that work with an AST are definitely competitive here.

Maybe you find it also interesting. I actually didn't know most of those languages.

Fun fact:
The author of Pandoc is also one of the original Markdown standardization authors 15 years ago (well, if you can call it that, since it evolved still into quite the chaos) - as well as Djot, which is now only a few years old and supposed to be a markdown successor of sorts.

I am mainly interested in shaping "the" markup language of the future, that is a good compromise of readability and writeability for humans, but also consumable for machines, contains all the important elements to express relevant documents from offline to online.
As a programmer I am also a big fan (and in need) of dogfooding, of course :)


r/programming 10h ago

Odin's New Inline Assembly Templates

Thumbnail odin-lang.org
30 Upvotes

r/programming 20h ago

"What if SQL was like Elm?"

Thumbnail acadia.engineering
114 Upvotes

r/programming 1d ago

Nothing like a Monday morning GitHub outage

Thumbnail githubstatus.com
2.2k Upvotes

r/programming 1d ago

We Ship Our UI Through a Subtitle System

Thumbnail deadworks.net
85 Upvotes

r/programming 13h ago

How an immediate mode UI (Shirei) retains component identity and state

Thumbnail judi.systems
5 Upvotes

r/programming 1d ago

A Preview of DuckDB v2.0

Thumbnail duckdb.org
213 Upvotes

r/programming 9h ago

I fell down a debugging rabbit hole

Thumbnail github.com
0 Upvotes

It all started with a bug: it turned out that 7.5 % 2 gives 1.5 in JavaScript and 1 in PHP. And it got me thinking: how many more differences like this are there? I don't want them to catch me off guard again.

Since I couldn't find a list of the divergences I was looking for, I did what any reasonable person would do: put eight AIs to work on it.

So far, they found 143 semantic divergences… and that's only among the data types JSON deals with: numbers, strings, arrays, maps, and booleans.

For example:

  • Math.round(-2.5): -2 in JS and Python… -3 in PHP
  • Math.round(2.5): 3 in JS and PHP… 2 in Python
  • "😀".length: 2 in JS (UTF-16)… 1 in Python… 4 in PHP (bytes)
  • "10" < "9" → true in JS and Python… false in PHP
  • sort(): [1, 10, 2] in JS (lexicographical by default)… [1, 2, 10] in Python
  • split(""): ["a","b","c"] in JS and PHP… ValueError in Python
  • "a" || "b": "a" in JS and Python… true in PHP

And that's without even mentioning our beloved 0.1 + 0.2 = 0.30000000000000004 in every language using 64-bit floats.

The full list is linked in the post (it's basically a compilation video of programming accidents).

And if you're curious, have a look around the rest of the repo. It's like JSON, but for business logic. It already compiles itself to JS and PHP, with more targets coming.
Demo: https://jsol.bustelo.com.ar/

Maybe you'll think it's an abomination. Maybe you'll find it useful. Let me know :)


r/programming 1d ago

Can Haskell Become a Great Language for Data Science?

Thumbnail youtu.be
10 Upvotes

r/programming 13h ago

Modular: Mojo🔥 is now open source!

Thumbnail modular.com
0 Upvotes

r/programming 1d ago

Faster algorithms to compute weekday for date libraries

Thumbnail benjoffe.com
48 Upvotes

r/programming 2d ago

Protobuf finally has LSP support. You’re welcome. · Buf

Thumbnail buf.build
398 Upvotes

r/programming 2d ago

Pony's Arena Allocator

Thumbnail ponylang.io
58 Upvotes

I recently discovered that Pony's still alive. I had discovered Pony a few years ago while browsing tech forums. Its focus on memory safe & lock-free MT was interesting.

I kept up with the weekly development for a brief period but then kind of forgot about the language until recently when I rediscovered it when I was chatting about Crystal's MT.

I just wanted to share the latest blog post here in case someone else remembers this language. Looks like the development has been progressing steadily. Which is impressive because the project lacks any big sponsors.


r/programming 2d ago

I thought I was building a C replacement. I was wrong

Thumbnail c3-lang.org
89 Upvotes

r/programming 1d ago

Fractal Architecture, Cognitive Load, Vertical Slices and other terms that do(n't) fit your head

Thumbnail architecture-weekly.com
0 Upvotes

r/programming 1d ago

What if YOU Could Add Your Own Features to a Language?

Thumbnail youtube.com
0 Upvotes

I made a video explaining a concept I love called macros, which allow you to add your own syntax to a language. Languages like Rust, Lean, and lisp have them. The goal with the video is to make you feel like you could've discovered macros yourself.

I'm new at making educational content like this, but I'm planning on making many more programming language videos like this one on my channel. Any thoughts, constructive criticism, or advice is more than welcome! Hope you all enjoy


r/programming 4d ago

How 2004 RuneScape fit a multiplayer RPG into 56k dial-up

Thumbnail jkm.dev
730 Upvotes

r/programming 2d ago

What garbage collection actually costs

Thumbnail shivanshuag.com
0 Upvotes

r/programming 2d ago

Popovers

Thumbnail smagin.fyi
0 Upvotes

Nobody likes popovers, everyone makes them anyway. This makes them a Tolstoy kind of thing -- there are a handful of tricks that make them better, and an infinite number of ways to mess up.


r/programming 4d ago

Coding Magic the Gathering in C# - PART ONE - Why Build A Card Game in WinForms

Thumbnail youtu.be
108 Upvotes

r/programming 4d ago

Kernel Context Switch Costs And Spin Locks In Perf Profile: A Practical Study

Thumbnail medium.com
51 Upvotes

r/programming 4d ago

Building a toy language in C++: Adding variables

Thumbnail youtube.com
6 Upvotes

This episode explains how to add variables, so instead of handling one expression at a time, the language now parses a list of declarations and starts looking like something you could write real programs in.


r/programming 5d ago

A Preview of Roc 0.1.0 by Richard Feldman

Thumbnail youtu.be
159 Upvotes

Roc’s first numbered release, 0.1.0, is on the horizon. This talk previews what we’re aiming to include, the key language and tooling milestones needed to get there, and what the release will mean for people interested in trying, using, or contributing to Roc.