[GRLUG] python app speed

Bob Kline bob.kline at gmail.com
Thu Jul 16 16:16:31 EDT 2009


On Thu, Jul 16, 2009 at 4:09 PM, Michael Mol <mikemol at gmail.com> wrote:

> On Thu, Jul 16, 2009 at 4:00 PM, Adam Tauno
> Williams<awilliam at whitemice.org> wrote:
> >>Garbage Collection.  In managed platforms like .NET and Java, it's very
> important to understand if you want to get any kind of performance out of a
> "large" application.
> >
> > It matters in 'unmanaged' environments like Objective-C and Python as
> well (and in PHP, Perl, etc...).    Most of these use reference counting to
> auto release old objects.   But reference counting can fail in interesting
> ways,  even assuming there are no bugs in the implementation.  Maybe these
> are 'quasi-managed' enviroments?
> >
> > And unmanged C, etc... has GC problems as well - where the GC is the
> programmer. :)
>
> It all comes down to being aware of what goes on under the hood. :)
>
>
Or getting more memory.  There's a performance
cost to all the monitoring, and while things like
swapping work, as soon as you do things slow
down a lot.  You can't program your way out of
hardware limitations for long, if that's the situation
you have.

The Russians used to be very good at writing
very tight code, because their computers sucked.
For much of the world the most economic way to
make a program run faster can be to simply get
a faster computer.

And more memory.

    --Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shinobu.grlug.org/pipermail/grlug/attachments/20090716/e0c0559e/attachment.htm 


More information about the grlug mailing list