<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Please whoever is doing the windows port, please drop me an email and let me know how things are going, what challenges you're facing etc. I'd like to get you a little publicity. (Also happy to write about any other dev-specific challenges for the language, not just Windows.)</div><div class=""><br class=""></div><div class="">Cheers, -- Erica</div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On Apr 27, 2016, at 6:25 PM, Han via swift-dev &lt;<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="auto" class=""><div class="">I was busy. Before cleaning build procedure, I merged recent snapshot, and resolving conflict, &nbsp;followed up some bug, modified and checked Cygwin build. Now in cleaning build procedure for MSVC, I decided to change&nbsp;the cmake generator to Ninja from MSBuild - it is more faster when recompiling.</div><div class=""><br class=""></div><div class="">It will be finished in soon. But don't expect too much, ... you should use hexa editor to build the static library.</div><div class=""><br class=""></div><div class="">- Han Sangjin</div><div class=""><br class="">2016. 4. 28. 6:09 Joel Van Eenwyk &lt;<a href="mailto:joel.vaneenwyk@gmail.com" class="">joel.vaneenwyk@gmail.com</a>&gt; :<br class=""><br class=""></div><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div lang="EN-US" link="blue" vlink="purple" class=""><div class=""><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d" class="">Hi Han,<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d" class=""><u class=""></u>&nbsp;<u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d" class="">I’ve synced and ready to help out on this.<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d" class=""><u class=""></u>&nbsp;<u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d" class="">“For building MSVC port, it will be better waiting several days until I prepare a draft build manual - current build description is too dirty (/<span class="">misc</span>/Build_msvc.txt).”<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d" class=""><u class=""></u>&nbsp;<u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d" class="">Any updates on this?</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d" class=""><a name="m_4695428887972579702_m_-6179875563934254525__MailEndCompose" class=""><br class=""></a></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d" class=""><a name="m_4695428887972579702_m_-6179875563934254525__MailEndCompose" class="">--Joel</a></span></p><p class="MsoNormal"><span class=""><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d" class=""><u class=""></u>&nbsp;<u class=""></u></span></span></p><span class=""></span><p class="MsoNormal"><a name="m_4695428887972579702_m_-6179875563934254525__MailOriginal" class=""><b class=""><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif" class="">From:</span></b></a><span class=""><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif" class=""> Shawn Erickson [mailto:<a href="mailto:shawnce@gmail.com" target="_blank" class="">shawnce@gmail.com</a>] <br class=""><b class="">Sent:</b> Friday, April 22, 2016 8:27 AM<br class=""><b class="">To:</b> Sangjin Han &lt;<a href="mailto:tinysun.net@gmail.com" target="_blank" class="">tinysun.net@gmail.com</a>&gt;; Joel Van Eenwyk &lt;<a href="mailto:joel.vaneenwyk@gmail.com" target="_blank" class="">joel.vaneenwyk@gmail.com</a>&gt;<br class=""><b class="">Cc:</b> swift-dev &lt;<a href="mailto:swift-dev@swift.org" target="_blank" class="">swift-dev@swift.org</a>&gt;<br class=""><b class="">Subject:</b> Re: [swift-dev] Swift port to Windows : Offering help!<u class=""></u><u class=""></u></span></span></p><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p><div class=""><p class="MsoNormal"><span class="">Trying to get back on PR1950 today.. fighting to get things building again after a recent update-checkout.<u class=""></u><u class=""></u></span></p><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal" style="margin-bottom:12.0pt"><span class="">-Shawn<u class=""></u><u class=""></u></span></p><div class=""><div class=""><p class="MsoNormal"><span class="">On Thu, Apr 21, 2016 at 7:18 PM Sangjin Han via swift-dev &lt;</span><a href="mailto:swift-dev@swift.org" target="_blank" class=""><span class="">swift-dev@swift.org</span><span class=""></span></a><span class="">&gt; wrote:<u class=""></u><u class=""></u></span></p></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in" class=""><div class=""><div class=""><p class="MsoNormal"><span class="">Hi Joel,<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">I list some URLs.<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">Bug/Feature report in </span><a href="http://bugs.swift.org/" target="_blank" class=""><span class="">http://bugs.swift.org</span><span class=""></span></a><span class=""><u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">-------------------------------------------<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">SR-34 Port Swift to Windows (</span><a href="https://bugs.swift.org/browse/SR-34" target="_blank" class=""><span class="">https://bugs.swift.org/browse/SR-34</span><span class=""></span></a><span class="">)<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">SR-612 In Cygwin port, print() crashed at hook (</span><a href="https://bugs.swift.org/browse/SR-612" target="_blank" class=""><span class="">https://bugs.swift.org/browse/SR-612</span><span class=""></span></a><span class="">)<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">SR-1128 autolink extraction does not work on Cygwin (</span><a href="https://bugs.swift.org/browse/SR-1128" target="_blank" class=""><span class="">https://bugs.swift.org/browse/SR-1128</span><span class=""></span></a><span class="">)<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">SR-1131 Build script for MSVC on Windows (</span><a href="https://bugs.swift.org/browse/SR-1131" target="_blank" class=""><span class="">https://bugs.swift.org/browse/SR-1131</span><span class=""></span></a><span class="">)<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">Pull Requsts in </span><a href="http://github.com/apple/swift" target="_blank" class=""><span class="">http://github.com/apple/swift</span><span class=""></span></a><span class="">&nbsp;<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">---------------------------------------------<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">[stdlib/msvc] Runtime with MSVC library (</span><a href="https://github.com/apple/swift/pull/1918" target="_blank" class=""><span class="">https://github.com/apple/swift/pull/1918</span><span class=""></span></a><span class="">)<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">-- Currently working on. Waiting passing PR #1950.<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">[swiftc/msvc] Compiling with MSVC library (</span><a href="https://github.com/apple/swift/pull/1516" target="_blank" class=""><span class="">https://github.com/apple/swift/pull/1516</span><span class=""></span></a><span class="">)<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">-- Waiting some more opinions or reviews.<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">[runtime] enhanced and refactored recently added Mutex abstraction (</span><a href="https://github.com/apple/swift/pull/1950" target="_blank" class=""><span class="">https://github.com/apple/swift/pull/1950</span><span class=""></span></a><span class="">)<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">-- This is not about porting, but it enhances portability by removing POSIX pthread. After merging, PR #1918 will be more simpler.<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">IRGen: add support for DLL Storage semantics (</span><a href="https://github.com/apple/swift/pull/2080" target="_blank" class=""><span class="">https://github.com/apple/swift/pull/2080</span><span class=""></span></a><span class="">)<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">-- I think this is the most important topic for Windows/MSVC porting, but not Cygwin port.<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">Issues in Mailing list<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">----------------------<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">Subject: "swift (ABI) and Windows" in </span><a href="https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20160404/subject.html" target="_blank" class=""><span class="">https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20160404/subject.html</span><span class=""></span></a><span class=""> and &nbsp;</span><a href="https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20160411/subject.html" target="_blank" class=""><span class="">https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20160411/subject.html</span><span class=""></span></a><span class="">&nbsp;<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">Subject: "long double usage in swift" in </span><a href="https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20160321/subject.html" target="_blank" class=""><span class="">https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20160321/subject.html</span><span class=""></span></a><span class=""><u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">My Repo for Patch<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">-----------------<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">Repository: </span><a href="https://github.com/tinysun212/swift-windows/tree/upstream-with-windows" target="_blank" class=""><span class="">https://github.com/tinysun212/swift-windows/tree/upstream-with-windows</span><span class=""></span></a><span class=""><u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">binary for MSVC: </span><a href="https://github.com/tinysun212/swift-windows/releases/tag/swift-msvc-20160418" target="_blank" class=""><span class="">https://github.com/tinysun212/swift-windows/releases/tag/swift-msvc-20160418</span><span class=""></span></a><span class=""><u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">binary for Cygwin: </span><a href="https://github.com/tinysun212/swift-windows-bin/tree/master/swift-cygwin" target="_blank" class=""><span class="">https://github.com/tinysun212/swift-windows-bin/tree/master/swift-cygwin</span><span class=""></span></a><span class=""><u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">Help<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">----<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">If you are also interested in Cygwin port, it is also very helpful to verify/check the build manual (it is placed at /BUILD-CYGWIN-64.md in root of my repo), so that we make a PR for master, and everyone build the Cygwin port without my forked repo.<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">For building MSVC port, it will be better waiting several days until I prepare a draft build manual - current build description is too dirty (/misc/Build_msvc.txt).<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">If you once run the compilers, you can see they are lack compared to Linux or OS X.<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">All of that is only on swift port. For swift-lldb, swift-corelibs-foundation, swift-corelibs-libdispatch, I have not touched at all.<u class=""></u><u class=""></u></span></p></div></div><div class=""><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">Han Sangjin<u class=""></u><u class=""></u></span></p></div></div><div class=""><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><div class=""><p class="MsoNormal"><span class="">2016-04-22 8:20 GMT+09:00 Joel Van Eenwyk &lt;</span><a href="mailto:joel.vaneenwyk@gmail.com" target="_blank" class=""><span class="">joel.vaneenwyk@gmail.com</span><span class=""></span></a><span class="">&gt;:<u class=""></u><u class=""></u></span></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in" class=""><div class=""><p class="MsoNormal"><span class="">Hi Han,<u class=""></u><u class=""></u></span></p><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">Thanks for the details! Do you have a custom fork or branch with these changes? I'd love to be able to test this out and contribute if you think that could help you out. I can get started on testing what you have now as soon as tomorrow.<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">Cheers,<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">--Joel<u class=""></u><u class=""></u></span></p></div></div><div class=""><div class=""><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p><div class=""><p class="MsoNormal"><span class="">On Thu, Apr 21, 2016 at 4:15 PM, Sangjin Han via swift-dev &lt;</span><a href="mailto:swift-dev@swift.org" target="_blank" class=""><span class="">swift-dev@swift.org</span><span class=""></span></a><span class="">&gt; wrote:<u class=""></u><u class=""></u></span></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in" class=""><div class=""><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">I'm writing code for Windows/Cygwin port on my free time. There is no well documented information about that. Instead I'll give you some information and several links for you.<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">1. Cygwin port<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">&nbsp; Cygwin is a POSIX environment on Windows. Porting to Cygwin is relatively easer than Windows native. This is x86_64-unknown-windows-cygwin in llvm target name.<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">&nbsp;&nbsp;<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">&nbsp; Currently, you can build the swift compiler and standard library if you applying my 'informal' hacked patch and build manual.<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">&nbsp;&nbsp;<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">&nbsp; To-be tasks are verifying and sharing the build manual, porting the autolink-extract module, passing failed test code, etc.<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">&nbsp;&nbsp;<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">2. Window port<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">&nbsp; This is x86_64-pc-windows-msvc in llvm target name, so I call this 'Windows with MSVC library' when confusing with Cygwin - Windows with Cygwin DLL. Porting to Windows is harder than Cygwin. Swift source uses C++11 standard with some POSIX functions, GNU extension functions as well as platform specific codes for OS X or Linux, and the build script for Swift supposed to run on BASH shell. To compile the Swift source, we should use the Clang compiler for clang specific feature.<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">&nbsp;&nbsp;<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">&nbsp; Currently, there is a 'informal' compiler that barely compiles Hello.swift.<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">&nbsp;&nbsp;<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">&nbsp; To-be tasks are the solving problems, dllimport/dllexport problem for DLL, build script problem, plus all tasks of Cygwin's.<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class="">I'll give you related links in next post.<u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal"><span class=""><span style="color:#888888" class=""><u class=""></u>&nbsp;<u class=""></u></span></span></p></div><div class=""><p class="MsoNormal"><span class=""><span style="color:#888888" class="">Han Sangjin<u class=""></u><u class=""></u></span></span></p></div><div class=""><p class="MsoNormal"><span class=""><span style="color:#888888" class=""><u class=""></u>&nbsp;<u class=""></u></span></span></p></div></div><div class=""><div class=""><div class=""><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p><div class=""><p class="MsoNormal"><span class="">2016-04-22 3:29 GMT+09:00 Dmitri Gribenko &lt;</span><a href="mailto:gribozavr@gmail.com" target="_blank" class=""><span class="">gribozavr@gmail.com</span><span class=""></span></a><span class="">&gt;:<u class=""></u><u class=""></u></span></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in" class=""><p class="MsoNormal"><span class="">CC'ing Han, the maintainer of the Cygwin port.<u class=""></u><u class=""></u></span></p><div class=""><div class=""><p class="MsoNormal"><span class=""><br class="">On Wed, Apr 20, 2016 at 10:59 PM, Joel Van Eenwyk via swift-dev<br class="">&lt;</span><a href="mailto:swift-dev@swift.org" target="_blank" class=""><span class="">swift-dev@swift.org</span><span class=""></span></a><span class="">&gt; wrote:<br class="">&gt; Hi all,<br class="">&gt;<br class="">&gt; I'm a very new user of Swift and interested in finding ways to contribute to<br class="">&gt; the project. I can happily work with the Linux port of the project, but I<br class="">&gt; have a lot of Windows development experience and would probably be most<br class="">&gt; useful there. Where can I find information about the current status of a<br class="">&gt; Windows port (if any)? Perhaps I'm blind but finding any 'official'<br class="">&gt; information about a Windows version has been quite tricky. :)<br class="">&gt;<br class="">&gt; For background on me, I'm primarily a game programmer and the company I work<br class="">&gt; for (Havok) recently got acquired by Microsoft. Working on some open source<br class="">&gt; projects is just something I'm interested in exploring in my free time.<br class="">&gt;<br class="">&gt; All the best,<br class="">&gt;<br class="">&gt; --Joel<br class="">&gt;<u class=""></u><u class=""></u></span></p></div></div><p class="MsoNormal"><span class="">&gt; _______________________________________________<br class="">&gt; swift-dev mailing list<br class="">&gt; </span><a href="mailto:swift-dev@swift.org" target="_blank" class=""><span class="">swift-dev@swift.org</span><span class=""></span></a><span class=""><br class="">&gt; </span><a href="https://lists.swift.org/mailman/listinfo/swift-dev" target="_blank" class=""><span class="">https://lists.swift.org/mailman/listinfo/swift-dev</span><span class=""></span></a><span class=""><br class="">&gt;<br class=""><span style="color:#888888" class=""><br class=""><br class=""><br class="">--<br class="">main(i,j){for(i=2;;i++){for(j=2;j&lt;i;j++){if(!(i%j)){j=0;break;}}if<br class="">(j){printf("%d\n",i);}}} /*Dmitri Gribenko &lt;</span></span><a href="mailto:gribozavr@gmail.com" target="_blank" class=""><span class="">gribozavr@gmail.com</span><span class=""></span></a><span class=""><span style="color:#888888" class="">&gt;*/</span><u class=""></u><u class=""></u></span></p></blockquote></div><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><span class=""><br class="">_______________________________________________<br class="">swift-dev mailing list<br class=""></span><a href="mailto:swift-dev@swift.org" target="_blank" class=""><span class="">swift-dev@swift.org</span><span class=""></span></a><span class=""><br class=""></span><a href="https://lists.swift.org/mailman/listinfo/swift-dev" target="_blank" class=""><span class="">https://lists.swift.org/mailman/listinfo/swift-dev</span><span class=""></span></a><span class=""><u class=""></u><u class=""></u></span></p></blockquote></div><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div></div></div></blockquote></div><p class="MsoNormal"><span class=""><u class=""></u>&nbsp;<u class=""></u></span></p></div></div><p class="MsoNormal"><span class="">_______________________________________________<br class="">swift-dev mailing list<br class=""></span><a href="mailto:swift-dev@swift.org" target="_blank" class=""><span class="">swift-dev@swift.org</span><span class=""></span></a><span class=""><br class=""></span><a href="https://lists.swift.org/mailman/listinfo/swift-dev" target="_blank" class=""><span class="">https://lists.swift.org/mailman/listinfo/swift-dev</span><span class=""></span></a><span class=""></span><u class=""></u><u class=""></u></p></blockquote></div></div></div></div></div></div>
</div></blockquote></div>_______________________________________________<br class="">swift-dev mailing list<br class=""><a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-dev<br class=""></div></blockquote></div><br class=""></body></html>