News for hackers. Stuff that matters.
Re:Why I Write Games in C (yes, C) by drblast on Saturday September 21, 2019 @08:14PM (#21038775)
So you crash immediately if someone tries to use it or a library gets added that does?

Never experienced the malloc() thing but do throw exceptions and fail fast under conditions like these so they're caught in testing.

Re:Why I Write Games in C (yes, C) by a_t48 on Saturday September 21, 2019 @09:34PM (#21039076)
I think what he's asking to do is to make it a linker failure by not adding it to the standard lib at all. Compile fails are nicer than runtime fails.
Re:Why I Write Games in C (yes, C) by loeg on Saturday September 21, 2019 @11:23PM (#21039450)
Like sibling commenter says, a compile/link error is even better and faster than finding out at runtime with a crash.