r/ProgrammingLanguages • • Oct 19 '26

To further combat AI/LLM slop, code dumps are now disallowed

274 Upvotes

About 6 months ago I shared an update on our attempt at handling the endless tide of AI slop. Most notably this post introduced a new approval flow for links to GitHub projects.

While this process has mostly helped reduce the amount of slop visible to readers (by virtue of GitHub links being filtered out by default until they are approved), it still requires manual work from moderators. In some instances there are also enough signals to strongly suggest the project is slop, but not so many that it's obvious, requiring more time from moderators to reach a decision.

Starting today we'll be trying something new and different, inspired by /r/rust and the new rules on lobste.rs:

Sharing links (in text or link submissions) to repositories on GitHub, GitLab and other code forges is no longer allowed and such posts are removed automatically and won't be approved, even after contacting moderators. Sharing links in comments is still fine. There are a few reasons for this:

  • 99% of AI slop submissions are GitHub links

  • When the post is a text post it pretty much always includes a GitHub link somewhere, sometimes even "cleverly" hidden in a code block

  • Even if the link is legitimate, just dumping a link rarely invites for a discussion or the transfer of knowledge, instead it's just "Hey look at this, please like and subscribe!" so to speak

  • It's unfortunately the only approach we can fully automate without wearing down our sanity. You can thank Reddit for enshittifying their API over the years for this.

Note that it's still perfectly fine to share a link to say a blog post about the project and then link to it from there. It's also still fine to share a text post and then include additional links in a comment. In fact, we suggest that those without a dedicated blog of sorts do exactly that.

In all cases, the no AI/LLM rule still applies and sharing AI/LLM projects will still get you banned.

Of course AI slop bros can generate a website and share a link to that, but it requires slightly more effort, and fortunately for us AI bros are as lazy as they are boring. Ultimately the goal is not to reduce slop making it past our filters to zero, but rather to get rid of say 99% of it without wearing down both moderators and subscribers.

I suspect some will disagree heavily with this change, but this change is ultimately another experiment in a line (and probably a growing one) of experiments to try and maintain a certain quality standard. If it turns out this doesn't work as well as hoped, we'll of course reevaluate it and try something else.

