Comparison of Scala, Java, Python and R in Apache Spark

Metric

Scala

Java

Python

R

Type

Compiled

Compiled

Interpreted

Interpreted

Based on JVM

If

If

Not

Not

Cumbersome

(-)

(+)

(-)

(-)

Length of code

(-)

(+)

(-)

(-)

Productivity

(+)

(-)

(+)

(+)

Scalability

(+)

(+)

(-)

(-)