4 ms·
> Nim is a very good language that actually accomplishes the simplicity Go wanted imo. Does it have "cheap threads", like offered by Go?
by amelius 10y ago
> Nim is a very good language that actually accomplishes the simplicity Go wanted imo.
Does it have "cheap threads", like offered by Go?
- dom96 10y agoKind of. Nim offers a thread pool for CPU intensive tasks[1] and async await for IO intensive tasks. Currently, the two don't really mix but work is ongoing to change that. 1 - http://nim-lang.org/docs/manual.html#parallel-spawn http://nim-lang.org/docs/manual.html#parallel-spawn