views:

301

answers:

1

Possible Duplicate:
Programming slim C++ programs (like uTorrent) for Windows

uTorrent has always impressed me with its 270KB executable and small memory footprint while competing with similar tools which are 30 times its size. I can think of several other tools on my computer that could use such a "debloated" version.

What methods should one employ in trying to write, let's say, a Twitter client in under 300KB?

  • I'm guessing the only language options are C, C++ and Assembler (am I right?).
  • Are there frameworks you can still use?
  • Do you have to employ those crazy tactics from the demo scene to keep the exe small?
  • Can something like that still be maintainable?

I am not really a win32 programmer, so parts of this question may not make sense. Corrections are welcome.

A: 

my contribution to your opinion:

no crazy tactics in the beginning at least: "We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil."

and looking at the first bullet after this: C, C++ and Assembler: C++, then C, then Assembler.

dimitris mistriotis