Hi, I've recently become aware of nim.
It looks interesting although I still don't quite get the concurrency constructs built into the language.
I've seen here and there that the concurrency construct is compared to golang, but I don't see goroutines or channels.
The furthest I've seen is spawn to execute code in a different thread.
I'm sure I'm missing something, I'd appreciate some enlightenment on this matter
Thanks in advance
@lboregard
There are various options for concurrency in Nim. For starters see http://nim-lang.org/manual.html#threads for threads and channels.
You can spawn multiple threads, each has its own gced heap. I think isolated heaps is much better than shared everything by default.
Within a thread, you can use coroutines (async and await) for concurrency of IO intensive tasks. See http://nim-lang.org/asyncdispatch.html