[swift-dev] swift-dev Digest, Vol 1, Issue 14

vivek pandya vivekvpandya at gmail.com
Mon Dec 7 13:48:18 CST 2015


On Mon, Dec 7, 2015 at 11:30 PM, <swift-dev-request at swift.org> wrote:

> Send swift-dev mailing list submissions to
>         swift-dev at swift.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.swift.org/mailman/listinfo/swift-dev
> or, via email, send a message with subject or body 'help' to
>         swift-dev-request at swift.org
>
> You can reach the person managing the list at
>         swift-dev-owner at swift.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of swift-dev digest..."
>
>
> Today's Topics:
>
>    1. Swift REPL don't functions on Ubuntu 14.04 LTS (Piero Sabino)
>    2. Radar numbers in FIXME comments (Joe Ranieri)
>    3. Re: Radar numbers in FIXME comments (Dmitri Gribenko)
>    4. Starter project: SR-2: Build configuration directives can not
>       wrap switch cases (Dmitri Gribenko)
>    5. Re: Verify failed (Dmitri Gribenko)
>    6. Path Swift (Piero Sabino)
>    7. Re: Starter project: Remove old mirrors (Joe Groff)
>    8. Re: Starter project: SR-2: Build configuration directives can
>       not wrap switch cases (Meador Inge)
>    9. Starter project: Port Swift to RHEL 7 / CentOS 7 /        Scientific
>       Linux 7 (Dmitri Gribenko)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 06 Dec 2015 18:47:56 +0000 (GMT)
> From: Piero Sabino <piero.sa at icloud.com>
> To: swift-dev at swift.org
> Subject: [swift-dev] Swift REPL don't functions on Ubuntu 14.04 LTS
> Message-ID: <7e98bf79-d12f-48d9-aaec-d32fad7b55b9 at me.com>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://lists.swift.org/pipermail/swift-dev/attachments/20151206/a78ddef0/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Sun, 6 Dec 2015 17:37:41 -0500
> From: Joe Ranieri <joe at alacatialabs.com>
> To: swift-dev at swift.org
> Subject: [swift-dev] Radar numbers in FIXME comments
> Message-ID:
>         <CAAP4hYB5-6a+TTksPQxALXJst_V6UnQKrP6Lqt=
> D-T45rM4Uww at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> There are a small number of places in the code where FIXMEs reference
> radar numbers. Is it possible for the important details from these
> radars to be put into publicly visible Github issues to be tracked and
> referenced by the open source community?
>
> -- Joe Ranieri
>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 6 Dec 2015 14:50:24 -0800
> From: Dmitri Gribenko <gribozavr at gmail.com>
> To: Joe Ranieri <joe at alacatialabs.com>
> Cc: swift-dev <swift-dev at swift.org>
> Subject: Re: [swift-dev] Radar numbers in FIXME comments
> Message-ID:
>         <
> CA+Y5xYdcjQGdKi+0ifyOsqmdCscaeYxCYOwKziG7iwjP8OjvTA at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Sun, Dec 6, 2015 at 2:37 PM, Joe Ranieri via swift-dev
> <swift-dev at swift.org> wrote:
> > There are a small number of places in the code where FIXMEs reference
> > radar numbers. Is it possible for the important details from these
> > radars to be put into publicly visible Github issues to be tracked and
> > referenced by the open source community?
>
> Hi Joe,
>
> Definitely!  If you see a particular one that you want to know more
> about, please email swift-dev, and we will create an equivalent issue
> on bugs.swift.org.  Migrating all radar references to bugs.swift.org
> would take a lot of work though, so we prefer the lazy evaluation
> approach.
>
> Dmitri
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
>
>
> ------------------------------
>
> Message: 4
> Date: Sun, 6 Dec 2015 15:04:34 -0800
> From: Dmitri Gribenko <gribozavr at gmail.com>
> To: swift-dev <swift-dev at swift.org>
> Subject: [swift-dev] Starter project: SR-2: Build configuration
>         directives can not wrap switch cases
> Message-ID:
>         <CA+Y5xYd=
> wOE35bTuCAskg6wGaAAAmL3PCs95X7R0mEEMsT4M7Q at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi,
>
> If you're looking for a starter project in the frontend area (parser
> in this case), here is one.
>
> https://bugs.swift.org/browse/SR-2
>
> This code should be accepted, but it is rejected now:
>
> switch 10 {
>   case 10:
>     break
> #if FOO
>   case 20:
>     break
> #endif
> }
>
> $ swiftc /tmp/a.swift
> /tmp/a.swift:5:3: error: 'case' label can only appear inside a
> 'switch' statement
>   case 20:
>   ^
>
> Dmitri
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
>
>
> ------------------------------
>
> Message: 5
> Date: Sun, 6 Dec 2015 16:01:32 -0800
> From: Dmitri Gribenko <gribozavr at gmail.com>
> To: Piero Sabino <piero.sa at icloud.com>
> Cc: swift-dev <swift-dev at swift.org>
> Subject: Re: [swift-dev] Verify failed
> Message-ID:
>         <CA+Y5xYfiJMg5fd5rmies5i6=xxntzRfdX=
> Y9HVr_k13+KAoC-A at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Sun, Dec 6, 2015 at 9:08 AM, Piero Sabino via swift-dev
> <swift-dev at swift.org> wrote:
> > Yes, I've downloaded signature file and swift in the same directory.
>
> Could you post the actual error message, and SHA1 hashes of the files?
>
> Dmitri
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
>
>
> ------------------------------
>
> Message: 6
> Date: Mon, 07 Dec 2015 13:06:58 +0000 (GMT)
> From: Piero Sabino <piero.sa at icloud.com>
> To: swift-dev at swift.org
> Subject: [swift-dev] Path Swift
> Message-ID: <5e0fe809-5b09-4636-9288-409c15110f9c at me.com>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Where I have to change the path of Swift?
> Terminal or folder?
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://lists.swift.org/pipermail/swift-dev/attachments/20151207/5869d6b3/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 7
> Date: Mon, 07 Dec 2015 09:01:16 -0800
> From: Joe Groff <jgroff at apple.com>
> To: Dmitri Gribenko <gribozavr at gmail.com>
> Cc: swift-dev <swift-dev at swift.org>
> Subject: Re: [swift-dev] Starter project: Remove old mirrors
> Message-ID: <8E1F508E-D3B3-4DED-9C37-919472EB995B at apple.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> > On Dec 6, 2015, at 2:20 AM, Dmitri Gribenko via swift-dev <
> swift-dev at swift.org> wrote:
> >
> > We need new runtime entry points that make sense for the new mirror
> > implementation.  The current entry points (the _reflect() function and
> > all its implementation details) directly depend on the old mirrors.
> > This step is slightly harder, but not doesn't require extraordinary
> > skills.  This part requires writing a proposal, because the runtime
> > API is going to be stable.
>
>
> Note that I'm already working on this part. The Swift runtime needs to
> provide low-level reflection interfaces that allow the standard library to
> implement Mirror without depending on private runtime ABI.
>
> -Joe
>
> ------------------------------
>
> Message: 8
> Date: Mon, 7 Dec 2015 11:04:05 -0600
> From: Meador Inge <meadori at gmail.com>
> To: Dmitri Gribenko <gribozavr at gmail.com>
> Cc: swift-dev <swift-dev at swift.org>
> Subject: Re: [swift-dev] Starter project: SR-2: Build configuration
>         directives can not wrap switch cases
> Message-ID:
>         <
> CAK1QoorB7w7T-FZcjho7eNntS6OtG-hpuVpG4g_-KphSD96YMw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> On Sun, Dec 6, 2015 at 5:04 PM, Dmitri Gribenko via swift-dev <
> swift-dev at swift.org> wrote:
>
> Hi,
> >
> > If you're looking for a starter project in the frontend area (parser
> > in this case), here is one.
> >
> > https://bugs.swift.org/browse/SR-2
> >
> > This code should be accepted, but it is rejected now:
> >
> > switch 10 {
> >   case 10:
> >     break
> > #if FOO
> >   case 20:
> >     break
> > #endif
> > }
> >
> > $ swiftc /tmp/a.swift
> > /tmp/a.swift:5:3: error: 'case' label can only appear inside a
> > 'switch' statement
> >   case 20:
> >   ^
> >
>
> I will take a look at this one.
>
> Cheers,
>
> -- Meador
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://lists.swift.org/pipermail/swift-dev/attachments/20151207/715ce305/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 9
> Date: Mon, 7 Dec 2015 09:47:15 -0800
> From: Dmitri Gribenko <gribozavr at gmail.com>
> To: swift-dev <swift-dev at swift.org>
> Subject: [swift-dev] Starter project: Port Swift to RHEL 7 / CentOS 7
>         /       Scientific Linux 7
> Message-ID:
>         <CA+Y5xYc3OqmC6MdQXYTBp=
> knjBHy1b85G9N-eZ6s5_ES9RfdVg at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi,
>
> RHEL 7 and CentOS 7 are widely used as server operating systems, and
> porting Swift to these distributions would benefit many community
> members.  It should be relatively easy to do, since RHEL 7 is
> fundamentally another Linux system that uses the same basic libraries
> as other Linux ports we already (Glibc, libstdc++), and the library
> versions are more or less recent.
>
> This project is an easy way to become familiar with the build system,
> and various components of the project, and to start contributing!
>

    I am interested to take up this project but I don't have any such
experience of porting.
 Could you please provide how do I start ?
- Vivek



> https://bugs.swift.org/browse/SR-108
>
> Dmitri
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
>
>
> ------------------------------
>
> _______________________________________________
> swift-dev mailing list
> swift-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev
>
>
> End of swift-dev Digest, Vol 1, Issue 14
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20151208/f47f171a/attachment.html>


More information about the swift-dev mailing list