3 ms·
C is weakly typed, so that it runs with the same static types means very little.
by dragonwriter 7y ago
C is weakly typed, so that it runs with the same static types means very little.
- pizlonator 7y agoC has strong types for the purpose of optimization. A C compiler never wonders whether + means int addition or string concatenation for example. In JS the optimizing compiler doesn’t get such type information except by profiling and profiling is nondeterministic.