4 ms·
I think more cores is the future. Elixir makes it easy (and pragmatic) to utilize all cores. You can write it without parallelism and add it back in later when
by adambrod 11y ago
I think more cores is the future. Elixir makes it easy (and pragmatic) to utilize all cores. You can write it without parallelism and add it back in later when needed.
- lectrick 11y agoAs a person who once struggled to parallelize a test suite when the entire thing was not written with parallelization in mind (until its runtime became onerous)... I would highly, highly recommend using some parallelization framework from the get-go to uncover any concurrency issues immediately. In Elixir this is literally as simple as adding "async: true" to your test modules. It will also force you to write tests that can run concurrently... which has a few nice side effects for your code design generally.
- dave_ops 11y agoLWPs and OTP patterns are a "parallelization framework". You have to try pretty hard to design an OTP application that can't be trivially parallelized, and that includes parallelization across machines, not just cores.