Is Python suitable for a huge, enterprise size app?

Peter Dembinski pdemb at gazeta.pl
Wed May 18 12:41:37 EDT 2005


"keirr" <keir.robinson at gmail.com> writes:

[snap]

> I wouldn't, especially[1] if your thousands of business objects get
> allocated/deallocated as the system runs.  Currently python's memory
> usage can grow rapidly (from the perspective of the o/s) when large
> numbers of objects are repeatedly created and freed.

Isn't it true that in recent Python releases, one may replace the
default GC with custom one?

> On the other hand, you could use a combination of python and C++
> (perhaps using boost's python wrapping code).  The ability to create
> C/C++ modules is a "get out of jail free card" - if you did manage
> to convince your company to go with python, and it fell short in
> some area, a custom C module could be a handy trick.

In fact, it is not a trick -- combining C with Python is fairly
approved way of speeding up the app :)

-- 
http://www.peter.dembinski.prv.pl



More information about the Python-list mailing list