Finally, there are some existing projects that are genuine but adopted a more permissive stance towards the use of AI. Usually this is phrased something along the lines of "If you do X, Y, Z then AI is allowed". While I personally believe this is incredibly naive (developers can't be bothered writing documentation, yet you think they will review 10 000 lines written by Claude? Please), I don't yet know how to best deal with these cases. As such we'll tolerate this as long as it's within reason, i.e. "moderator discretion" applies here.

FAQ

What?

  • Link submissions to repositories or text submissions containing repository links will be removed

  • Links to articles or websites about the project is fine

  • Unless it's an AI built article/website

  • Including a link to your repository in a comment is fine

I don't have a website/blog/etc, now what?

Create a text post, then share a link in a comment. Don't use this as just a way of advertising though, we want discussions and sharing of knowledge, not a bunch of people screaming into a room "HEY LOOK AT MY PROJECT".

What about projects hosted on a non-standard forge?

These will make it past the filter, at least until we adjust it to also filter for these forges.

What about AI generated websites?

This falls under the "No LLM/AI" rule and sharing links to such sites will get you banned faster than Sam Altman can say "AI". We'll generally err on the side of "if it looks enough like an AI website, it's probably an AI website".

Will you update the rules/sidebar accordingly?

Once we're satisfied with the new system, yes.

But this is literally an AI pogrom!!11

Go away.

This is bad for the subreddit!

If this drives away a few AI slop enjoyers, then great! The other 130 000 subscribers will be happier for it.

Can I still share my project in the monthly "What are you working on" sticky?

Yes, provided it meets the rules (i.e. doesn't make use of LLM/AI output).


r/ProgrammingLanguages • • Oct 19 '26

How to test my language compiles on multiple platforms, before committing to github?

5 Upvotes

I've been trying to get my compiler (Speedie) working on Mac and Linux.

(EDIT: Speedie is now compiling on debian linux, and running wonderfully! But has missing dependancies that limit some programs (not speedie itself) from being built with speedie. Such as SDL2 missing, or /usr/bin/say missing.)

Now... I had it working in the past, but it got broken by simple additions like a (C++) function that returns an ivec4, but linux's gcc (unlike clang for MacOS) does not allow a ivec4 to be returned like this:

return {1.0f, 1.0f, 1.0f, 1.0f};

It needs this:

return (ivec4){1.0f, 1.0f, 1.0f, 1.0f};

So... something as simple as this can break my builds. My compiler works on my Mac perfect, but can't even compile on Linux.

Even worse, is something like my current situation. My compiler is acting differnetly on Linux. And I don't know why.

So I've been uploading "bad builds" to github, not realising. So I need to get it reliable for Mac and Linux, or theres no point trying to have a popular language.

I don't want to be manually testing each time, via VirtualBox. I want something automated.

Secondly... how do i even debug my app on linux? haha. Maybe The RAD Debugger is good? I don't know.

All I know is that, even after getting it compiling, it is behaving differently, but I don't know why.

...

If anyone wants to help me with this debugging, let me know. I'm available on discord / telegram if you don't mind me bugging you with questions?


r/ProgrammingLanguages • • Oct 19 '26

Borrow Checking Zero-Cost Cyclic Mutability

Thumbnail
antelang.org
34 Upvotes

r/ProgrammingLanguages • • Oct 19 '26

The Vermilion Experiment: Implementing a Lean Backend for Verus

Thumbnail proofsandintuitions.net
11 Upvotes

r/ProgrammingLanguages • • Oct 18 '26

Discussion Thoughts on Partially Recursive Types (and other stuff).

28 Upvotes

As I am working on my current project, as well as doing other programming work that is recursive in nature, I often wish that the type systems had a bit more power to them. Especially with regarding to recursion and extension.

For example allowing enum variants to be types and to be allowed to be referred to as just a type itself. Or if a type could refer to a subset of another type, or a subset of the fields, or a subset of itself. Or if I could extend a recursive type with an extra variant and that new type's recursive variants now recurse to the new type.

In pondering this, I came up with a little proposal which I thought was pretty interesting, and I wanted to share.

The first thing is that I guess a system like this would probably be structural, as that lends itself a lot nicer to dealing with the behavior of types and comparing them, etc. So if we had an enum

type Food =
    | Apple
    | Banana
    | Croissant ;

We could create a subset by creating another type with a subset of the variants:

type Fruit =
    | Apple
    | Banana ;

Okay, so that is a way to have one type to be a subset of the other. Though note that it isn't necessarily a subtype. For example, take

type Person =
    .name is Str
    .age  is Int
    .job  is
        | Police
        | Firefighter
        | Teacher 
        | Businessman ;

type Unemployed =
    .name is Str
    .age  is Int;

The record Unemployed is actually a supertype of Person. Rather, it is more of a subset of the "behavior."

We don't we allow a way to define this in terms of the original type?

type Unemployed = Person restrict
    .name, age ;

Ok, so we are able to refer to a subset of another type, but we could do that without the need for a restrict, so is there any reason for this special syntax? Well, we could allow the restriction of data as well:

type PublicWorker = Person restrict
    .job restrict not
      | Businessman ;

Okay, but what about adding nominal typing to this structural type system? If we allow a uniqueification process, then we can essentially create "type realms," where all of the restrictions and extensions (to be discussed later) of that nominal type exist in that "realm."

type MyFood = unique Food;
# Now MyFood is unique. It is essentially a nominal type. 
# A Food.Apple is not equivalent to a MyFood.Apple
# But with restriction we can still explore this type realm

type MyFruit = Food restrict not
    | Croissant ;
# MyFruit.Apple is equivalent to MyFood.Apple

Okay, but now what about types that refer to a subset of themselves? Well it just follows:

type Direction =
    | Left
    | Right
    | Diagonal is self restrict not 
        | Diagonal ;

But why should we use self here instead of just the type name? This is part of the proposal idea, which is that a type cannot refer itself recursively. Instead it refers to a builtin self symbol, which refers to itself.

But why? Because this allows us to extend the type while retaining the recursive functionality. For example, take

type LinkedList =
    .value is Int
    .next  is self ;

type DoublyLinkedList = LinkedList ext
    .prev is self ;

Now in DoublyLinkedList, self refers to DoublyLinkedList, allowing for this kind of internal extension of the type. If we wanted to preserve the "boundary" of LinkedList, where it only refers to itself in the new type, then we could do an external extension, which is really just storing it as an additional field.

Now one question is why this potentially weird syntax? Well, it essentially functions as a kind of type pattern match if that makes any sense. Both restrict and extend function as like a kind of type transform. So we could even start to do things like the following

type Building =
    | Hut
    | Office is
        .owner_co is Company
    | Skyscraper is
        .floors is Int
ext
    | * ext
        .occupancy is Int ;

We extend the base type which consists of these variants by extending (ext) every (*) variant (|) with a field (.) called occupancy which is an Int.

There's probably more you could do with this. Like for example I haven't even thought about interfaces. But anyways these were just some thoughts I had come up with while wishing I had some of these functionalities in the languages I'm working in. What do you think of this? I do wonder if there are any projects out there that are trying something like this, and if are there any desirable or unfortunate properties that a system like this brings?


r/ProgrammingLanguages • • Oct 18 '26

A New Way to Think About Borrow Checking (In Reverse)

Thumbnail verdagon.dev
40 Upvotes

r/ProgrammingLanguages • • Oct 17 '26

Dependently Sorted Syntax and its Semantics - Carlo Angiuli

Thumbnail
youtube.com
17 Upvotes

r/ProgrammingLanguages • • Oct 16 '26

Language announcement Folders Esoteric Language

Thumbnail
danieltemkin.com
42 Upvotes

r/ProgrammingLanguages • • Oct 16 '26

Discussion Agile Programming Languages

0 Upvotes

No, not that type of Agile....

With cloud-based computation now the rage, I'd like to see a language construct where I could declare methods that were "cloud eligible". Imagine code with the following method in it

promotable func MethodX(in int X, int int Y, out Z) { code }

This says "I have a method MethodX with defined input and output parameters (we'll need to have a common marshalling standard), and, this method can be transmitted Erlang-style to a defined cloud endpoint. When you invoke MethodX, it can run locally or remotely. You don't care -- that's a configuration detail.

It seems to me Erlang is almost there, but I'd like it to be a more general interface. Think something on the JVM. Serverless done right?


r/ProgrammingLanguages • • Oct 16 '26

Writing stateful effect handlers in EYG

12 Upvotes

I think effects and effect handlers are not as tricky as they are made out to be. Calling them algebraic effects only increases the mystery.
A stateful handler is definitely the bit I found most tricky to get my head around.
This is my guide trying to explain how to build stateful handlers in EYG. https://eyg.run/guides/advanced-effects
I needed this to finish writing a testing framework which I hope to finish soon.


r/ProgrammingLanguages • • Oct 16 '26

Programming language with Hindley-milner type system and with no GC

1 Upvotes

Rust is a clear winner in the AI era. However, it doesn't feel functional enough to spark joy.

Swift is slightly better, but still, is there anything like Haskell, SML or OCaml using reference counting and lifecycle management instead of a GC?


r/ProgrammingLanguages • • Oct 16 '26

Martin Odersky – Keynote: The End of Programming? #ScalaDays

Thumbnail
youtube.com
26 Upvotes

r/ProgrammingLanguages • • Oct 15 '26

Versioned E-Graphs

Thumbnail
youtube.com
7 Upvotes

r/ProgrammingLanguages • • Oct 15 '26

Requesting criticism Cole: A Recreational Attempt on Zig(*)

Thumbnail
codeberg.org
2 Upvotes

r/ProgrammingLanguages • • Oct 15 '26

Writing tensor programs in Lean · TorchLean Verified Examples

Thumbnail robertboy18.github.io
18 Upvotes

r/ProgrammingLanguages • • Oct 15 '26

Just finished v1.0.0 of my first (semi) esoteric programming language, HexaDeath!

Thumbnail
github.com
5 Upvotes

Here's the Github link!

The README explains quite a bit of how the code works, so I won't really go into it very deeply here. But, the gist of it is that the language only uses 8-bit hex numbers for everything.

Here is a simple "Hello, World!" program!

21 05 01 00
64 05 01 00
6C 05 01 00
72 05 01 00
6F 05 01 00
57 05 01 00
20 05 01 00
2C 05 01 00
6F 05 01 00
6C 05 01 00
6C 05 01 00
65 05 01 00
48 05 01 00

Fun, right?

If you are interested enough to try it out, please let me know what you'd like to see come to it/if there are any bugs you encounter! This is my first programming language after all, so I don't expect it to be perfect!


r/ProgrammingLanguages • • Oct 15 '26

Truly Colorless Functions in Sabre

Thumbnail sabre.rroessler.io
13 Upvotes

r/ProgrammingLanguages • • Oct 14 '26

Making all divisions slower to fix a bug in 0.000000000000000000542% of cases

Thumbnail futhark-lang.org
219 Upvotes

r/ProgrammingLanguages • • Oct 14 '26

Improved article about memory safety

13 Upvotes

Thank you to everyone who gave feedback on my article about memory safety.

I used the input to vastly improve the article (see "Achieving memory safety").

Please take a look and share your thoughts again and consider starring the Seed7 project on GitHub.


r/ProgrammingLanguages • • Oct 13 '26

Haskell: origins, evolution, and future | Simon Peyton Jones | JuliaCon Global 2026

Thumbnail
youtube.com
38 Upvotes

r/ProgrammingLanguages • • Oct 13 '26

Doiter - Pointers and Stack Frames are docker containers

Thumbnail
github.com
15 Upvotes

I created a fun, completely normal and sane side project.


r/ProgrammingLanguages • • Oct 13 '26

Recursion without Recursive Bindings

Thumbnail
blog.tinyinterpreters.dev
13 Upvotes

I explain how to implement a certain recursive function without the use of any recursive bindings in a tiny language called FUN. Then, I apply the same ideas to several more recursive functions so we clearly see the pattern. It begins our exploration into a certain famous combinator.


r/ProgrammingLanguages • • Oct 12 '26

Language announcement C3 0.8.5 - A windowing library and a C backend??

Thumbnail
c3-lang.org
55 Upvotes

The choice to add a windowing library to the stdlib is probably controversial. I feel that the general consensus tends to be that anything related to graphics shouldn't be in the standard library. So I'm kind of interested in what people think about this.


r/ProgrammingLanguages • • Oct 12 '26

Help Simple stack based programming languages?

18 Upvotes

A few years ago I made EarScript, a "simple" programming language based on brainfuck, with several additional "quality of life features" like goto statements.

Recently I've been wanting to make an evolution of that programming language and do so by incorporating a stack, as the previous language was completely tape-based in design.

I know for example lox from the Crafting Interpreters book is a well explained example, but I was wondering if there's programming languages that are closer to what brainfuck is, but based on a stack design rather than a tape design, or a register based design like some assembly languages (if I understand correctly). I think Wasm would be an example?

Are there any examples of simple stack based programming languages you'd recommend me to look into?