Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #76744 > unrolled thread
| Started by | Joseph Martinot-Lagarde <joseph.martinot-lagarde@m4x.org> |
|---|---|
| First post | 2014-08-21 20:05 +0200 |
| Last post | 2014-08-21 20:05 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Python vs C++ Joseph Martinot-Lagarde <joseph.martinot-lagarde@m4x.org> - 2014-08-21 20:05 +0200
| From | Joseph Martinot-Lagarde <joseph.martinot-lagarde@m4x.org> |
|---|---|
| Date | 2014-08-21 20:05 +0200 |
| Subject | Re: Python vs C++ |
| Message-ID | <mailman.13255.1408644345.18130.python-list@python.org> |
Le 21/08/2014 15:40, Chris Angelico a écrit : > On Thu, Aug 21, 2014 at 10:54 PM, David Palao <dpalao.python@gmail.com> wrote: >> Why to use C++ instead of python? >> >> This is, perhaps, a bit off-topic, but I really want to know the >> thoughts of experienced python programmers on it. > > No, it's a fair question. Why are we all here? > > The fact is, there's not a huge amount of reason left. If you're > linking against a C++ API, you may find it easiest to do the whole > program in C++, rather than use something like Cython (which, as far > as I'm aware, is C-only) or write a two-part project. And obviously if > you have an existing C++ codebase, then porting it has costs, and > maintaining it is probably better. But for the most part, I would > strongly recommend starting a project in a high level language like > Python unless there's a really compelling reason to do otherwise. C++ > has, of late, been growing a number of features that belong in higher > level languages; but if you want those sorts of features, why not just > grab Python or Pike or something and save yourself the trouble? For information, Cython works with C++ now: http://docs.cython.org/src/userguide/wrapping_CPlusPlus.html. Joseph
Back to top | Article view | comp.lang.python
csiph-web