Python Versus C/C++

The following is a list of differences between Python and C/C++:

  • Python's array constructs don't have the same number of problems that arrays written in C have.
  • Most of the memory allocation and reference errors that we easily get when coding C/C++ programs are eliminated as Python performs automatic memory management.
  • Python checks array references for boundary violations.
  • In many cases, developing an application in Python requires much less code than an equivalent application in C.
  • Filed under  //  C/CPP   Python  
    Comments (0)
    Posted