From: Eric Lee Green Date: 2001-10-31T10:46:00+09:00 Subject: [ruby-talk:23898] Re: Ruby's distribution payload size On Tuesday 30 October 2001 06:09 pm, Mark Hahn wrote: > Has anyone looked at how large the windows distributable zip file would be > for a Ruby "hello world" program? Dunno about Windows, but on Linux, the ruby tree in /usr/local/lib/ruby zips down to 492K (using the pkzip work-alike on Linux, and leaving out libruby.a, which is only needed for compiling extension modules). That has some stuff in it that you don't need for 'hello world' too, like the tk interface module, MySQL interface module, a statfs module that I wrote, etc. Add in the actual Ruby executable out of /usr/local/bin, and, hmm... comes out to exactly 1 megabyte. For interpreter and complete runtime. If you're trying to fit onto a 1.44mb floppy, you can do a *LOT* in 440K of Ruby :-). So it does appear that Ruby currently has a reasonably lean runtime. -- Eric Lee Green GnuPG public key at http://badtux.org/eric/eric.gpg mailto:eric@badtux.org Web: http://www.badtux.org You do not save freedom by destroying freedom