News for hackers. Stuff that matters.
Re:Minimalist C Libraries by kristianp on Monday June 11, 2018 @03:29AM (#17282453)
Yes, this made me want to reach for a safer language, I could see the potential buffer overflows loud and clear:

    void          bmp_init(void *, long width, long height);
Re:Minimalist C Libraries by DougBTX on Monday June 11, 2018 @08:19AM (#17283617)
The corollary of "no error handling" is "caller must be perfect", it is the opposite to defensive coding. I can see the appeal, it puts minimal constraints on the caller, in a sense making the library functions as flexible as possible, but exposing an API so easy to misuse seems reckless, even if the API is elegant in its own way.