Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'compiler': 0.05; 'one?': 0.05; 'converts': 0.07; 'api': 0.09; 'python': 0.09; '"source': 0.09; 'c/c++': 0.09; 'commonly': 0.09; 'sure,': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python- list': 0.10; 'compilers': 0.16; 'general.': 0.16; 'mean,': 0.16; 'wrote:': 0.17; 'stefan': 0.17; 'url:moin': 0.17; 'code,': 0.18; 'sorry,': 0.22; 'cc:2**0': 0.23; 'seems': 0.23; 'project,': 0.24; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header :In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'looks': 0.26; 'url:wiki': 0.26; 'question': 0.27; 'subject:/': 0.28; 'fine': 0.28; 'base,': 0.29; 'url:code': 0.29; 'source': 0.29; 'url:python': 0.32; 'mixed': 0.33; 'anyone': 0.33; 'another': 0.33; 'received:google.com': 0.34; 'similar': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'really': 0.36; 'but': 0.36; 'url:org': 0.36; 'totally': 0.36; 'too': 0.36; 'enough': 0.36; 'why': 0.37; 'received:209': 0.37; 'received:209.85.216': 0.37; 'subject:: ': 0.38; 'instead': 0.39; 'july': 0.60; 'bring': 0.62; 'here:': 0.62; 'url:p': 0.63; 'different': 0.63; 'harder': 0.65; 'goal': 0.74; '"just': 0.84; 'received:209.85.216.184': 0.84; 'subject:source': 0.84; 'subject:looking': 0.91 Newsgroups: comp.lang.python Date: Sat, 1 Sep 2012 20:15:19 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=122.167.217.12; posting-account=uPFZNQoAAAAm9w7z13q1SjWNKNjztdcD References: <16816fd5-c6b4-49df-baf0-e0bfb0d999df@googlegroups.com> <1409e6f3-b265-4329-9618-c06f8098fef3@t1g2000pbl.googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 122.167.217.12 MIME-Version: 1.0 Subject: Re: py2c - an open source Python to C/C++ is looking for developers From: Ramchandra Apte To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org 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: , Message-ID: Lines: 54 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1346555723 news.xs4all.nl 6851 [2001:888:2000:d::a6]:59685 X-Complaints-To: abuse@xs4all.nl Path: csiph.com!usenet.pasdenom.info!news.stben.net!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!border6.a.newsrouter.astraweb.com!news.astraweb.com!border5.a.newsrouter.astraweb.com!hq-usenetpeers.eweka.nl!81.171.88.250.MISMATCH!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Xref: csiph.com comp.lang.python:28234 On Tuesday, 31 July 2012 18:16:27 UTC+5:30, Stefan Behnel wrote: > Stefan Behnel, 31.07.2012 07:23: > > > From a look at the source code, it seems hard to bring it together with > > > anything. It looks very monolithic. > > > > Hmm, sorry, I mixed it up with "2c.py", which is yet another of those > > Python-to-C compilers with an all too similar name. > > > > https://code.google.com/p/2c-python/ > > > > There are a couple of others here: > > > > http://wiki.python.org/moin/PythonImplementations > > > > Seeing the number of those compilers, almost none of which is commonly used > > and/or still alive as a project, the question really is: why another one? > > > > I mean, it's totally fine as a hobby educational project, sure, and I > > really don't want to discourage anyone from going through this to have fun. > > > > But apart from "just for fun", what is the goal that would make this > > particular compiler different from the others? And also different enough to > > merit its own source base, instead of basing it on one of the existing > > projects? I don't consider "source is harder to read than to write" a good > > answer to this in general. > > > Stefan It converts to *pure* C/C++ *without* using Python or its API so that it can be the same speed as C/C++