4 ms·
> I wonder whether Java will get displaced by Swift on the server at some point. Anyone want to place bets? Last time I checked developing with swift requires
by josteink 10y ago
> I wonder whether Java will get displaced by Swift on the server at some point. Anyone want to place bets?
Last time I checked developing with swift requires xcode, which requires osx, which requires spending excess $1k on what should be commodity x86 hardware, to have it labeled "a Mac".
So a big fat no chance there.
- johncolanduoni 10y agoSwift runs on Linux, and Swift's vim/emacs/atom packages work just fine. Not that I think any enterprise that has tons of Java code will switch to anything ever, much less Swift. But "needs a Mac" is not the reason.
- josteink 10y agoIn that case, O'Reilly better get their act together and stop spreading disinformation in their Swift books[1]. [1] http://www.oreilly.com/programming/free/swift-pocket-reference.csp?imm_mid=0e4c45&cmp=em-prog-free-lp-oseu16_nem1_swift_pocket_ref http://www.oreilly.com/programming/free/swift-pocket-referen...
- johncolanduoni 10y agoWhere does it say it only runs on iOS and OS X?
- josteink 10y agoPage 5: getting started with swift 2 It says xcode 7 or later is required. How am I going to run that on Linux? How am I going to CI that on Linux?
- abalone 10y agoIt doesn't say it's required. Relax, Swift was just open sourced in December so some of the books might still focus on Macs. Watch someone code and run Swift on Linux: https://developer.apple.com/videos/play/wwdc2016/415/ https://developer.apple.com/videos/play/wwdc2016/415/
- josteink 10y agoAre you trolling me? Playing that video requires fucking Safari or a Apple WWDC app... http://imgur.com/BUrkMVc http://imgur.com/BUrkMVc This is Apple and regard for other platforms in a nutshell. And it sorts of kills any interest I may have had in Swift as well.
- vetinari 10y agoRelax, click on Resources tab under the video, there are links to HD and SD versions you can download. PDF slides are there too.
- josteink 10y agoNope. No links to video on non-Mac systems. PDFs only. Do I need to pay the apple-tax just to use their web-pages? That's basically a huge middle-finger to web standards. Absolutely useless crap, borderlining offensive. Apple is doing some pro-grade trolling here. Not even Microsoft is doing stuff like this anymore.
- johncolanduoni 10y agoI just downloaded the video on Windows 10, in Edge no less. Click on the resources tab like he said. Not sure who's trolling here... edit: Oh wow, I didn't even notice but the video can stream in Edge! Doesn't do it in Chrome on OS X though XD
- vetinari 10y agoFirefox running on Fedora: http://imgur.com/akxUq2Y http://imgur.com/akxUq2Y
- josteink 10y agoI tried that page from Firefox on android. Wth would they remove the downloads? Anyway.. their web pages and developer resources are clearly disfunctional garbage, and their cross platform commitment almost non-existent. I think it's still fair to say swift won't displace java anytime soon.
- vetinari 10y agoAs others already said, Swift is opensource and runs on Linux. With Swift 3, also the standard library (Foundation) should be available on Linux too. However, Swift for Linux is not yet "productized" in the same way, as Swift for Darwin is. You can download a tarball for Ubuntu only, unpack it somewhere and call it a day. It will take a while before you can use 'yum install swift' from EPEL on your shiny Centos/RHEL workstation.