Scala vs Python - PowerPoint PPT Presentation

About This Presentation
Title:

Scala vs Python

Description:

Scala vs Python Comparison for Apache Spark -If you are wondering whether you'd better learn Python vs Scala for Spark… or both, you might want to read this. – PowerPoint PPT presentation

Number of Views:76

less

Transcript and Presenter's Notes

Title: Scala vs Python


1
Scala vs Python
for Apache Spark
2
  • Scala vs Python- Which one to choose for Spark
    Programming?

3
  • Let us explore some important factors to look
    into before deciding on Scala vs Python as the
    main programming language for Apache Spark.

4
Scala vs Python- Performance
5
  • Scala programming language is 10 times faster
    than Python for data analysis and processing due
    to JVM. The performance is mediocre when Python
    programming code is used to make calls to Spark
    libraries but if there is lot of processing
    involved than Python code becomes much slower
    than the Scala equivalent code.

6
Scala vs Python - Learning Curve
  • Programmers might find the syntax of Scala for
    programming in Spark crazy hard at times. Python
    is comparatively easier to learn for Java
    programmers because of its syntax and standard
    libraries. However, Python is not an ideal choice
    for highly concurrent and scalable systems like
    SoundCloud or Twitter.

7
Scala vs Python Concurrency
8
  • Scala allows developers to write efficient,
    readable and maintainable services without
    dangling the program code into an unreadable
    cobweb of call-backs. Python, to the contrary,
    does support heavyweight process forking using
    uwsgi but it does not support true
    multithreading.
  • Read More on Scala vs Python Concurrency
    https//www.dezyre.com/article/scala-vs-python-for
    -apache-spark/213

9
Scala vs Python Ease of Use
10
  • Ease of use is a subjective factor because it
    comes down to the personal preference of the
    programmer. Scala and Python languages are
    equally expressive in the context of Spark so by
    using Scala or Python the desired functionality
    can be achieved. 

11
  • Bottom-Line Scala vs Python for Apache Spark
  • Scala is faster and moderately easy to use,
    while Python is slower but very easy to use.
  • Read in Detail on Scala vs Python
    https//www.dezyre.com/article/scala-vs-python-for
    -apache-spark/213
Write a Comment
User Comments (0)
About PowerShow.com