Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'exercise': 0.04; 'argument': 0.05; 'python)': 0.05; 'subject:Python': 0.06; 'c++,': 0.07; 'wrong,': 0.09; 'python': 0.11; '(when': 0.16; 'broaden': 0.16; 'c++.': 0.16; 'choice).': 0.16; 'programmer,': 0.16; 'language': 0.16; '(not': 0.18; 'bit': 0.19; 'thoughts': 0.19; 'python?': 0.22; 'comparing': 0.24; 'question': 0.24; 'skip:" 40': 0.26; 'task': 0.26; 'least': 0.26; 'skills.': 0.29; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'project:': 0.31; 'though.': 0.31; 'languages': 0.32; 'programmers': 0.33; 'usual': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'c++': 0.36; 'thanks': 0.36; 'to:addr:python-list': 0.38; 'that,': 0.38; 'bad': 0.39; 'to:addr:python.org': 0.39; 'first': 0.61; 'myself': 0.63; 'decided': 0.64; 'deeply': 0.69; 'business.': 0.80; 'favour': 0.91; 'convinced': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=5+cQF5/A3+5NNbQMTYnuKFJpaZTR1RVo2FMd150uysE=; b=GAkphdrC08wgYlrENA4Txkad8u+qrCCoiF4aSZ5woIIBEnNB4C2TzWHbPdLgFy/PYm 0QixBrGyyId5mB38Y0hASlUE3kf9DdEA4RKlPNhbYL6VZ7KLWvAp6aOh0zLO6jy2acrn mCrv9Ywpzn7bWRaPJAkgHtQiSJvF1eygS/lSAz6BidPHd0ud2r79LSUsd8yhs3McUUiP TORA+eycOlS8pLcXL9vUruDoOmzfar27Yy9trmMFQoaZIpkAGWI/1UTBjl6m0mDidpSP NqVWLTl3NvQBhSHuStGN/KBmhdcyRLkJKdlwtD6PBu0Jh8HNzMiyz0JDHFspEM8M7yeA HhIw== MIME-Version: 1.0 X-Received: by 10.194.94.196 with SMTP id de4mr69484188wjb.86.1408625658809; Thu, 21 Aug 2014 05:54:18 -0700 (PDT) Date: Thu, 21 Aug 2014 14:54:18 +0200 Subject: Python vs C++ From: David Palao To: python-list@python.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1408625664 news.xs4all.nl 2925 [2001:888:2000:d::a6]:35603 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:76731 Hello, I consider myself a python programmer, although C++ was one of the first languages I learned (not really deeply and long time ago). Now I decided to retake C++, to broaden my view of the business. However, as I progress in learning C++, I cannot take out of my head one question Why to use C++ instead of python? It is not ranting against C++. I was/am looking for small-medium projects to exercise my C++ skills. But I'm interested in a "genuine" C++ project: some task where C++ is really THE language (and where python is actually a bad ab initio choice). The usual argument in favour of C++ (when comparing to python) is performance. But I'm convinced that, in general, the right approach is "python-profiling-(extension/numpy/Cython/...)". At least for a python programmer. I might be wrong, though. This is, perhaps, a bit off-topic, but I really want to know the thoughts of experienced python programmers on it. Thanks in advance, David