[Gambas-user] Profiler for Gambas projects
Jussi Lahtinen
jussi.lahtinen at ...626...
Sun Sep 13 14:18:20 CEST 2009
> 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.
I like Gambas because it is very fast to write, and in most cases
it's also fast enough to execute.
But sometimes I need to do some parts of code with C++, because they
are too CPU intensive
to Gambas. But what to translate to C++? You can guess, or test with
profiler and actually know.
Sometimes C++ is even unnecessary when you really know where the bottleneck is.
> If the program does intense computation, then it is a nonsense to use interpreted
> languages.
You can do very complicated UI and data analyzer to that kind of
program with Gambas.
Just leave intense computation to C/C++.
> So I ask again: what kind of program you write?
I have many projects, with physics and math, different simulations,
experimental game, etc.
Non of them do networking or uses database at this moment.
So, I don't know how much profiler can help you with them, but I
guess in most cases very little.
Jussi
More information about the User
mailing list