Swift vs Scala : comparaison de 30 métriques

Swift vs Scala

Swift

Swift est un langage de programmation Object-Oriented, Functional apparu en 2014, conçu par Apple. Cas d’usage principaux : Mobile Apps, Cross-Platform Development.

Scala

Scala est un langage de programmation Object-Oriented, Functional apparu en 2004, conçu par Martin Odersky. Cas d’usage principaux : Backend Services, Enterprise Applications, Android.

30 métriques

MétriqueSwiftScala
GitHub Stars5529155399
Stack Overflow Tags732460668243
TIOBE Rank2349
RedMonk Rank2451
PYPL Rank3356
Average Salary (USD)119941108106
Job Postings3642132694
Benchmarks Score0.990.77
Learning CurveHardHard
Community SizeLargeLarge
Documentation Quality89
Ecosystem Maturity99
Industry Adoption89
Type System Complexity107
Concurrency Support104
Performance - Execution Speed106
Performance - Memory Usage105
Performance - Startup Time96
Tooling Quality99
Package Manager Quality99
IDE Support99
Debugging Experience109
GitHub Stars Rank2625
Stack Overflow Tags Rank2432
Average Salary Rank2541
Job Postings Rank2435
Benchmarks Rank636
Learning Curve Score14
Community Size Score88
AHP Score7.867.17

Score AHP

  • Swift: 7.86 (#20)
  • Scala: 7.17 (#30)
Swift           | ######## 7.86
Scala           | ####### 7.17

Quand choisir Swift

Mobile Apps, Cross-Platform Development. Swift est un langage de programmation Object-Oriented, Functional apparu en 2014, conçu par Apple. Cas d’usage principaux : Mobile Apps, Cross-Platform Development.

Quand choisir Scala

Backend Services, Enterprise Applications, Android. Scala est un langage de programmation Object-Oriented, Functional apparu en 2004, conçu par Martin Odersky. Cas d’usage principaux : Backend Services, Enterprise Applications, Android.

Exemple Hello World

Swift:

print("Hello, World!")

Scala:

object Main extends App { println("Hello, World!") }

Andere Sprachen