←back to thread

612 points dayanruben | 2 comments | | HN request time: 0.001s | source
Show context
uhura ◴[] No.42901158[source]
I believe that this long game of Swift being "good for everything" but "better for Apple platforms" will be detrimental to the language. This does not help the language nor seems to bring more people to the ecosystem.

Competitors seems to have a combination of: - Being more open-source - Have more contributors - Have a narrower scope

Maybe they should consider open sourcing all the tooling (like Xcode) otherwise the gap will only grow over time when compared to other languages.

replies(10): >>42901489 #>>42901515 #>>42901558 #>>42902281 #>>42902484 #>>42903459 #>>42903586 #>>42903797 #>>42905687 #>>42906498 #
JTyQZSnP3cQGa8B ◴[] No.42901558[source]
This has been my experience for a long time. Swift is nice but why would I waste my time working on a language that is too tied to the Apple platform even if it's open-source when we have more universal scripting languages like Python, or languages like Kotlin that are compiled but have more support (because I trust JetBrains way more than Apple at the moment), or languages that are most strict like Rust but have more momentum and safety?

They painted themselves in a corner. Apple being the best computing platform while trying to please everyone can never be a serious proposition. Either they are the best and everyone uses macOS, or we have to be so careful that any alternative is more interesting that what they propose.

replies(7): >>42901756 #>>42901778 #>>42902195 #>>42902203 #>>42902864 #>>42905718 #>>42907045 #
cosmic_cheese ◴[] No.42901778[source]
Can only speak for myself, but I’d love to be able to use Swift elsewhere so I don’t need to drag around a JVM and all the things that come with it (Kotlin) or have to wrestle with Rust’s sematics and disinclination towards old style imperative desktop UI development. Swift isn't perfect of course, but it’s the closest I’ve come to a language feeling “comfy”.
replies(3): >>42903117 #>>42906669 #>>42927160 #
desiderantes ◴[] No.42903117[source]
So you haven't heard of Kotlin Multiplatform.
replies(3): >>42903541 #>>42903658 #>>42910372 #
1. privacyis1mp ◴[] No.42903541{4}[source]
What are your experiences of using Kotlin for modern macOS/iOS development? How's the support looking when Apple releases new XCode?
replies(1): >>42907158 #
2. aalimov_ ◴[] No.42907158[source]
Kotlin Multiplatform (KMP) is neat for android devs that want to be able to code for both platforms using a toolset/language they are familiar with, but for iOS development KMP is a hassle (personal opinion). I’d rather just write the code twice. Also, I actually like Xcode. As for Android Studio, up until the more recent versions the GUI felt really clunky to me (which made working in it a bit of a slog).