So been playing around with go and wasm support on go version devel 
+479da24aac Fri Aug 10 00:47:31 2018 +0000 linux/amd64

Curious on performance i tried implementing a Fibonacci algorithm function 
in JS and compared it to it's equivalent in GO. Calculating fib(44) takes 
11 seconds on my machine in JS and in GO it takes 36 seconds.

Any idea's to why I would get these results? I know wasm is very much an 
experimental feature of go, however I expected at least equal to or better 
performance than JS. Are there any browser optimizations which is running 
in my JS code which may not be in effect in wasm?

Test code available at


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 
For more options, visit

Reply via email to