News for hackers. Stuff that matters.
Re:Why the push for Agentic when models can barely follow a ... by theshrike79 on Tuesday October 14, 2025 @04:24PM (#45584369)
I just literally sat down on my computer after walking the dogs.

During my walk Codex (gpt-5-high) rewrote a Python application to Go in one shot. I sat down, tested and it works. Except now I can just distribute a single binary instead of a virtualenv mess =)

Maybe the instruction was SUPER simple? Dunno.

Re:Why the push for Agentic when models can barely follow a ... by bn-l on Tuesday October 14, 2025 @04:37PM (#45584519)
Maybe the code and task was super simple. Maybe the whole rewrite was already in its training data (enough) in some way
Re:Why the push for Agentic when models can barely follow a ... by theshrike79 on Wednesday October 15, 2025 @03:36AM (#45589212)
Naturally it wasn't breaking new ground on computer science :)

It was a "script" (application?, the line is vague) that reads my Obsidian movie/anime/tv watchlist markdown files from my vault, grabs the title and searches for that title in Themoviedb

If there are multiple matches, it displays a dialog to pick the correct one.

Then it fills the relevant front matter, grabs a cover for Obsidian Bases and adds some extra info on the page for that item.

The Python version worked just fine, but I wanted to share the tool and I just can't be arsed to figure that out with Python. With Go it's a single binary.

Without LLM assistance I could've easily spent a few nights doing this, and most likely would've just not done it.

Now it was the effort of me giving the LLM a git worktree to safely go wild in (I specifically said that it can freely delete anything to clean up old crap) and that's what it did.

And this isn't the first Python -> Go transition I've done, I did the same for a bunch of small utility scripts when GPT3/3.5 was the new hotness. Wasn't as smooth then (many a library and API was hallucinated), but still markedly faster than doing it by hand.

Re:Why the push for Agentic when models can barely follow a ... by hattmall on Wednesday October 15, 2025 @08:11PM (#45599981)
Now, that's actually a very reasonable usage, because it isn't coding, it's translation. The counter to that being beneficial is that many code translation programs already exists and it's certainly something that can be built and done so in a way to be certain of security, proper practices etc, which you can't guarantee with LLM and using a specialized program is orders of magnitude less resource intensive.

Of course it's nice as a hobbyist end user to do exactly what you did for a simple script and that's to the credit of the LLM. The over-arching issue is that extremely inefficient process is only possible thanks to subsidization from Venture capital.

Re:Why the push for Agentic when models can barely follow a ... by theshrike79 on Thursday October 16, 2025 @03:51AM (#45602595)
I personally prefer Go with LLMs because it has a relatively large amount of analyzers and other tooling to statically check that there are no major issues with the code.

Also the compiler being a stickler for unused code etc. keeps the Agentic models in check, they can't YOLO stuff as hard like in, say, Python.

Re:Why the push for Agentic when models can barely follow a ... by nasmorn on Wednesday October 15, 2025 @05:31AM (#45589983)
Rewriting something in another language is super simple. The original code has all the context. Even simple for a human but takes time. I literally did the same thing recently and had Claude rewrite a simple Python lib to elixir so I don’t need to run Python somewhere. Wasn’t perfect actually but very easy to fix the issues.
Re:Why the push for Agentic when models can barely follow a ... by YouAreWRONGtoo on Wednesday October 15, 2025 @06:34AM (#45590400)
Millions of compilers have been written and those languages have simple grammars. As such, those are trivial problems.
Re:Why the push for Agentic when models can barely follow a ... by marssaxman on Wednesday October 15, 2025 @03:51PM (#45597541)
I think you must be off by a couple orders of magnitude. Wikipedia's list of programming languages contains a little over one thousand entries. Many of those languages are only interpreted, with zero compilers ever written, and only a small number of popular languages have ever had more than one compiler written. It seems very likely that thousands of compilers have been written in total, and tens of thousands are plausible, but if we consider hundreds of thousands, it's hard to imagine where so many compilers could be living, or why they would have been created.
Re:Why the push for Agentic when models can barely follow a ... by theshrike79 on Thursday October 16, 2025 @03:53AM (#45602603)
Trivial with an LLM yes, but in reality nobody will bother with a full rewrite in another language just for fun if the original program works, but is a bit annoying to run.

This way it's pretty close to zero effort.