Will Kotlin become as popular as Swift?

简介: Richard Kenneth Eng, Used Fortran, Tandem TAL, C/C++, C#, Obj-C, Java, Smalltalk, Python, GoAnswered May 28Swift is only popular in the Apple ecosystem.

Richard Kenneth Eng, Used Fortran, Tandem TAL, C/C++, C#, Obj-C, Java, Smalltalk, Python, Go
Answered May 28

Swift is only popular in the Apple ecosystem. Outside of Apple, it’s essentially a nonstarter. So, ultimately, Kotlin may become much more popular than Swift, just as Java has always been much more popular than Objective-C.
Swift cannot compete with the JVM and its ecosystem. That’s why Java rules and why Kotlin will rule with Java.


Matthew Rhodes, Website Developer
Answered May 27

In my opinion it will be way more popular than swift. For many reasons but for starters it compiles into JVM Bytecode and even better is it works with existing Java libraries meaning that it already supports THOUSANDS of exsist APIs and libraries. On top of this the language is a direct replacement for Java, so much so that they have a built in converting program. Kotlin is the future of Android and Java development as we know it.
Edit: I forgot to mention that it's learning curve is extremely easy and any current Java developer can easily switch. And I also forgot to mention that Java and kotlin can be in the same project **together **that means that current projects can make the switch right now and not change the original codebase very much.


Nikolay Igotti, Kotlin/Native Tech Lead at JetBrains (2016-present)
Answered Jun 12

Our team (Kotlin/Native) is working hard on pushing Kotlin way beyond JVM ecosystem, including Apple software stack, so I could be somewhat biased. However, several points:

  • Kotlin and Swift are comparable in language features (guess, Swift borrowed some from Kotlin)
  • Kotlin is better in tooling support (JetBrains is the maker of the most popular IDE on the planet, after all)
  • Swift is likely better with Apple platforms integration
  • Kotlin can run on wider variety of stacks (JVM, JS in browser or NodeJS, Native - wherever LLVM port exists)
  • Kotlin’s lead language designer haven’t left, unlike Swift’s

Sneha Tiwari, Co-founder, Blogger, Developer, Designer at Hyphenible
Answered Sep 6

Yes, sure it can happen.
Kotlin has 10 powerful reasons:

Easy to setup
Lessens Boilerplates
Readable
Interoperability
No semicolon
You can choose your structure
Getters and setters method implementation
Synthetic Extension
Standard library is small
Riddance of Null Pointer Exceptions


Ebenezer Ojo, Co Founder at TABdigitals
Answered May 27

Kotlin will be more popular than swift in some years to come...


相关文章
|
Swift iOS开发 Kotlin
苹果iOS新手开发之Swift中实现类似Kotlin的作用域函数
Swift可通过扩展实现类似Kotlin作用域函数效果。如自定义`let`, `run`, `with`, `apply`, `also`,增强代码可读性和简洁性。虽无直接内置支持,但利用Swift特性可达成相似功能。
361 7
|
安全 Swift Android开发
构建移动应用:Swift vs Kotlin —— 两大主流语言的对决
【5月更文挑战第11天】Swift与Kotlin在移动应用开发中各有优势。Swift是iOS开发的首选,以其简洁语法、高性能和类型安全著称;而Kotlin是Android的官方推荐语言,以其与Java的无缝互操作、空安全特性和简洁代码受到青睐。两者在语法简洁性、性能和社区支持上表现优秀,但平台兼容性不同。开发者应根据项目需求和目标平台选择合适的语言。
1611 1
|
Dart Swift iOS开发
用pigeon kotlin swift写一个自己的插件
用pigeon kotlin swift写一个自己的插件
|
安全 JavaScript Java
|
安全 Java Android开发
|
安全 Java Android开发
x3d
|
Java Android开发
【转】Android世界的Swift - Kotlin语言
最近Oracle又在和Google撕的厉害,才知道还有这么Kotlin在Android像Swift在Mac的地位一说。 Kotlin是一门与Swift类似的静态类型JVM语言,由JetBrains设计开发并开源。
x3d
1470 0
|
安全 Java Android开发
为什么大厂要求安卓开发者掌握Kotlin和Jetpack?深度解析现代Android开发生态优雅草卓伊凡
为什么大厂要求安卓开发者掌握Kotlin和Jetpack?深度解析现代Android开发生态优雅草卓伊凡
529 0
为什么大厂要求安卓开发者掌握Kotlin和Jetpack?深度解析现代Android开发生态优雅草卓伊凡