4 ms·
Apparently "operator overloading, function/method overloading, [and] keyword arguments" are "bad for performance" so it's OK that Go doesn't have them.
by bcoates 14y ago
Apparently "operator overloading, function/method overloading, [and] keyword arguments" are "bad for performance" so it's OK that Go doesn't have them.
- dexen 14y agoFor performance of compilation. Go compiles crazy fast -- think two seconds for complete compiler and runtime on a notebook. This provides for rapid hack-compile-debug iterations. http://www.youtube.com/watch?feature=player_embedded&v=rKnDgT73v8s#t=543s http://www.youtube.com/watch?feature=player_embedded&v=r...
- gnuvince 14y agoD is a language with operator overloading and function overloading (no keyword arguments however), at it compiles even faster than Go. /tmp/dmd2/src/phobos/std$ wc -l *.d | grep total 162688 total /tmp/dmd2/src/phobos/std$ time dmd -c *.d > /dev/null std.cpuid has been deprecated. It will be removed in January 2013. Please use core.cpuid instead. std.md5 is scheduled for deprecation. Please use std.digest.md instead std.perf has been deprecated. It will be removed in January 2013. Please use std.datetime instead. Notice: As of Phobos 2.055, std.regexp has been deprecated. Please use std.regex instead. real 0m1.210s user 0m1.016s sys 0m0.188s 1.2 second to compile 162k LOC. Not too shabby!