I wouldn't use it. I would maybe play with it, try how it works and when it
fails, and then stay tuned how that thing evolves in the future. I can even
imagine that it could disapper to shift focus on more important features, or
change the way how parallel loops work entirely (personal
As [say the
docs](http://forum.nim-lang.org///nim-lang.org/docs/system.html#||.i,S,T,string):
> "Note that the compiler maps that to the `#pragma omp parallel for` construct
> of OpenMP **and as such isn't aware of the parallelism in your code! Be
> careful! Later versions of || will get
Stumpled upon this. Since this uses #omp parallel for you need to pass -fopenmp
to the C compiler. The docs are not very clear about this.
Is the parallel for (system.`||`) really supported or should it be deprecated
in it's current form?
> `||` - parallel loop iterator. Same as .. but the loop may run in parallel.
Can anybody explain what kind of parallelism is here meant? And how is it
supposed to work? In the example below, it works in series.
import strutils
var x=0
for i in 1||1000:
in