On Monday, 27 February 2017 at 16:04:00 UTC, Bastiaan Veelo wrote:
I get a bus error some time out in execution.
It could be that I am running out of stack space. I am on OS X,
and non-main threads are given a very limited stack size, they
say [1, 2]. This foreach of mine calls into itself, and for my
test case it nests upto 52 levels deep, which may be too much.
Core.thread allows threads to be created with specified stack
size, but that seems to be abstracted away in std.parallelism.