|
|
|
|
|
by gumballindie
888 days ago
|
|
> I am working in making, Rust specifically, 100% code generated. Generating code is trivial. Generating code that works is not. I suspect you are at around 10-15% of reaching that. All models out there are probably at 2-3% as they barely equal a google prompt in reliability. |
|
I don't put it to work for the moment, cause i am trying to create a TUI for HN, or a TUI forum more generally, like HN, maybe even backed by version control like Pijul instead of a database. 100% computer generated obviously, that goes without saying.
My biggest problem so far, is that GPT doesn't write idiomatic Rust. The code it generates is very C or Pythonic, and i am trying to figure out a way to guide it, to write beautiful code, instead of just correct code. When the machine generates just correct code, it doesn't cut it for me, is what i am saying. I am reading "Command Line Rust" to get a sense of idiomatic Rust, and then i have to study github projects as well to really figure out how beautiful idiomatic Rust code really is structured and written. Like, i know what idiomatic Rust is, just not that well at the moment.
The tool i want to create, to use GPT instead of Copilot, is something like Aider [1] but not in Python and maybe a TUI.
https://github.com/paul-gauthier/aider [1] https://github.com/pramatias/hnotify