Ruby has a very slow startup time. There's nothing to deny there. I
wouldn't blame the bindings, but yes, I would blame Ruby.

Still, we all love Ruby anyways, and eagerly wait Ruby 2.

On 6/16/06, Alex Nedelcu <bonefry / gmail.com> wrote:
> Hi guys,
>
> I have problems with the performance of ruby-gnome2 bindings on my
> Windows machine.
>
> For example, when I run the following code, it takes at least 1 second
> for the window to appear:
>
>    require 'gtk2'
>    Gtk.init
>
>    button = Gtk::Button.new("Hello World")
>    window = Gtk::Window.new
>    window.signal_connect("destroy") { Gtk.main_quit }
>    window.border_width = 10
>    window.add(button)
>    window.show_all
>
>    Gtk.main
>
> I am currently working on a complicate interface and this slow
> performance scares me,
> especially because with Python I do not have the same problem.
>
> Could it be that PyGTK is better implemented, or do I have a problem
> with my system ?
> What do you think ?
>
> I am on Windows XP, using Ruby 1.8.2 and ruby-gnome2 version 2-0.14.1
>
> Thank you,
>
>


-- 
Matt