←back to thread

Introducing tmux-rs

(richardscollin.github.io)
857 points Jtsummers | 2 comments | | HN request time: 0s | source
Show context
uecker ◴[] No.44456333[source]
I like this post, one can learn a lot.

It seems automatically translating Rust to C is not a very good idea: "I threw away all of the C2Rust output and decided I would translate all of the files into Rust manually from C.". Neither seems doing it manually: "I introduced many bugs while translating the code. I’d like to share the process of discovering and fixing a couple." Or using AI: "That’s because when using cursor to translate the code it would still occasionally insert bugs, just like me. So, I spent as much time reviewing the generated code as it would have taken me to write it myself."

As a hobby project, all power to you. But otherwise, maybe better not rewrite working code....

replies(4): >>44456413 #>>44456755 #>>44459370 #>>44459965 #
greenavocado ◴[] No.44459370[source]
This is funny, but unfortunately .NET went all in on the AI coding assistant kool-aid.

https://github.com/dotnet/runtime/pull/115762

https://github.com/dotnet/runtime/pull/115743

https://github.com/dotnet/runtime/pull/115733

https://github.com/dotnet/runtime/pull/115732

replies(1): >>44459426 #
1. tacker2000 ◴[] No.44459426[source]
Wow, so this MS dev is trying out Copilot on the dotnet repo and doesnt even configure it correctly beforehand?

Or was that comment just a cop-out because Copilot’s results were complete nonsense?

replies(1): >>44480811 #
2. greenavocado ◴[] No.44480811[source]
"Configuration" problems are a complete fabrication. Copilot is just that bad.