07-Dec-2013 02:20, Walter Bright пишет:
"there is no way proper C code can be slower than those languages."
3. Function inlining has generally been shown to be of tremendous value
in optimization. D has access to all the source code in the program, or
at least as much as you're willing to show it, and can inline across
modules.
Uh-oh. I'd avoid advertising this particular point until after a
critical bug is fixed:
https://d.puremagic.com/issues/show_bug.cgi?id=10985
Applies to all 3 compilers.
Otherwise - it's spot on. D has many ways to be typically "faster then
Cee" ;)
--
Dmitry Olshansky