3 ms·
"Multithreading is easy" Famous last words.
by nixpulvis 4y ago
"Multithreading is easy"
Famous last words.
- adgjlsfhk1 4y agoEspecially for scientists, it often is. Embarrassingly parallel is the norm. Multithreading is only actually hard when you have significant interaction between the threads.
- jakobnissen 4y agoHah, that's funny. Actually, I had to stop abandon a Julia package of mine because I just couldn't figure out how to debug some threading issues. What I meant was that, when multithreading is hard in Julia, it's not Julia that makes it hard. Julia gives you exactly all the tools you need, easily available. It's that the problem is hard, i.e. you fuck it up even with good tools available. In my work though, problems tend to be simple to parallelize.