Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Michael Torrie Newsgroups: comp.lang.python Subject: Re: The Cost of Dynamism (was Re: Pyhon 2.x or 3.x, which is faster?) Date: Thu, 24 Mar 2016 13:49:44 -0600 Lines: 22 Message-ID: References: <56e44258$0$1598$c3e8da3$5496439d@news.astraweb.com> <8737rvxs89.fsf@elektro.pacujo.net> <56e7483d$0$1608$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de vQ+hxGbOWUM/X3/R2vHULggDHwdM1TNdtSjSpEDbxPZg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'that?': 0.05; 'bits': 0.07; 'shame': 0.09; 'subject:which': 0.09; 'python': 0.10; 'python.': 0.11; 'syntax': 0.13; 'url:)': 0.14; '2016': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:?)': 0.16; 'trade-offs': 0.16; 'wrote:': 0.16; 'looked': 0.16; '>>>': 0.20; 'made.': 0.22; 'am,': 0.23; 'leave': 0.23; 'bit': 0.23; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'filled': 0.30; 'maybe': 0.33; 'useful': 0.33; 'message- id:@gmail.com': 0.34; 'languages': 0.34; 'something': 0.35; 'url:org': 0.36; 'lines': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'things': 0.38; 'along': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'subject:The': 0.61; 'charset:windows-1252': 0.62; 'more': 0.63; 'here:': 0.63; 'march': 0.64; 'you.': 0.64; '20,': 0.66; 'batchelder': 0.84; 'utc-4,': 0.84 X-Virus-Scanned: amavisd-new at torriefamily.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:105648 On 03/21/2016 06:43 AM, BartC wrote: > On 21/03/2016 12:08, Ned Batchelder wrote: >> On Sunday, March 20, 2016 at 9:15:32 PM UTC-4, BartC wrote: >>> >>> A tokeniser along those lines in Python, with most of the bits filled >>> in, is here: >>> >>> http://pastebin.com/dtM8WnFZ >>> >> >> Bart, we get it: you don't like the trade-offs that Python has made. > ... >> You don't like Python. Can we leave it at that? > > On the contrary, I do like it. It's just a shame it's made those > trade-offs as a bit more speed would have made it more useful to me. Have you looked at compiled, python-inspired languages like Num (http://nim-lang.org/). If it's syntax you like and some other Python things like for the for loop works, maybe something like this would be useful to you.