News: 0000827942

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Julia 1.5 has been released

([Development] Aug 3, 2020 17:30 UTC (Mon) (jake))


Version 1.5 of the [1]Julia programming language has been [2]released . On the Julia blog, Jeff Bezanson and Stefan Karpinski [3]describe the highlights of the release , which includes struct layout improvements for decreasing heap allocations, stabilization of the multithreading API, faster random numbers, changes to the scoping rules in the read-eval-print loop (REPL), and more. " Julia excels at simulations, so random numbers are important to a lot of users of the language. For this release [4]Rafael Fourquet , one of the primary architects of the Random standard library and a prolific contributor in general, implemented some impressive algorithmic improvements for some popular cases. The first is a major improvement when generating normally-distributed double-precision floats. Calling randn(1000) is nearly twice as fast in Julia 1.5 compared with Julia 1.4. Generating random booleans also got much faster: rand(Bool, 1000) is nearly 6x faster. Finally, sampling from discrete collections has also gotten faster: rand(1:100, 1000) got 25% faster. " LWN looked at Julia ( [5]part 1 , [6]part 2 ) back in 2018, shortly after the release of Julia 1.0.



[1] https://julialang.org/

[2] https://discourse.julialang.org/t/julia-v1-5-0-has-been-released/44169

[3] https://julialang.org/blog/2020/08/julia-1.5-highlights/

[4] https://github.com/rfourquet

[5] https://lwn.net/Articles/763626/

[6] https://lwn.net/Articles/764001/

If men are not afraid to die,
it is of no avail to threaten them with death.

If men live in constant fear of dying,
And if breaking the law means a man will be killed,
Who will dare to break the law?

There is always an official executioner.
If you try to take his place,
It is like trying to be a master carpenter and cutting wood.
If you try to cut wood like a master carpenter,
you will only hurt your hand.
-- Tao Te Ching, "Lao Tsu, #74"