How the "speed" factor acts in sololearn ? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 2

How the "speed" factor acts in sololearn ?

It always trends that some programming language like Java and Python are comparatively somewhat slower than C, C++. Is this factor present on sololearn?? Does codes of C++ runs faster on sololearn as compare to the codes of Python??

14th Jan 2019, 10:44 AM
Ayush Sinha
Ayush Sinha - avatar
3 Antworten
+ 4
I doubt that a C(++) code runs noticeably faster on Sololearn than e.g. a python code, but it might decide if your code will run at all or if it won't. If your code needs to count to a billion or something like that, it might work in C/++ and time out in python
14th Jan 2019, 11:04 AM
Anna
Anna - avatar
+ 2
Yes I also have experienced it while coding.
14th Jan 2019, 11:53 AM
Ayush Sinha
Ayush Sinha - avatar
+ 1
Execution speeds are much more noticeable when it comes to resource intensive and/or large applications. For example, the speed of a program to calculate prime numbers up to 20000 being passed onto a CPU being written in Python and the other in C/C++ is a viable way to see speed differences.
14th Jan 2019, 12:15 PM
Dread
Dread - avatar