Tasks are run on the thread pool (i mentioned this) which contains a lot of threads (i dont remember the exact number, which is based on the cpu cores plus something). And i was comparing the concurrency framework with all the bells and whistles and not tasks and goroutines directly. >From what i understand goroutines are not threads either. There is a manager that handles which one runs on which thread, just like the implementation of .net.
On Sunday, October 9, 2016 at 11:53:09 AM UTC+3, Jan Mercl wrote: > > On Sun, Oct 9, 2016 at 10:37 AM Sotirios Mantziaris <smant...@gmail.com > <javascript:>> wrote: > > > > Still much faster than go! > > That basically compares the cost of creating like 4 threads to creating > 100k goroutines. > > > -- > > -j > -- 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.