I don’t think that’s right. The signed math UBs and strict aliasing are just dumb. You don’t need to replace the language to fix those.
malloc cannot be implemented in C. It can at best be implemented in a mix of C and special constructs or rule-exceptions outside the C language.
-
-
I assure you that I've implemented malloc in C. It was in a .c file and it compiled with a C compiler. Separately, I don't care if the spec in its current form recognizes my malloc as being written in C. That's not relevant to whether or not it's written in C.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.