2 ms·
This article uses very inefficient mathematical computations to illustrate concurrency. That’s fine, they are just examples. But you might also be interested in
by skybrian 5y ago
This article uses very inefficient mathematical computations to illustrate concurrency. That’s fine, they are just examples. But you might also be interested in learning how it’s really done, for example by reading the Primes package. [1]
[1] https://github.com/JuliaMath/Primes.jl/blob/master/src/Primes.jl https://github.com/JuliaMath/Primes.jl/blob/master/src/Prime...
- leephillips 5y agoYeah, as I wrote there, “As with all of the examples in the article, isprime() leaves many potential optimizations on the table in the interests of simplicity.” The source you link to is longer than my entire article. But it is good to see an example of a “real” program.
- WhatIsDukkha 5y agoThe care you took in showing the usefulness of the task migration was appreciated, thanks.