Kotlin 与 R 对比:30项指标
Kotlin 对比 R
Kotlin
Kotlin 是一种Object-Oriented, Functional编程语言,首次出现于 2011 年,由 JetBrains 设计。主要应用场景:Backend Services, Enterprise Applications, Android。
R
R 是一种Multi-paradigm编程语言,首次出现于 1993 年,由 Ross Ihaka, Robert Gentleman 设计。主要应用场景:Data Science, Scientific Computing, Statistics。
30项指标
| 指标 | Kotlin | R |
|---|---|---|
| GitHub Stars | 57848 | 58302 |
| Stack Overflow Tags | 812870 | 729989 |
| TIOBE Rank | 33 | 36 |
| RedMonk Rank | 20 | 20 |
| PYPL Rank | 39 | 24 |
| Average Salary (USD) | 125921 | 122736 |
| Job Postings | 38742 | 38329 |
| Benchmarks Score | 0.98 | 1.0 |
| Learning Curve | Hard | Hard |
| Community Size | Large | Very Large |
| Documentation Quality | 8 | 8 |
| Ecosystem Maturity | 8 | 10 |
| Industry Adoption | 8 | 8 |
| Type System Complexity | 9 | 9 |
| Concurrency Support | 10 | 8 |
| Performance - Execution Speed | 10 | 8 |
| Performance - Memory Usage | 10 | 9 |
| Performance - Startup Time | 9 | 8 |
| Tooling Quality | 7 | 8 |
| Package Manager Quality | 9 | 9 |
| IDE Support | 8 | 8 |
| Debugging Experience | 8 | 9 |
| GitHub Stars Rank | 21 | 20 |
| Stack Overflow Tags Rank | 18 | 25 |
| Average Salary Rank | 17 | 23 |
| Job Postings Rank | 21 | 22 |
| Benchmarks Rank | 8 | 4 |
| Learning Curve Score | 2 | 2 |
| Community Size Score | 8 | 9 |
| AHP Score | 7.66 | 7.66 |
AHP综合评分
- Kotlin: 7.66 (#22)
- R: 7.66 (#23)
Kotlin | ######## 7.66
R | ######## 7.66
何时选择Kotlin
Backend Services, Enterprise Applications, Android. Kotlin 是一种Object-Oriented, Functional编程语言,首次出现于 2011 年,由 JetBrains 设计。主要应用场景:Backend Services, Enterprise Applications, Android。
何时选择R
Data Science, Scientific Computing, Statistics, Visualization. R 是一种Multi-paradigm编程语言,首次出现于 1993 年,由 Ross Ihaka, Robert Gentleman 设计。主要应用场景:Data Science, Scientific Computing, Statistics。
Hello World 示例
Kotlin:
fun main(){ println("Hello, World!") }
R:
print('Hello, World!')