Re: [MacRuby-devel] A QtRuby Version of The GC2 Client has Been Created

2012-11-23 Thread J Silver
Yes QtRuby works great. I didn't have any success bundling on OS X. I tried Platypus but it didn't work. QtRuby doesn't seem to have any packager. However, there are reports that it works with Ruby-OCRA on Windows to make an exe. I think that when used with OCRA it will make an exe with all gem

Re: [MacRuby-devel] A QtRuby Version of The GC2 Client has Been Created

2012-11-23 Thread Mark Villacampa
Cool! :) I'm glad you found QtRuby useful, I might actually be the best option for cross-platform ruby GUI apps :) BTW, how big is the executable on each OS? Does it bundle ruby? This is my main concern about MacRuby :/ Sent from my iPhone On 23/11/2012, at 18:54, J Silver wrote: > I've cre

Re: [MacRuby-devel] A QtRuby Version of The GC2 Client has Been Created

2012-11-23 Thread J Silver
I've created a ticket about this, 4.0 support planned. Thanks ! On 23/11/2012 05:11, Joshua Ballanco wrote: On this line: https://github.com/jsilverMDX/GlobalChat2/blob/master/gc2-qtruby/global_chat_controller.rb#L90 you're reading in a byte at a time. That, combined with the GVL, can seriou

Re: [MacRuby-devel] A QtRuby Version of The GC2 Client has Been Created

2012-11-23 Thread J Silver
Thanks Josh ! I can see how this would be a problem with GVL. I was able to get it acceptable by limiting log size to 20 messages instead of sending entire log mandatorily. Small change allowed the server not to choke the client as much. Only reason I read every 1 byte is to try to allow n-siz

Re: [MacRuby-devel] A QtRuby Version of The GC2 Client has Been Created

2012-11-23 Thread Joshua Ballanco
On this line: https://github.com/jsilverMDX/GlobalChat2/blob/master/gc2-qtruby/global_chat_controller.rb#L90 you're reading in a byte at a time. That, combined with the GVL, can seriously slow things down. You can either increase the number of bytes you're reading each loop or, ideally, use TCP