You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by ayan guha <gu...@gmail.com> on 2016/09/01 02:02:54 UTC
Scala Vs Python
Hi Users
Thought to ask (again and again) the question: While I am building any
production application, should I use Scala or Python?
I have read many if not most articles but all seems pre-Spark 2. Anything
changed with Spark 2? Either pro-scala way or pro-python way?
I am thinking performance, feature parity and future direction, not so much
in terms of skillset or ease of use.
Or, if you think it is a moot point, please say so as well.
Any real life example, production experience, anecdotes, personal taste,
profanity all are welcome :)
--
Best Regards,
Ayan Guha
RE: Scala Vs Python
Posted by Santoshakhilesh <sa...@huawei.com>.
Hi ,
I would prefer Scala if you are starting afresh , this is considering both ease of usage , features , performance and support.
You will find numerous examples & support with Scala which might not be true for any other language.
I had personally developed the first version of my App using Java 1.6 due to some unavoidable reasons , and my code is very verbose and ugly.
But now with Java 8 ‘s lambda support I think this is not a problem anymore. About Python since there is no compile time safety so If you plan to use Spark 2.0 , Dataset API are not available.
Given a choice I would prefer to use Scala any day for very simple reason that I would get all the future features and optimizations out of box and I need to type less ☺.
Regards,
Santosh Akhilesh
From: ayan guha [mailto:guha.ayan@gmail.com]
Sent: 01 September 2016 11:03
To: user
Subject: Scala Vs Python
Hi Users
Thought to ask (again and again) the question: While I am building any production application, should I use Scala or Python?
I have read many if not most articles but all seems pre-Spark 2. Anything changed with Spark 2? Either pro-scala way or pro-python way?
I am thinking performance, feature parity and future direction, not so much in terms of skillset or ease of use.
Or, if you think it is a moot point, please say so as well.
Any real life example, production experience, anecdotes, personal taste, profanity all are welcome :)
--
Best Regards,
Ayan Guha
Re:Scala Vs Python
Posted by 时金魁 <sh...@163.com>.
Must be Scala, or Java.
在 2016-09-01 10:02:54,"ayan guha" <gu...@gmail.com> 写道:
Hi Users
Thought to ask (again and again) the question: While I am building any production application, should I use Scala or Python?
I have read many if not most articles but all seems pre-Spark 2. Anything changed with Spark 2? Either pro-scala way or pro-python way?
I am thinking performance, feature parity and future direction, not so much in terms of skillset or ease of use.
Or, if you think it is a moot point, please say so as well.
Any real life example, production experience, anecdotes, personal taste, profanity all are welcome :)
--
Best Regards,
Ayan Guha