3 ms·
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
by zalmoxes 10y ago
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.
- ontouchstart 10y agoI set up a general purpose Docker image for go-rust-swift on Linux platform https://github.com/ontouchstart/grs https://github.com/ontouchstart/grs Hope it will make it easier for people to write CLI tutorials.
- izacus 10y agoWell 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.
- hundchenkatze 10y agoThe Foundation APIs are available on Linux in Swift 3. https://github.com/apple/swift-corelibs-foundation/blob/master/README.md https://github.com/apple/swift-corelibs-foundation/blob/mast...