Normally, in term of programming languages, the scripting languages are surely slower than Java , it mainly because Java has JVM to optimize running programs, also the code will be pre-complied before execution. But, scripting languages like Python usually use interpreter to compile and execute line by line. Still, Hadoop, which is written in Java also provide the universal interface for other languages by using streaming interface. Even, Java can run faster than Python but Python can develop programs faster. Compared to other scripting languages, Python is one of the faster ones after Java.
More details at: http://stackoverflow.com/questions/1482282/java-vs-python-on-hadoop.
No comments:
Post a Comment