Swift concurrency story on Linux?


(Isaac Gouy) #1

afaict the Swift concurrency story on Apple platforms has been GCD.

What's going to be the Swift concurrency story on Linux?


(Chris Lattner) #2

Correct. The most recent version of libdispatch has been open sourced in https://github.com/apple/swift-corelibs-libdispatch and folks are actively working to improve it on Linux.

-Chris

···

On Dec 23, 2015, at 8:22 AM, Joshua Scott Emmons via swift-users <swift-users@swift.org> wrote:

On Dec 23, 2015, at 10:06 AM, Isaac Gouy via swift-users <swift-users@swift.org> wrote:

afaict the Swift concurrency story on Apple platforms has been GCD.

What's going to be the Swift concurrency story on Linux?

According to Swift.org (https://swift.org/blog/swift-linux-port/), I think GCD (aka libdispatch) is the plan for Linux as well:

"Here are some things that aren’t quite working yet or are planned for the future:

libdispatch: Part of the Core Libraries, updated Linux support is in progress. You can follow development on the libdispatch project on GitHub (https://github.com/apple/swift-corelibs-libdispatch).”


(Joshua Scott Emmons) #3

According to Swift.org (https://swift.org/blog/swift-linux-port/), I think GCD (aka libdispatch) is the plan for Linux as well:

"Here are some things that aren’t quite working yet or are planned for the future:

libdispatch: Part of the Core Libraries, updated Linux support is in progress. You can follow development on the libdispatch project on GitHub (https://github.com/apple/swift-corelibs-libdispatch)."

···

On Dec 23, 2015, at 10:06 AM, Isaac Gouy via swift-users <swift-users@swift.org> wrote:

afaict the Swift concurrency story on Apple platforms has been GCD.

What's going to be the Swift concurrency story on Linux?

--
-jemmons


(Dan Stenmark) #4

What’s the target timeline looking like for a complete GCD implementation? The GitHub page explicitly states that we’re aiming for Foundation to have a complete implementation by Swift 3, but there’s no milestone information for GCD.

(I’m hacking away at NSTask right now, and I keep getting reminded of how much I wish I could use GCD on Linux.)

(Or kqueues. Dammit, Linux.)

Dan

···

On Dec 23, 2015, at 8:39 AM, Chris Lattner via swift-users <swift-users@swift.org> wrote:

On Dec 23, 2015, at 8:22 AM, Joshua Scott Emmons via swift-users <swift-users@swift.org> wrote:

On Dec 23, 2015, at 10:06 AM, Isaac Gouy via swift-users <swift-users@swift.org> wrote:

afaict the Swift concurrency story on Apple platforms has been GCD.

What's going to be the Swift concurrency story on Linux?

According to Swift.org (https://swift.org/blog/swift-linux-port/), I think GCD (aka libdispatch) is the plan for Linux as well:

"Here are some things that aren’t quite working yet or are planned for the future:

libdispatch: Part of the Core Libraries, updated Linux support is in progress. You can follow development on the libdispatch project on GitHub (https://github.com/apple/swift-corelibs-libdispatch).”

Correct. The most recent version of libdispatch has been open sourced in https://github.com/apple/swift-corelibs-libdispatch and folks are actively working to improve it on Linux.

-Chris
_______________________________________________
swift-users mailing list
swift-users@swift.org <mailto:swift-users@swift.org>
https://lists.swift.org/mailman/listinfo/swift-users


(Chris Lattner) #5

What’s the target timeline looking like for a complete GCD implementation? The GitHub page explicitly states that we’re aiming for Foundation to have a complete implementation by Swift 3, but there’s no milestone information for GCD.

(I’m hacking away at NSTask right now, and I keep getting reminded of how much I wish I could use GCD on Linux.)

(Or kqueues. Dammit, Linux.)

I’d suggest asking the fine folks on swift-corelibs-dev directly:
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

-Chris

···

On Dec 23, 2015, at 10:42 AM, Dan Stenmark <daniel.j.stenmark@gmail.com> wrote:

Dan

On Dec 23, 2015, at 8:39 AM, Chris Lattner via swift-users <swift-users@swift.org <mailto:swift-users@swift.org>> wrote:

On Dec 23, 2015, at 8:22 AM, Joshua Scott Emmons via swift-users <swift-users@swift.org <mailto:swift-users@swift.org>> wrote:

On Dec 23, 2015, at 10:06 AM, Isaac Gouy via swift-users <swift-users@swift.org <mailto:swift-users@swift.org>> wrote:

afaict the Swift concurrency story on Apple platforms has been GCD.

What's going to be the Swift concurrency story on Linux?

According to Swift.org <http://swift.org/> (https://swift.org/blog/swift-linux-port/), I think GCD (aka libdispatch) is the plan for Linux as well:

"Here are some things that aren’t quite working yet or are planned for the future:

libdispatch: Part of the Core Libraries, updated Linux support is in progress. You can follow development on the libdispatch project on GitHub (https://github.com/apple/swift-corelibs-libdispatch).”

Correct. The most recent version of libdispatch has been open sourced in https://github.com/apple/swift-corelibs-libdispatch and folks are actively working to improve it on Linux.

-Chris
_______________________________________________
swift-users mailing list
swift-users@swift.org <mailto:swift-users@swift.org>
https://lists.swift.org/mailman/listinfo/swift-users