To view parent comment, click here.
To read all comments associated with this story, please click here.
No.
I am saying that a language is not fast or slow. The way it is defined might allow or disallow certain optimizations to be done, but that is it.
All languages can be implemented as an interpreter, with JIT support or a plain old compiler. It is just a matter of ROI of the implementation.
I am old enough to remember BBS discussions about how slow C was and everyone would code in assembly until the end of the world.
But assembly IS still faster than C. Only that C is overall much more efficient to code in than assembly and that computers are fast enough to ignore the difference. Likewise, OO was also considered slow but the computers grew fast enough. However, falling back would still show a significant to dramatic speed boost, only that it's not noteworthy.
Likewise, I prefer to code in Ruby with its heavy reflection than Go anyday (mind you, i still prefer C++ over Go). However, I don't see why C++ should add reflection. Instead, adding these features would instead slow it down IMO and make it a less likeable alternative than more flexible languages. Besides, Objective-C kinda does the same job..




Member since:
2008-01-07
If you're suggesting that, say, vtables can run as fast as templates, then I wanna see some benchmarks.
Unless you're talking about aggressive optimisations, which can be applied to BOTH static and dynamic languages.