It's a transpile. And not even a good one. The generated code is far from idiomatic rust. Some may consider it an abomination.
Yeah I don’t understand this port at all other than as a big marketing stunt.
It would have made far more sense, for reliability, efficiency, cost, etc., every metric really, to use or write a source to source translator that preserves as much structure from the original code as possible. Typically if you do a rewrite there are lessons learned from the existing code base that you want to take into account when doing the rewrite; using a bunch of agents to do the porting file-by-file buys you none of that. In either case the code will be an unidiomatic translation, just with LLMs you get an added source of indeterminism and a huge bill at the end of the month.
Can you show some examples of abominable Rust code they have?
Is it important to be idiomatic if the project meets its goals around memory safety?
grep -nr 'unsafe' .
Is all you need to know to consider how much of an abomination it is
given enough time and tokens, it will become that. I really don't understand how that is a problem in any way.
LLM code has always been an abomination.
Seems to be working just fine though?
And like, this is just the beginning of the port. They did a mechanical port basically line by line, next step is to make it idiomatic rust.
I thought by now people would’ve learned to stop betting against this rewrite.