+ 4
which language is faster : A)C/C++, B)Java, C)Python, D)Rubi
In Worst case...
11 odpowiedzi
+ 10
Compiled languages like C/C++ always tend to be faster than interpreted languages like Python and Ruby.
+ 6
C is the fastest.
+ 3
C++/C is faster because havn't many library . But python and other have many tools , if you use this tools you can make work faster .
+ 3
C or C++
+ 2
We would think JAVA run as fast as C++, and faster than interpreted languages like Python and Ruby. Of course, C is the fastest languages.
+ 2
+ 1
garbage collections and memory leaks plus security nightmares come to mind lol
is speed the real way of looking at it or energy CPU drains dont really care about speed of code
some reading that may be of interest https://jaxenter.com/energy-efficient-programming-languages-137264.html
+ 1
C/C++ are very responsive and work very well with big projects. python and ruby are a lot slower when your building bigger projects at least was for me.
+ 1
lol@ python Python is slower than C/C++ because Python is written in C. Python is a high level language, and that has good and bad aspects. ... In C, the programmer does all of this work for the compiler, thus the compiler doesn't have to make all of those decisions and it is faster.
in a nutshell Python code executes more slowly is because code is interpreted at runtime instead of being compiled to native code at compile time.
have a read lol
https://jakevdp.github.io/blog/2014/05/09/why-python-is-slow/
0
R & Shiny, Python, HTML, CSS & JS, C/C++, Ruby, SQL, Spark etc
学习高频量化对冲基金,高频量化交易~
https://rpubs.com/englianhu
- 6
python because it esy to larning it