[MacRuby-devel] A QtRuby Version of The GC2 Client has Been Created
Mark Villacampa
markvjal at gmail.com
Fri Nov 23 13:35:21 PST 2012
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 <jsilverman2 at gmail.com> wrote:
> 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 seriously slow things down. You can either increase the number of bytes you're reading each loop or, ideally, use TCPSocket#read with a buffer. It's a bit more work to get right, but it should resolve your performance issues.
>>
>> Cheers,
>>
>> Josh
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macruby-devel
More information about the MacRuby-devel
mailing list