martin at v.loewis.de wrote: > Zitat von Ulrich Berning <ulrich.berning at denviso.de>: > >> 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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4