logoalt Hacker News

Aurornisyesterday at 8:23 PM3 repliesview on HN

Translating a project that includes a good test suite from one language to another is known to be a great case where LLMs work well.

When you’re starting with a complete codebase to use as an example and a test suite to check everything it’s much easier to iterate toward the desired goal. The LLM can already see what the goals are and how they’ve been implemented once already, which is a much easier problem than starting from a spec.


Replies

mezytyesterday at 9:42 PM

Great case where rust works well too. I won't cite every famous libs that got rewritten in rust but it wasn't all with LLM.

show 1 reply
apitmanyesterday at 10:17 PM

It's not hard to imagine a future where the only things committed to git repos are tests and specs.

show 2 replies
Gigachadtoday at 2:57 AM

The goal posts are always moving. This would have been an unthinkable task a couple years ago.

show 1 reply