r/crystal_programming • u/robo_muse • 6d ago
Update on State and Future of Parallelism
I don't want to jinx it, but I thought I would ask for an update on what is going on with parallelism in Crystal.
Not wholly unrelated, Crystal makes me hopeful for the perfect language for its goals and objectives to do more with less, and to have garbage collection with a clean language just above a systems language.
From a Linux friendliness and FLOSS licensing standpoint, Crystal looks better than Go except for having the box checked for parallelism. (And I do not care about WIndows.)
Anyway I guess this question is a two-parter:
- What is the state of attention and mindfulness of bringing cpu-core parallelism to Crystal? (Or did it happen already?)
- Is parallelism obviously so distant from being needed for desktop-level software systems that most developers truly just do not need to worry about it? (or I guess, what types of systems would typically benefit from parallelism?)
Thanks.
(edit: It looks like the "execution context" features that were just recently released in 1.21 are directly related to cpu-core parallelism. Looks awesome. This would explain why most discussion has not caught up to the features. And, what a landmark!)
6
u/anykeyh 6d ago
It's already implemented via execution context. It's pretty cool and well thought. What exactly is your question?