From: "H. Simpson" Date: 2004-07-26T20:52:09+09:00 Subject: Re: Which compiled language is closest to Ruby? Michael Campbell wrote: > On Mon, 26 Jul 2004 05:29:03 +0900, tony summerfelt > wrote: > >>On Tue, 20 Jul 2004 19:02:22 +0900, you wrote: >> >> >>>For a fully object oriented compiled language you might want to take a >>>look at Eiffel. >> >>the windows version is a 60+ meg download...and i think it mentioned >>it was for .net...that's another 100meg download >> >>i haven't bought into a 100meg 'hello world' program quite yet :) > > > Not sure where you're getting some of those numbers, but a > console-based .NET "hello world" on my system is 3700 bytes. (+/- 50 > bytes) > > It, of course, runs fast enough that I couldn't get a memory footprint > snapshot while it ran, however. > > Will that .NET program run on a machine without .NET runtime already installed? Does it load any extra DLLs that aren't normally loaded upon boot by a clean install of Windows ME or Windows 2000? Add a gets() or sleep() to provide enough pause to measure the memory if you're interested. If this add too much memory overhead, just do a simple while() loop (it'll eat cpu while you measure the memory but overhead will be minimal).