[Gambas-user] high cpu usage with UDP server/client

2009-01-17 Thread Joshua Higgins
Hello, I'm looking at the UDP Server/Client example, and when the server is running, the program uses 13% CPU constantly, shown by htop. Firefox on my system uses 4.5% average when browsing. Is this relatively high CPU usage normal for the UDP server example? -- joshua higgins --

[Gambas-user] Have I been kicked off the list?

2009-01-17 Thread Werner
The last message I received was just before Christmas. Regards Werner -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword

Re: [Gambas-user] Have I been kicked off the list?

2009-01-17 Thread Kari Laine
Hi Werner, It's January 17 today - so you seem be subscribed :-) kari On Sat, Jan 17, 2009 at 5:46 PM, Werner wd...@netfront.net wrote: The last message I received was just before Christmas. Regards Werner --

Re: [Gambas-user] Datepicker bug

2009-01-17 Thread Diego Fernández
Hi Benoit, have you look/solve the datepicker bug yet? just asking, dont mean to pressure you.. Thanks Diego Fernández escribió: Turning Off the Desktop effects, shows the datepicker in the center of the container (form, frame,etc) Benoit Minisini escribió: On mercredi 14 janvier 2009,

[Gambas-user] Gambas is slower than Python??

2009-01-17 Thread birchy
I'm quite confused. I'm from a VB6 background, so when i moved to Ubuntu as my main O.S. Gambas was very attractive. Several things (mainly poor documentation) pushed me to try other languages. Having done a little C, C++, Java and PHP, i decided to give Python a go as it's getting very popular.

Re: [Gambas-user] Have I been kicked off the list?

2009-01-17 Thread Kris Douglas
2009/1/17 Kari Laine klai...@gmail.com: Hi Werner, It's January 17 today - so you seem be subscribed :-) kari On Sat, Jan 17, 2009 at 5:46 PM, Werner wd...@netfront.net wrote: The last message I received was just before Christmas. Regards Werner Hello, could be that the mail isn't

Re: [Gambas-user] high cpu usage with UDP server/client

2009-01-17 Thread Benoit Minisini
On dimanche 18 janvier 2009, Joshua Higgins wrote: I am using the version packaged in Ubuntu Intrepid (2.7) The bug was fixed in the 2.10! -- Benoit Minisini -- This SF.net email is sponsored by: SourcForge Community

Re: [Gambas-user] Have I been kicked off the list?

2009-01-17 Thread Benoit Minisini
On dimanche 18 janvier 2009, Kris Douglas wrote: 2009/1/17 Kari Laine klai...@gmail.com: Hi Werner, It's January 17 today - so you seem be subscribed :-) kari On Sat, Jan 17, 2009 at 5:46 PM, Werner wd...@netfront.net wrote: The last message I received was just before Christmas.

Re: [Gambas-user] Datepicker bug

2009-01-17 Thread Benoit Minisini
On samedi 17 janvier 2009, Diego Fernández wrote: Hi Benoit, have you look/solve the datepicker bug yet? just asking, dont mean to pressure you.. Thanks Mmm, no. I didn't write the code, so maybe Philippe Sérafin, who made the control, can do something? -- Benoit Minisini

Re: [Gambas-user] Gambas is slower than Python??

2009-01-17 Thread Benoit Minisini
On samedi 17 janvier 2009, birchy wrote: PUBLIC SUB Main() DIM i AS Integer, t AS Float, s AS String t = Timer FOR i = 0 TO 99 s = GetSubstring(QWERTYUIOP, WE, IO) NEXT PRINT Timer - t END PRIVATE FUNCTION GetSubstring(doc AS String, startstring AS

Re: [Gambas-user] Gambas is slower than Python??

2009-01-17 Thread birchy
Benoit Minisini wrote: Can you show us the code in Python? Maybe it will help me to find something that could be enhanced in Gambas if Python can do better? :-) Ok, i think the bottleneck is related to the function call overhead: PYTHON: wrote: import time t = time.time() for i in

Re: [Gambas-user] Gambas is slower than Python??

2009-01-17 Thread Gareth Bult
through an optimized compiler, so that explains why it is not about 50x Mmm.. C 50x faster than Python... interesting - not in my experience - certainly not these days where 95% of code is actually library calls that are written in C. VB 50x faster than Python ... that's a new one on me. I've