astro-group-bristol/developer-group

Parallelising Code

lucyastro opened this issue · 2 comments

Looking at all things parallelisation would be really helpful. I have started experimenting and reading about this myself but any tips and best practices would be much appreciated!

I'd also be interested in finding out how multi-threading works in different languages (including Julia), and specifically how function calls are handled. I am aware that "it is notoriously difficult to write correct and data-race free multi-threaded code" and would like to know some simple tricks for avoiding these problems (even if the resulting code isn't as efficient as it could possibly be). Better to be slower and right than faster and wrong!

Hi @lucyastro ! Would you like to lead a discussion on this?