Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.tele.dk!news.tele.dk!small.news.tele.dk!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.072 X-Spam-Evidence: '*H*': 0.86; '*S*': 0.00; 'subject:Python': 0.06; 'subject:Questions': 0.07; 'output,': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'slow,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'producing': 0.19; 'versions': 0.24; 'compare': 0.26; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'anyone': 0.31; 'actual': 0.34; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'nov': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; '12,': 0.39; 'to:addr:python.org': 0.39; 'enough': 0.39; 'simple': 0.61; "you're": 0.61; 'such': 0.63; 'more': 0.64; 'world': 0.66; 'subject:. ': 0.67; 'subject:2013': 0.95; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Yy1JElAqgBodiwjKlO/czFkFLwWmYLfL3/CO731CCVo=; b=SOMK9DD7zoKYAU14hmQiAHv2mTWkYnZnJmyFm4jcffa9hGeKwIAV3W6Q2sCAG9Z1wq FiFY+P8q+HvoHL+oX6wCQIHjun00GPFCLcN+4Ff9LEEXeIptET1FGoB+UTSbaWSG/Llp 6BwvEihskpjJUvS34IaX198RkkK4AXlySJLO9IF997/nTHEIYvx9o6CjdRLfuc/UfqZ3 L48OVD7gpgWWtllobXwBrQxjfJ1NLRfu7pTELTBtLRFIlLdKmpNlhjh1eMgNAvKzjnZz eHiwJsVdTTxFPHS0R71DWYmStDv/Ni1+0WZ+jRZijjko5e+uGdQB5aKacVXps5ospSeN DYuA== MIME-Version: 1.0 X-Received: by 10.68.130.39 with SMTP id ob7mr14971232pbb.63.1384297528556; Tue, 12 Nov 2013 15:05:28 -0800 (PST) In-Reply-To: References: Date: Wed, 13 Nov 2013 10:05:28 +1100 Subject: Re: Basic Python Questions - Oct. 31, 2013 From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1384297531 news.xs4all.nl 15989 [2001:888:2000:d::a6]:58319 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:59252 On Tue, Nov 12, 2013 at 9:21 PM, E.D.G. wrote: > The point is, when people want to make some computer program available > for use by others around the world they might want to circulate a version of > their program that has such a simple format that anyone can understand it. > And for actual use they can generate parallel versions that have more > efficient code that people who are working with that language can > understand. Sounds to me like something out of cryptography. You have a "reference implementation" that's slow, readable, and straight-forward, and then you have "optimized implementations" that are actually fast enough to use - but if any time you want to know if you're producing the right output, you just compare against the reference implementation. ChrisA