logoalt Hacker News

pastoday at 8:57 AM3 repliesview on HN

LLM-assisted software engineering seems to be very efficient if you have a deterministic target. (bun rewrite from zig to Rust, 100% Node.js compatibility, pnpm compatibility -- https://github.com/oven-sh/bun/pull/38333)


Replies

QwenGlazer9000today at 12:40 PM

Problem with that is that it's not proper rust code, it's some kind of franken zig style rust port.

The actual hard part is getting it into idiomatic, safe rust, and I don't believe the LLM port makes the full transition any easier than doing things the old fashioned way: a dual lang code base like Linux.

show 1 reply
croontoday at 10:55 AM

My pushback on that would be that all of the "engineering" concering a rewrite was already done the first time around. It's a glorified translation.

I do agree that the port would've taken a lot longer without LLMs though.

Sharlintoday at 12:13 PM

And how long will it take to rewrite the Rust rewrite to idiomatic safe Rust?