upvote
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)
reply
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.

reply
And compiler generated assembly code is ugly and spaghetti, unlike beautiful hand-crafted human written assembly code, the kind you see in ffmpeg codecs, ...

Doesn't matter.

reply
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.

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