Hacker News new | ask | show | jobs
by torgoguys 62 days ago
>A freaking notepad app takes almost 50mb in memory when equivalent NOTEPAD done in pure Win32 C takes [only] 1.8mb of memory.

Kids these days! A full 1.8MB of memory for little more than a wrapper around an existing win32 multi-line text box control!

(Note that I added the "[only]" in the quote above to make it clear what the author meant since the quote was ripped from context).

2 comments

I wonder what is the memory foot print of the notepad application in NT 3.1/3.5? The OS is supposed to run on 16MB systems so 1.8MB is definitely a LOT.
Having written a full notepad clone (.LOG works) for Windows CE using MFC, it is a little bit more than that.