News for hackers. Stuff that matters.
Re:Migrated WordGap from Python to Go 1 by viraptor on Saturday March 23, 2013 @04:30PM (#5429652)
We're in a complete agreement. As I wrote: "Such difference is -not- impossible between languages" :) I just find it rather unlikely.
Re:Migrated WordGap from Python to Go 1 by voidlogic on Saturday March 23, 2013 @04:36PM (#5429679)
You find it unlikely that a compiled language might be 15x faster than a interpreted language doing a compute-bound workload, when said compiled language is often 30x faster in posted synthetic benchmarks... I think you are extremely skeptical...

I have ported node.js applications to Go and seen similar substantial speedups. In my cases though I was running in a multi-threading enviroment. not GAE and the performance difference (improvement) was much greater under concurrent load versus single request latency. But that seems reasonable since node.js is closer to Go in performance than Python is.

I guess I just believe it because I have seen it. :)

Re:Migrated WordGap from Python to Go 1 by igouy on Saturday March 23, 2013 @09:09PM (#5430590)
>>posted synthetic benchmarks<<

The benchmarks game shows toy programs not synthetic benchmarks ;-)

Re:Migrated WordGap from Python to Go 1 by drivebyacct2 on Saturday March 23, 2013 @05:10PM (#5429782)
You find it unlikely a compiled language is faster than an interpreted one...?
Re:Migrated WordGap from Python to Go 1 by gngeal on Saturday March 23, 2013 @06:42PM (#5430095)
Sometimes, with smart data structures for specialized cases (persistency, better asymptotic behaviour etc.), it can happen that memory accesses dominate the actual execution. If that happens, and you can't saturate CPU's execution units, the difference between an efficient interpreter and a compiler gets smeared very quickly.
Re:Migrated WordGap from Python to Go 1 by Evbn on Sunday March 24, 2013 @02:21AM (#5431330)
Python is compiled. That is the c in .pyc
Re:Migrated WordGap from Python to Go 1 by drivebyacct2 on Sunday March 24, 2013 @02:28AM (#5431339)