4 ms·
If you're going to use tools to transpile, don't use something that hallucinates. You want it to be precise. https://github.com/immunant/c2rust https://github
by Twirrim 1y ago
If you're going to use tools to transpile, don't use something that hallucinates. You want it to be precise.
https://github.com/immunant/c2rust https://github.com/immunant/c2rust reportedly works pretty well. Blog post from a few years ago of them transpiling quake3 to rust: https://immunant.com/blog/2020/01/quake3/ https://immunant.com/blog/2020/01/quake3/. The rust produced ain't pretty, but you can then start cleaning it up and making it more "rusty"
- dataking 1y agoThey indeed used c2rust for the initial transpile according to https://trifectatech.org/blog/translating-bzip2-with-c2rust/ https://trifectatech.org/blog/translating-bzip2-with-c2rust/