I never use CRT routines in production code because: 1) Less efficient, 2) Possible additional bugs in the CRT layer, 3) Less control over ops than native, and 4) Even when a bug is my fault, it is harder to find with the extra CRT layer of crap on top.https://twitter.com/Jonathan_Blow/status/1417544504916135936 …
-
-
(And of course the C++ run time is absolutely horrific, as is the rest of the language, etc.)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Exactly... You can use stat from sys/stat.h it seems which is considered as a portable solution for windows as well but I don't think that this is CRT stuff.
-
And you actually can't even do that, unless I'm misremembering. The call is "stat" on Linux and "_stat" on Windows, so technically you had to have an abstraction in place at least for the function name, no? I may be misremembering that, though.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.