in reply to Memory requirements for a Win32 GUI
Perl is not that economical on memory (then again as you will see it ain't half bad either). A simple hello world script uses 1.8 MB. If you use Win32::Console your hello world script will need 4 MB. So in summary you need a minimum of circa 2 MB to do anything with perl and 4 MB if you do it in a Win32::Console window which will give you circa 1980s graphics. If you need it small perl is not the best tool.
You could do LWP type stuff with alert windows with a little HTML/Javascript but that will be 22 MB for the IE instance.
If you try to use vbscript you will find that wscript.exe uses 5 MB.
If you try to use a batch file you will find that cmd.exe also uses 5 MB.
I think if you are stuck with using C/C++ or assembler to make a native exe if you need lots of instances that don't use much memory. The problem with all the simpler ways to do it are that they provide all sorts of functionality you don't need, and as a result burn a lot more memory that absolutely required.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Memory requirements for a Win32 GUI
by pvbcharon (Beadle) on Apr 14, 2008 at 12:51 UTC | |
by tachyon-II (Chaplain) on Apr 14, 2008 at 13:21 UTC | |
by pvbcharon (Beadle) on Apr 14, 2008 at 14:23 UTC | |
by tachyon-II (Chaplain) on Apr 14, 2008 at 16:12 UTC |