Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; '(even': 0.05; 'model,': 0.05; 'subject:Python': 0.06; 'great.': 0.07; 'scalability': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '"python': 0.16; '(it': 0.16; 'dislike': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'jr.': 0.16; 'other,': 0.16; 'personally,': 0.16; 'sure.': 0.16; 'unicode.': 0.16; 'win,': 0.16; 'hire': 0.16; 'language': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'bit': 0.19; 'aug': 0.22; 'portion': 0.22; 'cc:addr:python.org': 0.22; 'large,': 0.24; 'lets': 0.24; 'text,': 0.24; 'mon,': 0.24; '(or': 0.24; 'cc:2**0': 0.24; 'communities': 0.26; 'compiled': 0.26; 'header:In-Reply-To:1': 0.27; 'character': 0.29; "doesn't": 0.30; 'characters': 0.30; 'moved': 0.30; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'easier': 0.31; '25,': 0.31; 'boundary': 0.31; 'correctly.': 0.31; 'fans': 0.31; 'staying': 0.31; 'checked': 0.32; 'stuff': 0.32; 'another': 0.32; 'text': 0.33; 'running': 0.33; 'style': 0.33; 'could': 0.34; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; 'done': 0.36; 'doing': 0.36; 'application': 0.37; 'needed': 0.38; 'pm,': 0.38; 'that,': 0.38; 'does': 0.39; 'bill': 0.39; 'sure': 0.39; 'changed': 0.39; 'entire': 0.61; 'matter': 0.61; 'you.': 0.62; 'networking': 0.64; 'income': 0.65; 'sam': 0.68; '100%': 0.77; 'yourself': 0.78; 'around,': 0.84; 'gains': 0.84; 'much,': 0.84; 'stronger': 0.84; 'aws': 0.91; 'browsing': 0.91; 'to:none': 0.92 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:cc :content-type; bh=Ic74XcVVO1+8/M5A3YY4w8srxOYGM7wUrGTsXEY3Yrs=; b=coBKVf2z7rjOaTd2mhvl8RFfTuOpUIHtSM2qje4pBeGECs5xHqbouybEvS1nJoRjqd KEBbxRLLRYBPV0IaiO8zQ15cuLOwXKq+4ND1a21PGktvbVdJpUV40NSgaiSyeZ63sZpO Ejf2si6rtgVFmSkSUBq0Ykg1/owQrCIcEKvU4zG7Z5kyfUDw2IWRUfJYxawaI+IR1UTJ h0C4yNZzvAJmjwn082MGwLuTh9ypG+sfQlmnxYLWM9AEyg7kcQNmhZwfws0MlatWA42K bdvzY1lghyEt7q3Ypi8wDGuNx/cwuto5fkBra0/T8FxmSfPDzOPrAS8c44dH50Gd5Doy iMUA== MIME-Version: 1.0 X-Received: by 10.50.176.169 with SMTP id cj9mr12927639igc.14.1408938100044; Sun, 24 Aug 2014 20:41:40 -0700 (PDT) In-Reply-To: References: Date: Mon, 25 Aug 2014 13:41:39 +1000 Subject: Re: GO vs Python From: Chris Angelico Cc: "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: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1408938102 news.xs4all.nl 2867 [2001:888:2000:d::a6]:34618 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:76962 On Mon, Aug 25, 2014 at 1:27 PM, Sam Fourman Jr. wrote: > I remember doing some browsing around, and the pooco people that make jinja2 > were not fans of python3(I forget the blog post), I got scared because a > very large portion of my income was based on a single client... So since we > were having scalability issues anyway, I moved them to GO, and it was a Win > - Win, the GO standard lib does so much, and the scalability gains we > received over python were so large, that we were able to reduce out AWS bill > so much that I could hire another coder. There are some communities that, for some reason or other, dislike Python 3. That doesn't mean you have to. The Py2 model is a bit easier for boundary code (it lets you stuff your fingers in your ears and go "LALALALALA there are no character encodings"), but the Py3 model is way easier for application code. Text is text, no matter what characters it has in it. > I really like python, and we use it a ton, but a python like compiled > language did wonders for us when we needed it most. Sure. And your reduction of AWS bills sounds great. Just make sure you don't consume the entire extra coder's time doing things that Python would have done for you. Go's character model is inferior to Python 3's (or at least, it was last time I checked - stuff might have changed since then), so you may find yourself doing a lot of unnecessary work to make sure your code works correctly. Do be sure to test everything thoroughly, with characters from all over Unicode. Personally, when I want "Python but faster", I go to Pike. Same character/string model (even the same style of internal representation), same broad object model, but a stronger focus on networking and on staying running 100% of the time. ChrisA