Won't this require years of busywork? The various intrinsics, function attributes, C compiler args compatibility, ABI profiles for various platforms/systems (including the Windows GCC/VC ABI idiocy?)
upd: Also, I'm not sure that implementing -funsigned-char in 2022 will be all that great for morale!
Re:C2rust: Transpile C to Rust
by WalterBright on Wednesday February 02, 2022 @06:41PM
(#30185960)
It required maintenance, sure. But most of those extensions can be safely ignored.
No. It means the custom C frontend inside the D compiler, with the semantic routines in the D compiler tweaked where necessary to support C semantics.