Page 1 of 1
Who has the smallest bytes
Posted: Sun Feb 21, 2016 4:32 am
by Lunasole
Lets know such a useful info as which compiler can give the smallest executable
Some results I tried: Windows x86, valid empty executable, ANSI mode (if possible) and any available compiler options, but no external program or packer used to reduce size:
- 1) C, 1024b
2) FreeBasic, 1560b
3) PureBasic, 2048b
4) VB.NET, 8kb
5) VB6, 16kb
Add more if you have some
Re: Who has the smallest bytes
Posted: Sun Feb 21, 2016 5:38 am
by TI-994A
- 1) C, 1kb
2) FreeBasic, 1.5kb
3) PureBasic, 2kb
4) VB.NET, 8kb
5) VB6, 16kb
Not independently verified, but just to lend some glanceable accuracy.

Re: Who has the smallest bytes
Posted: Sun Feb 21, 2016 5:08 pm
by Lunasole
Yes, I was too lazy to restore all the sources from all languages cause I tested them within huge time difference ^^
Can only bring C sources I compiled yesterday and PB you can compile yourself.
C anyway has no concurents exept ASM maybe - the executable it generated is almost completely filled with 0x0 (unlike PB), so actual size is much lesser and easily can be trimmed to 268 bytes using some external PE editor (268 is the minimal exe size Windows7 is abble to run).
PS. That is not related to topic directly, the windows program which takes only 314 bytes:
https://habrahabr.ru/post/276371/
Re: Who has the smallest bytes
Posted: Sun Feb 21, 2016 5:56 pm
by tj1010
If you want to do it right..
