3 ms·
Crystal Lang – Fibers
- Alifatisk 3y ago"A Fiber is much more lightweight than a thread: even though it's assigned 8MB, it starts with a small stack of 4KB. On a 64-bit machine it lets us spawn millions and millions of fibers. In a 32-bit machine we can only spawn 512 fibers, which is not a lot. But because 32-bit machines are starting to become obsolete, we'll bet on the future and focus more on 64-bit machines."