Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #76741

Re: Python vs C++

References <CAKUKWzmnnrpm-9SVNAFu3G9vYf2w0ewAhnGeOge8B2NsDujamQ@mail.gmail.com> <CAPTjJmrO7fER7Wjgo6qNO9qHNJgkJ7Y3BFWBf1L=t-bOv4JV7w@mail.gmail.com>
Date 2014-08-21 17:26 +0200
Subject Re: Python vs C++
From David Palao <dpalao.python@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.13253.1408635277.18130.python-list@python.org> (permalink)

Show all headers | View raw


Thank you for the interesting answers.

Just a clarification. Actually for the scope of this question, I
consider C and C++ quite different. At least when they are "properly"
used (eg, you could use C++ as a better C, but this is not C++ in its
full glory).
In my opinion, if all that you want is performance, coding critical
parts in C or Frotran should be enough. Or even Cython. As far as the
fraction of code that turns out to be critical is relatively small.
But C++ is a monster compared to C. And I realize it requires a huge
amount of time and practice to master it. The question is whether is
it worth as a generic approach or not (*). I tend to think that it
isn't that useful.

Best,

David


(*) as some of you already mentioned, you could need C++ for joining a
specific project, for instance. But that would not imply anything
about how well suited is C++ for that particular project.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Python vs C++ David Palao <dpalao.python@gmail.com> - 2014-08-21 17:26 +0200

csiph-web