[EMAIL PROTECTED] wrote: > Zitat von Ulrich Berning <[EMAIL PROTECTED]>: > >> I can't see many advantages in moving to C++, but a lot of disadvantages: > > There are a few advantages, though, mainly: > - increased type-safety, in particular for API that isn't type-checked > at all at the moment (e.g. PyArg_ParseTuple) > - more reliable reference counting, due to destructors of local > variables
Indeed, smart pointers should get rid of most reference counting problems. > - "native" exception handling, making exceptions both less error-prone > and possible more efficient. Another advantage might be using inline functions instead of macros with do {foo} while(0). Bye, Walter Dörwald _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com