top | item 37617255

(no title)

aardshark | 2 years ago

Open up Chat GPT, paste your functions and ask it to convert them to rust. Go through them 1 by 1, see if you understand and ask questions about anything you don't recognise. Don't expect the output to be perfectly logically correct, you will have to ensure that yourself.

I've found Chat GPT to be really excellent for quickly getting myself up to speed with languages that I'm not familiar with.

discuss

order

eigenvalue|2 years ago

Yes, that’s my advice as well. Set up vscode with rust analyzer and paste any errors it shows back into the same ChatGPT conversation and it will debug everything for you.

abdullahkhalids|2 years ago

Thanks, that sounds good.

I will search myself, but is there are a great rust syntax reference doc?