News for hackers. Stuff that matters.
Re:Is Parallel Programming Hard, and, If So, What Can You Do... by brightball on Sunday February 19, 2023 @07:03PM (#34863283)
This is exactly what the BEAM and OTP do for Erlang/Elixir IMO.

In order to have parallel programming work effectively, you have to enforce a set of rules that ensures it always works reliably. You can’t add it on after the fact and that’s why it’s such a hard problem outside of the BEAM.

Re:Is Parallel Programming Hard, and, If So, What Can You Do... by college_physics on Sunday February 19, 2023 @07:18PM (#34863393)
I dont know much at all about erlang but if it cracked this shouldnt it be more prominent in HPC type applications? Is there some other tradeoff?
Re:Is Parallel Programming Hard, and, If So, What Can You Do... by brightball on Sunday February 19, 2023 @07:56PM (#34863672)
There were some tradeoffs that caused heavy computations to be a concern for many years. Elixir Nx recently tackled the problem and is probably a worthwhile read if you're curious.

https://github.com/elixir-nx

https://dashbit.co/blog/elixir-and-machine-learning-nx-v0.1

Re:Is Parallel Programming Hard, and, If So, What Can You Do... by shaklee3 on Monday February 20, 2023 @12:06AM (#34865111)
It's slow, so while concurrency is great, it will never replace the core libraries written in C, C++, or FORTRAN.