News for hackers. Stuff that matters.
Re:100 Days of Swift: The Tutorials by zalmoxes on Tuesday July 12, 2016 @01:49PM (#12081027)
I'd like to see some Swift tutorials out there that are not related to Cocoa and other iOS/OSX frameworks.

I've tried Swift several times, but as a sysadmin, I'm interested in cli apps, servers, network libraries etc. I either already know how to do these things or can find out quickly in python/ruby/go or even rust. But whenever I try to find out how to do these already familiar things in Swift, it's a pain to find the right documentation/examples.

Re:100 Days of Swift: The Tutorials by ontouchstart on Tuesday July 12, 2016 @02:53PM (#12081463)
I set up a general purpose Docker image for go-rust-swift on Linux platform

https://github.com/ontouchstart/grs

Hope it will make it easier for people to write CLI tutorials.

Re:100 Days of Swift: The Tutorials by izacus on Tuesday July 12, 2016 @04:04PM (#12081926)
Well that would be hard because Swift doesn't have a standard library comparable to other languages - most of the things you're used to there is provided the Cocoa. Which also puts a big question mark over the cross-platform lip service - without a good standard library you won't be able to decently write cross-platform software. Just like it was pointless to use ObjC beforehand due to dependence of libraries on Apple OS only frameworks.
Re:100 Days of Swift: The Tutorials by hundchenkatze on Tuesday July 12, 2016 @09:19PM (#12083374)
The Foundation APIs are available on Linux in Swift 3. https://github.com/apple/swift-corelibs-foundation/blob/mast...