News for hackers. Stuff that matters.
Re:I built a native Windows Todo app in pure C (278 KB, no f... by pjmlp on Sunday May 11, 2025 @04:48PM (#43957020)
Not really, because this is Windows we are talking about.

A traditonal Windows application would be using the Windows APIs, and not the C standard library, e.g. FillMemory() instead of memset(), thus there is no DLLs to ship with the application.

As can be seen on Petzold books examples.

Re:I built a native Windows Todo app in pure C (278 KB, no f... by TonyTrapp on Sunday May 11, 2025 @04:58PM (#43957108)
This code is not from the Petzold books. It literally includes and uses string.h, stdlib.h and time.h. It is not using WinAPI equivalents of C functions.
Re:I built a native Windows Todo app in pure C (278 KB, no f... by pjmlp on Monday May 12, 2025 @12:52AM (#43959758)
Exactly why there is still enough room to be a smaller executable.