sorry but the scala version is actually pretty pretty dumb.<p>also go is not better than all of these languages.
what we learned here, is actually that go is easier since you only have one common way to do this task. go has goroutines, but go doesn&#x27;t have runnables, futures, actors, completionstages, executioncontexts. GO has GOMAXPROCS and not dispatchers, thread pools, etc..<p>Also the JVM eve Java only code would actually beat golang in many ways, but thats nothing you should be scared of. Golang is 1 1&#x2F;2 year old, the JVM lives like 20+ years and they spent numerous times about the GC implementations (they could be even changed so that you could use a better GC for conurrency or for parallelism or for synchronous execution).
Go is good for the task it is created. Other languages maybe tend to be more general so that you could do many things and due to their years of knowledge they are actually more optimized than go could be &#x2F; they could be more optimized than go could be.