top | item 41710841

(no title)

__coaxialcabal | 1 year ago

Have you had any success using LLMs to rewrite Python to rust?

discuss

order

throwup238|1 year ago

They’re very good at porting code between languages but going from a dynamically typed language with a large standard library to a static one with a large library ecosystem requires a bit more hand holding. It helps to specify the rust libraries you want to use (and their versions) and you’ll probably want to give a few rounds of feedback and error correction before the code is ready.