R vs Scala: 30 Metrics Comparison

R vs Scala

R

R is a Multi-paradigm programming language first appeared in 1993, designed by Ross Ihaka, Robert Gentleman. Main use cases: Data Science, Scientific Computing, Statistics.

Scala

Scala is a Object-Oriented, Functional programming language first appeared in 2004, designed by Martin Odersky. Main use cases: Backend Services, Enterprise Applications, Android.

30 Metrics

Metric R Scala
GitHub Stars 58302 55399
Stack Overflow Tags 729989 668243
TIOBE Rank 36 49
RedMonk Rank 20 51
PYPL Rank 24 56
Average Salary (USD) 122736 108106
Job Postings 38329 32694
Benchmarks Score 1.0 0.77
Learning Curve Hard Hard
Community Size Very Large Large
Documentation Quality 8 9
Ecosystem Maturity 10 9
Industry Adoption 8 9
Type System Complexity 9 7
Concurrency Support 8 4
Performance - Execution Speed 8 6
Performance - Memory Usage 9 5
Performance - Startup Time 8 6
Tooling Quality 8 9
Package Manager Quality 9 9
IDE Support 8 9
Debugging Experience 9 9
GitHub Stars Rank 20 25
Stack Overflow Tags Rank 25 32
Average Salary Rank 23 41
Job Postings Rank 22 35
Benchmarks Rank 4 36
Learning Curve Score 2 4
Community Size Score 9 8
AHP Score 7.66 7.17

AHP Score

  • R: 7.66 (#23)
  • Scala: 7.17 (#30)
R               | ######## 7.66
Scala           | ####### 7.17

When to choose R

Data Science, Scientific Computing, Statistics, Visualization. R is a Multi-paradigm programming language first appeared in 1993, designed by Ross Ihaka, Robert Gentleman. Main use cases: Data Science, Scientific Computing, Statistics.

When to choose Scala

Backend Services, Enterprise Applications, Android. Scala is a Object-Oriented, Functional programming language first appeared in 2004, designed by Martin Odersky. Main use cases: Backend Services, Enterprise Applications, Android.

Hello World Example

R:

print('Hello, World!')

Scala:

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

Other languages