Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 21,835 posts.

Software Engineering
Any year
14632

Parallelism in Crystal

Crystal has made a huge step forward to have parallelism as a first class citizen. In short, you can set up the number of worker threads on runtime and each new fiber will be scheduled to run on one of them. Channel and select will work seamlessly. You are allowed to share memory between workers, but you will probably…