3 ms·
Since 90% (a wild guesstimate) of C code is pointers, I suspect this is hopeless. I've translated a lot of C code to D, and manually converting `*` to `ref` (D
by WalterBright 4y ago
Since 90% (a wild guesstimate) of C code is pointers, I suspect this is hopeless.
I've translated a lot of C code to D, and manually converting `*` to `ref` (D's safe pointers), and converting to slices, cleans up most of the C code nicely and you get buffer overflow checks for free.