Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #72543

Re: OT: This Swift thing

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <nicholas.cole@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.061
X-Spam-Evidence '*H*': 0.88; '*S*': 0.00; 'see.': 0.07; 'strict': 0.07; 'logic': 0.09; 'python': 0.11; 'translation': 0.12; 'language.': 0.14; '"python': 0.16; 'logical.': 0.16; 'language': 0.16; '(the': 0.22; 'looks': 0.24; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'message-id:@mail.gmail.com': 0.30; 'libraries': 0.31; 'moment': 0.34; 'table': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'surely': 0.36; 'method': 0.36; 'possible': 0.36; 'clear': 0.37; 'apple': 0.38; 'to:addr:python-list': 0.38; 'rather': 0.38; 'little': 0.38; 'ability': 0.39; 'stock': 0.39; 'to:addr:python.org': 0.39; 'full': 0.61; 'kind': 0.63; 'more': 0.64; 'bridge': 0.65; 'wish': 0.70; 'subject:This': 0.74; 'choices,': 0.84; 'swift': 0.91
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=oep30ef9HCbkhHdvs1nYU/aPa6MZO9RdGxL0X+1WU9Q=; b=HH1bbXufjvhimVYioeVgseTFRZ1hfnRUw0MfHDBPwKaNpcLoaoaNDZf/ioYoRD81fb tg1r1f7iH1XLkjuriT+CBYMYJb94UyO9xcnUlTyZhrKOPGPn3jlrlZ0M3fsyrvdT6udK eFIQPmFDS4j7tzijPQHrOuQqwh6Hzhvn5Jq5je450GdBTSPZCRv2JMA0UburCesUvwFX brojUX/hcbXMmNtdMfT9q3zS/qI2ybrbRPMYVJUDiMdSE3rDFEcD25zWaGXrmT8xjgeq 8LFwCvz34KMjxkOo+7wDfFwlX08NdZWJTeeeuVIic+7fFWBEzgEeFAFtQJD5rbr0OnU3 +7mg==
MIME-Version 1.0
X-Received by 10.68.189.137 with SMTP id gi9mr53854011pbc.79.1401823659884; Tue, 03 Jun 2014 12:27:39 -0700 (PDT)
In-Reply-To <CANc-5UyPyvGJRizcz2f7N=KPvo3TH6LcWGxeSWHbgOm1XvYUuA@mail.gmail.com>
References <34564700423508781.788278sturla.molden-gmail.com@news.gmane.org> <CANc-5UyPyvGJRizcz2f7N=KPvo3TH6LcWGxeSWHbgOm1XvYUuA@mail.gmail.com>
Date Tue, 3 Jun 2014 20:27:39 +0100
Subject Re: OT: This Swift thing
From Nicholas Cole <nicholas.cole@gmail.com>
To Python <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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.10640.1401823664.18130.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1401823664 news.xs4all.nl 2964 [2001:888:2000:d::a6]:55472
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:72543

Show key headers only | View raw


Swift may yet be good for PyObjC (the python bridge to the various
Apple libraries); it is possible that there is some kind of
translation table that PyObjC can make use of to make its own method
names less ugly.

Of course, I wish they had picked Python rather than inventing their
own language.  But Apple put a huge stock in the ability of their
libraries to make full use of multiple cores.  The GIL is surely the
sticking point here. It is also clear (reading the Swift
documentation) that they wanted a script-like language but with strict
typing.

It looks to me like there are a lot of strange design choices, the
logic of which I do not fully see.  I suspect that in a few years they
will have to go through their own "Python 3" moment to make things a
little more logical.

N

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: OT: This Swift thing Nicholas Cole <nicholas.cole@gmail.com> - 2014-06-03 20:27 +0100
  Re: OT: This Swift thing Steven D'Aprano <steve@pearwood.info> - 2014-06-04 04:15 +0000

csiph-web