&gt; hard do folks think it would be to make a C -&gt; Rust transpiler<p>Easy. But it won&#x27;t be too useful.<p>Rust isn&#x27;t a compiler that magically finds memory errors. Transpiling C code to Rust will not find those memory errors unless you have a really good transpiler that can detect the overall structure and design of the C code. It will just give you a ton of Rust error messages; probably none of which relate to an actual memory error. (Or you transpile to `unsafe` rust, in which case, what was the point?).<p>Rust works with a set of rules, and these rules enforce some things in your programming&#x2F;software design style. This enforced style (i.e. the discipline around memory usage) is what gets us memory safety. This style is not the same as the style used in programming C&#x2F;C++; so a dumb transpilation won&#x27;t work. You need to write a transpiler that can figure out what logic the code (and not just for a function, for a larger unit) was trying to encode, and write that in Rust. That&#x27;s ... a nontrivial problem to solve with a transpiler, probably requiring AI skills. It&#x27;s a mostly trivial thing to do as a human, since mostly such &quot;transpilation&quot; involves noticing a few key issues (related to highly-shared structs and whatnot) and fixing them (leaving most of the code the same).