From: matz@... (Yukihiro Matsumoto) Date: 2000-07-18T10:30:37+09:00 Subject: [ruby-talk:04099] Re: What are you using Ruby for? Hi, In message "[ruby-talk:04086] Re: What are you using Ruby for?" on 00/07/17, Robert Feldt writes: |* Being able to "freeze" an object and dump it to an exe that can be |executed stand-alone (without interpreter or external libs/exts) on a |non-Ruby aware machine. I distribute my jobs on a network of workstations |and it's not very nice to have to install Ruby on all of them prior to |execution. | |* Native compilation for Wintel machines. Could add some extra boost to |performance-hungry applications?! rb2c may help you. http://www-lab09.kuee.kyoto-u.ac.jp/~hiwada/ruby/rb2c/ |* Profiling Ruby code. Someone doing this today? How? Try profile.rb in the standard library. ruby -r profile your-script |* I understand the basics of mix-in and single inheritance. But how should |you choose between them? I tend to use mix-in as much as possible since it |seems more flexible. Anyone got some rule-of-thumbs? Use inheritance, just like in other SI language, to represent is-a relation. And if a set of function provide features that can be shared among classes, make it mix-in. |* Anyone actually doing GUI stuff on Wintel machines? Didn't put much |effort into it, but I couldn't get TK to work... I hope Ruby/Gtk become mature enough soon. matz.