logoalt Hacker News

davesque • today at 6:41 AM • 2 replies • view on HN

I mean...why not do it? Are you implying it would only have value if someone painstakingly did it by hand?


Replies

flohofwoe • today at 6:43 AM

The endavour doesn't have much value at all except as an experiment how well translating C code to Rust via LLM works (but you don't need an LLM for that either, C2Rust was already a thing).

Also, the C version of Quake compiled to WebAssembly and running in browsers is just as "safe".

➕ show 2 replies
hn_submit • today at 7:09 AM

I see the result of an LLM port only as a baseline. I would expect any serious developer to rewrite and refactor the code beyond a verbatim translation and to make it more maintainable, readable and robust. In short, to turn it into idiomatic Rust.

If you're not going to do that don't post your results online, just keep it to yourself. Anyone could've done this. Even people without any programming skills.

➕ show 2 replies