4 ms·
Suppose language A offers only a very low-level way to express something, and language B offers the same thing but also a much more expressive (but less perform
by lmm 12y ago
Suppose language A offers only a very low-level way to express something, and language B offers the same thing but also a much more expressive (but less performant) way to express it. IMO it's misleading to say that language B is "slower" than language A.
- derefr 12y agoOften, though, language B's low-level API won't be "language B" so much as it will be "another syntax for language A". At which point, it's often more idiomatic and simple to write in language A, than to write in language B's "version" of language A. (For just one example of this, inline assembler in C vs. actual assembler.)