3 ms·
The problem is, it's hard to distribute libraries which want lots of stack space, because not everyone will do that. In Rust (where threadsafety is easy and ch
by CJefferson 6y ago
The problem is, it's hard to distribute libraries which want lots of stack space, because not everyone will do that.
In Rust (where threadsafety is easy and cheap), I tend to just spin up a thread of known (large) stack size, and do computations there.
- tempodox 6y agoI see. And the end user might not even know that library is built into the tool they use, or know how to alter the stack size limit on their machine. So I can't think of a better solution either.