From: Joe Van Dyk Date: 2005-10-05T13:19:51+09:00 Subject: Re: Monitoring total memory usage? On 10/4/05, Andrew Backer wrote: > Hello, > > I need to monitor the memory usage of a ruby script, and I would like > to see if I can do it with within the program itself, or from a monitor > script also in ruby. Is there a way to do this? Using school as an > excuse to learn ruby, and this is one part of it. > > just thought i'd throw my 2c in > 1) no true reference parameters is a pain (how do i write a swap!) > 2) a,b = b,a is the coolest thing ( oh, thats how! ) > 3) array wrapping can be an error and is not to be allowed sometimes > 4) (can I turn it off?) What the heck do you mean by 'array wrapping'? > 5) it is so easy to extend built in classes! ( added an array.resize() ) > 6) why is there no serious formatting support built into the objects? I > guess I'm spoiled by C# now. What do you mean by 'formatting support'?