Python advocacy

Andrew Dalke dalke at acm.org
Sun Mar 5 01:05:13 EST 2000


Fredrik Lundh asked:
>is there *anything* you can do in C++ that you
>couldn't express in a typed version of Python?


My usual example - object allocation into a specific
shared memory arena.  C++ lets me create objects in
a given space on a per-object basis.  This is handy
when you want to share the data amoung different
processors.  It was little more than derive a new
class with the new allocator, and put a few mutexes
so the client tasks wait for updates.

That's something I've need, oh, once every five years,
so I mostly stick with Python :)

                    Andrew Dalke
                    dalke at acm.org






More information about the Python-list mailing list