News for hackers. Stuff that matters.
Re:Corroded: Illegal Rust by oofbey on Saturday January 03, 2026 @10:45PM (#46484674)
But as we get LLMs to write more of our code, shouldn’t we be moving to languages like Rust, where the compiler is very strict and has lots of checks against subtle bugs? In this sense Python is the worst possible language for vibe coding, because Python allows all sorts of bad code to (mostly sorta) run.
Re:Corroded: Illegal Rust by aaronblohowiak on Saturday January 03, 2026 @11:05PM (#46484773)
Yes! It gives me quite a bit of confidence and makes refactoring easier. Pure rust backend is basically hassle free now with LLMs. Frontend still ts / svelte because of ecosystem and training set.
Re:Corroded: Illegal Rust by hoppp on Saturday January 03, 2026 @11:24PM (#46484891)
Elm is a great front end language for LLMs, its simple and safe and the entire language is in the training set and its not under active development right now so no breaking changes.
Re:Corroded: Illegal Rust by nurettin on Sunday January 04, 2026 @01:23AM (#46485497)
Not under active development as in issues keep piling up and there is nobody to resolve them?
Re:Corroded: Illegal Rust by hoppp on Sunday January 04, 2026 @11:47AM (#46489672)
The language is not actively changing.

It's done, the language is complete.

Issues piling up, Im not sure.. the compiler has only 4 unresolved issues in 2025...

Looking at the github.. they don't seem to be piling up that much.

Sometimes a programming language is well written and its done, no need to actively work on it.

Re:Corroded: Illegal Rust by nacozarina on Saturday January 03, 2026 @11:13PM (#46484824)
type safety was always a guardrail for the human not the machine.

humans aren’t reading code, so no need for it, ai can write everything in ASM & C, keep everything fast and economical.

Re:Corroded: Illegal Rust by justaboutanyone on Sunday January 04, 2026 @12:38AM (#46485268)
People are still going to read the PR regardless of how it was created.
Re:Corroded: Illegal Rust by oofbey on Sunday January 04, 2026 @01:05AM (#46485419)
In some environments this is a hard requirement, and will be hard to break. Places where the code is know to have big impact / blast radius and can’t be wrong.

In other environments (most startups founded in the last six months) no human is ever reading any of the code. It’s kinda terrifying but I think it’s where we are going. And here I would argue having strict compilers is way more important.

Re:Corroded: Illegal Rust by tormeh on Sunday January 04, 2026 @04:03AM (#46486283)
That's fascinating and insane. Rust will help, but I can't see that working well. In my experience LLMs (even Claude) need quite a bit of handholding.
Re:Corroded: Illegal Rust by justaboutanyone on Saturday January 17, 2026 @11:09PM (#46664711)
Perhaps people will move to stricter programming languages try to counter the slop issues
Re:Corroded: Illegal Rust by JoshTriplett on Sunday January 04, 2026 @12:58AM (#46485381)
> humans aren’t reading code, so no need for it, ai can write everything in ASM & C, keep everything fast and economical.

This is a great plan; I would encourage everyone using AI to follow this strategy. The resulting smoking craters will have many job opportunities for human-written code that works.

Re:Corroded: Illegal Rust by yjftsjthsd-h on Sunday January 04, 2026 @01:16AM (#46485472)
Surely AI also needs guardrails?
Re:Corroded: Illegal Rust by Rexxar on Sunday January 04, 2026 @09:20AM (#46488192)
AI needs heavy fortifications, moats and watchtowers around it.
Re:Corroded: Illegal Rust by sunshowers on Sunday January 04, 2026 @03:10AM (#46485985)
?
Re:Corroded: Illegal Rust by nurettin on Sunday January 04, 2026 @01:17AM (#46485476)
Yes, Rust boilerplate is LLM worthy work. It was never meant for humans. The ergonomics component is absent.

Unfortunately, there will be more tokens and context wasted as the LLM struggles with appeasing the compiler.

Example: say a function had two string view args which are bound to a single lifetime because both args at call site had the same scope. Now you have another call site where the args have different scope. Whoops, let me fix that, blah blah.

Re:Corroded: Illegal Rust by simonask on Sunday January 04, 2026 @09:43AM (#46488415)
That’s… not how any of that works.
Re:Corroded: Illegal Rust by nurettin on Monday January 05, 2026 @09:26AM (#46499086)
That's... suspiciously terse.
Re:Corroded: Illegal Rust by krzyk on Sunday January 04, 2026 @02:30AM (#46485804)
> In this sense Python is the worst possible language for vibe coding

Javascript would like a word

Re:Corroded: Illegal Rust by tcfhgj on Sunday January 04, 2026 @03:22AM (#46486052)
But JS has TSpp
Re:Corroded: Illegal Rust by leafario2 on Sunday January 04, 2026 @05:01AM (#46486557)
But TS has JS
Re:Corroded: Illegal Rust by krzyk on Sunday January 04, 2026 @03:11PM (#46491699)
But Python is readable, it is the most readable language I've seen.

There is a reason why it is used nowadays as the first language in schools.

Re:Corroded: Illegal Rust by tracker1 on Monday January 05, 2026 @12:24PM (#46501748)
Assuming your editor is using tabs as spaces and preserving whitespace appropriately, for varying definitions of "readable".
Re:Corroded: Illegal Rust by tcfhgj on Monday January 05, 2026 @01:30PM (#46502664)
I think both are readable
Re:Corroded: Illegal Rust by ra on Sunday January 04, 2026 @02:47AM (#46485874)
Yes. I've switched my vibe-coding to rust, mostly because of the fantastic error messages and compiler feedback
Re:Corroded: Illegal Rust by sesm on Sunday January 04, 2026 @10:03AM (#46488603)
If you want to eliminate memory issues as a class, just use a language with managed memory.
Re:Corroded: Illegal Rust by m3047 on Sunday January 04, 2026 @01:40PM (#46490858)
Did you let the LLM horde (it and its agents) compile Rust? Is the LLM allowed to flag problems with Rust? Rinse, lather, repeat...
Re:Corroded: Illegal Rust by rurban on Monday January 05, 2026 @12:10AM (#46495529)
We should be moving to actually safe languages. Not just safer languages
Re:Corroded: Illegal Rust by oofbey on Monday January 05, 2026 @01:49PM (#46502929)
What language would you recommend? Or if none qualify what do you think is missing?
Re:Corroded: Illegal Rust by rurban on Monday January 05, 2026 @03:02PM (#46504014)
There are dozens of memory safe languages, eg. all with a GC. Lisp and .NET comes to mind.