This is the proof, compare!
A simple 'Hello World' in a console
C++
EXE (74752 Bytes)
Source
PureBasic:
EXE (7200 Bytes, less than a tenth of the cpp exe)
Source
Cool
Bye! merendo


i agree, as on my OS NT4:Hi-Toro wrote:All that said, it's not like the difference between a 5k and a 35k app is that much of a problem these days...
It's an interresting post but if I understand correctly, it uses a compressor to reach this size. And the whole thing is very long and lowlevel to achieve it.Hi-Toro wrote:In the 3rd reply here, this guy claims a smallest working exe size of 1536 bytes, in VC6!
http://miataru.computing.net/programmin ... /5952.html
No, he just says that those things might be more appropriate for larger applications. The executable in the example doesn't use a compressor.It's an interresting post but if I understand correctly, it uses a compressor to reach this size.
Of course! It's more of a theoretical exercise (ie. make the smallest legitimate Windows exe, even if it doesn't actually do anything), but I thought it was worth posting as people often say VC++ can't create small executables when in fact it can.And the whole thing is very long and lowlevel to achieve it.