[Gambas-user] Profiler for Gambas projects
Doriano Blengino
doriano.blengino at ...1909...
Sun Sep 13 00:08:44 CEST 2009
Jussi Lahtinen ha scritto:
> I must add this also...
> Profiler is like debugger, if you know where the error is you don't
> need debugger,
> but many times you don't!
> Same thing with profiler, if you know where the bottleneck is you
> don't need profiler,
> but many times you don't!
>
I don't know what kind of programs you write, so I can easily go wrong.
But... to speak of profiling when using python seems to me a nonsense.
I think the following and, I repeat, I could be wrong. You can teach to me.
If a program does networking, database, or uses complex libraries, then
the bottleneck is almost always outside the program itself. So it makes
little difference in using python, gambas or assembler. If the program
does intense computation, then it is a nonsense to use interpreted
languages. So I ask again: what kind of program you write? We can take
gambas for example. It has wonderful graphics, superb database
capabilities, networking libraries and all the rest. For average
applications, there is little speed difference between a gambas one and
a C++ compiled one. Well. Try to write a CAD program, a word processor
(a serious one), a sound or image editor with gambas, and you will find
a hard life. The power of todays CPUs hides the burden, but it is still
there. So I really don't understand. That's all.
Regards,
--
Doriano Blengino
"Listen twice before you speak.
This is why we have two ears, but only one mouth."
More information about the User
mailing list