+ 2

Efficiency

when looking for efficiency should I always try and program in low level languages such as C? and in that case would assembly be the pinnacle of efficiency?

10th Sep 2017, 3:08 AM
Joseph David Zamora Murillo
Joseph David Zamora Murillo - avatar
7 Respostas
+ 6
Just would like to balance out Hatsy's post with this one. There are times when asm code is faster than C. https://stackoverflow.com/questions/577554/when-is-assembler-faster-than-c
10th Sep 2017, 4:10 AM
Karl T.
Karl T. - avatar
+ 2
wait up... first of all c is a HLL or High Level Language... and no efficiency increases or decreses for high or low or assembly level languages... according to better understanding they r named like that...
10th Sep 2017, 3:21 AM
sayan chandra
sayan chandra - avatar
0
So making a program in python3 per se, is not more or less efficient than making the exact same one in C?
10th Sep 2017, 3:24 AM
Joseph David Zamora Murillo
Joseph David Zamora Murillo - avatar
0
no.... efficiency measurement is not comparable if language changes.... ( coding effieciency ) yes u can say that java or cpp are faster than python... but python is wayy more readable and more logical in syntax...
10th Sep 2017, 3:29 AM
sayan chandra
sayan chandra - avatar
0
two type of efficiency.... one is that language that is easy to get easy to write ( language comparison) second is... compiling efficiency...according to ur code... this efficiency is only comparable in a single language with diff codes...that which is more efficient...
10th Sep 2017, 3:32 AM
sayan chandra
sayan chandra - avatar
- 1
in a particular language when u r writing codes u can surely trigger the efficiency up. .
10th Sep 2017, 3:22 AM
sayan chandra
sayan chandra - avatar