Thanks for doing this...<p>I think the way to tackle a rust glibc rewrite:<p>Step 0 - write a code generator that just generates rust code that call the C versions of glibc symbols ( based off of the publicly exposed API in the library files). Get test suite to run<p>Step 1 - Make that rust code generate a 100% drop-in replacement fro the C symbols (maybe this requires injecting version numbers)<p>Step 2 - write the `getaddrinfo` replacement in Rust<p>???<p>Step 4 - have all of glibc ported<p>EDIT: Does anyone know of any gotchas with linking that would cause this to happen? Seriously considering taking a day off to do step O.