Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.06; 'c++,': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'c++.': 0.16; 'guru': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'all,': 0.19; 'memory': 0.22; 'header:User-Agent:1': 0.23; 'library,': 0.24; 'header:X -Complaints-To:1': 0.27; 'writes:': 0.31; 'quite': 0.32; 'running': 0.33; 'but': 0.35; 'c++': 0.36; 'templates': 0.36; 'charset:us-ascii': 0.36; 'level': 0.37; 'christian': 0.38; 'e.g.': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'easy': 0.60; 'access,': 0.60; 'received:217': 0.63; 'direct': 0.67; 'facilities': 0.69; 'loose': 0.84; 'hand,': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: dieter Subject: Re: Python vs C++ Date: Sat, 23 Aug 2014 07:48:24 +0200 References: <87fvgoj2i8.fsf@elektro.pacujo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Gmane-NNTP-Posting-Host: pd9e0960e.dip0.t-ipconnect.de User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux) Cancel-Lock: sha1:bfnnvfd20/IGk4g3Sf36793LwR8= 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: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1408772933 news.xs4all.nl 2927 [2001:888:2000:d::a6]:55212 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:76841 Christian Gollwitzer writes: > ... > * Java: I don't see that it is much higher level than C++. It has a > GC, but that's all, and you can have that in C++, too, if you want. On > the other hand, you loose the metaprogramming facilities provided by > C++ templates (needs a guru to make a library, but can be handy and > easy to use, e.g. everything in Boost). You loose direct memory > access, gaining what? no idea. Automatic memory compaction -- which can be quite helpfull with long running applications (avoiding memory fragmentation).