5 ms·
The rise and fall of Apple's Swift
- Mononokay 8y agoI don't know - it doesn't seem like it has - or will - fall for as long as Apple keeps control over iOS.
- tfranco 8y agoThe intentions of the authors is for Swift to take over the world. But the way it's going, it will probably become stuck on Apple's ecosystem like Objective C.
- jgh 8y agoAt least with Objective-C it's pretty trivial to just use C or C++ or whatever in most places and Objective-C minimally. Swift is a little more of a headache in that regard.
- tonyedgecombe 8y agoThe intentions of the authors is for Swift to take over the world. Is it really? I thought it was an Apple project to drag macOS/ios development out of the dark ages.
- crb002 8y agoApple would be wise to release "beta" C and either C++ or Rust bindings for iOS. It is LLVM developers care about not Swift.
- ajkjk 8y agoWhy is every other sentence bold in this article?
- jessemillar 8y agoVery good question. It'd be better if they'd just written a tl;dr version of the article and put it at the top.
- Froyoh 8y agoMore like the Fall and Rise
- mulletbum 8y agoCan you explain why? I am having a hard time even understanding what this article is getting at. What is your perception of it?
- mozumder 8y agoSwift needs its version of Django/Ruby-on-rails...
- orand 8y agoUsing Stack Overflow tag trends to compare Swift to the other languages and technologies listed in the article, Swift is still on top. React Native is climbing fastest, and is almost half-way to where Swift is today. http://sotagtrends.com/?tags=[swift,objective-c,xamarin,cordova,react-native,ionic-framework] http://sotagtrends.com/?tags=[swift,objective-c,xamarin,cord...
- skywhopper 8y agoI'm not sure what the point is here. It feels like a bunch of disconnected thoughts and observations about Swift, none of them pursued very far. Some of them seem to contradict each other. And none of them are particularly striking or insightful.
- ebbv 8y agoMy reaction as well. One section of this "article" doesn't flow into the other. It's extremely disjointed and incoherent. Seems like content fluff that would be generated to get SEO and I'm not sure why it made it to the front page.
- dangerboysteve 8y agoI agree. This was click bait. The post as jumping around and nothing insightful. I'm not sure what the point of the article was...maybe pseudo marketing content for their site. ?
- madrox 8y agoTheir entire web site reads this way. Either it's all an experiment to see if RNN-generated posts can fool HN or English is not the native language.
- mulletbum 8y agoIs the title bad English or am I reading it incorrectly?
- amaccuish 8y agoI'm not sure what I just read.
- blakejennings 8y agocompletely agree, this is intentional clickbait. to top it off, there's a westworld spoiler at the bottom
- robbiep 8y agoThere are even two paragraphs which say the same thing: ‘Mobile devs can be tempted by multiplatform, which leads away from swift Also there is growing popularity of frameworks such as react native and Cordova etc’ Maybe ESL authour but not coherent content
- moosingin3space 8y agoThe answer to this question is simple: Swift does not have a comparative advantage in any area of development other than Apple-device-only apps. It may be a nice language, but the cross-platform Swift ecosystem is firmly entrenched in square one as long as the community continues to prefer other languages and tools.
- jgust 8y agohttps://tiobe.com/tiobe-index/programming-languages-definition/#Ratings https://tiobe.com/tiobe-index/programming-languages-definiti... They are anchoring their argument about the past and future of Swift as a popular programming language based on... how many hits it has on a Google search? Okay.
- WoodenChair 8y agoDo you think the rise and fall of searches for Taylor Swift may be having an impact on Swift's popularity in this index?
- jgust 8y agoA quick google search for "taylor swift programming" tells me... maybe.
- eightchen 8y agoSwift language features keep improving, and it's easily my favorite language to code in. The developer tools, on the other hand are complete trash. A large iOS app written in Swift can easily take 5 minutes to compile, while the equivalent Objective-C app would take 20 seconds. Additionally, Xcode is one of the most unstable IDEs out there. Simple things like refactoring a variable name or looking up a function declaration are barely working.
- rimliu 8y agoThey tried to improve compile times with Xcode 10 though. Should be getting better. Same goes for autocompletion, but that's just taking their word for it. I've got beta installed, but did not spend much time with it (for some reason the main project I'm working on is failing to compile in it, did not bother to investigate yet).
- 0xCMP 8y agoDefinitely seems like Swift is losing right now to things like React Native and Cordova, but it's not because Swift isn't good, but it isn't Javascript. Put aside feelings about Javascript and realize that everything is heading towards Javascript for websites, apps, scripts, command line tools, browsers, and etc. It's hard for Swift to compete, like Go and Rust are for instance, when it's current best use is to make apps for a single platform. They don't have the vast number of libraries and active maintainers Javascript has. That along with Swift itself constantly changing (along the same timeframe Go has maintained it's 1.x guarantee and Javascript has maintained compatibility at all costs) and I've just recently heard that while Swift appears like a more powerful Javascript at first the more complicated features rapidly intermingle in strange ways that the code does not do enough to make clear. Swift by no means is dead, but it's not the right tool right now for most people. Most have to develop the backend and web app first and then they go to iOS. With React Native many don't even need to know Swift to do the 2nd step.
- briandear 8y agoEverything is not moving towards JavaScript. In some large subset of development, sure. And server-side Swift is incredible and still relatively obscure. Where performance at scale matters, JavaScript is often a bad choice despite ubiquity.
- 0xCMP 8y agoYes, maybe not _everything_ but the trends of Javascript being used everywhere and for replacing Swift & co. are there. While I prefer native apps over JS ones it certainly seems that developing on JS apps, whether they're Electron, React Native, or other, has a much faster development cycle and they're winning on flexibility, features, and ease of customization.
- mamcx 8y agoI wish Apple were more proactive to support swift on linux/windows, even without UI, just all the core and non-UI libs. If iOS is their cash-cow it will allow to make a stronger case for people that are apple-first, lure some from other places and any potential loss will become small. And if suddenly any other (MS? Google?) improve on it it will validate it more.
- pavlov 8y agoI'm a longtime fan of Cocoa and Objective-C. AppKit has pretty much paid my bills for the past 15 years. The reason I like Obj-C is the simplicity. You've got C, the most popular and widely deployed programming language in the world with libraries available for pretty much everything. Then you add a minimal slice of proven Smalltalk constructs on top, completely orthogonal to the base language. There's rarely a question about whether you should be doing something the high-level object-oriented message passing way, or the low-level C "functions & struct pointers" way. The two play together with no surprises (unlike C++ which is a minefield of surprises for the C programmer). Swift threw away the Smalltalk-like simple dynamism of Objective-C. Instead it gives you syntax that's got more sprawl than Scala; a swamp of type system combinatorial explosions that can rival C++; language instability on par with modern JavaScript; and the coup de grâce is that all this is connected at the hip to a giant framework that doesn't feel Swift-native because it's actually an Objective-C API with decades of baggage. At the same time, Apple likes to pretend that Swift is a beginner-friendly language. It's a floor wax and a desert topping — and after you've iced the cake with a thick layer of Swift you can apparently both have it and eat it.
- DatBear 8y agoWhy is half of every paragraph in bold for no reason?
- DatBear 8y agoWhy is half of every paragraph in bold? How did this clickbait get 30 points...
- abalone 8y agoMeh, the only evidence cited for the “fall” of Swift is an index of how often people search for “swift programming”.[1] An imperfect measure for sure. [1] https://www.tiobe.com/tiobe-index/programming-languages-definition/ https://www.tiobe.com/tiobe-index/programming-languages-defi...
- Simulacra 8y agoThis is a very strange article. It's using one metric to make broad assumptions about the language.