On Mon, Oct 24, 2016 at 11:51 AM Haddock <ffm2...@web.de> wrote:
> Just to be precise: Go has currently performance near Java, see > http://benchmarksgame.alioth.debian.org/u64q/go.html Nevertheless, that > is still 3x-15x faster than Python ;-), see > http://benchmarksgame.alioth.debian.org/u64q/python.html > > Beware of putting too much into a benchmark suite where * There is no upper bound on implementation time * The fastest solutions all look like C code * The problems presented are synthetic * The programs to implement are VERY amenable to a typical C solution The efficiency of a large system is a property of its architecture, not its individual parts. And it is bounded by available time. It wouldn't surprise me if typical Go programs can be written in a fraction of the time it takes to build C++ programs and thus you have more time to actually tune the result. For a large system where you simply can't spend all time tuning an inner loop to oblivion, this may end up with the Go program being faster than the C++ program. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.