c++ - Does a port of the C library need to be implemented in C? -
i'm working on kernel. 1 of tasks in writing kernel c library must ported. functions such memcmp
, strlen
, on have rewritten. of time see code written in c, , wrapped in extern "c"
. however, complicates build process because there's lot of files written in c, , lot of files written in c++, must linked , it's headache. nice if entire thing written in c++.
would make sense?
Comments
Post a Comment