| ▲ | rao-v an hour ago | |
It distresses me that we don’t have a language that can do a best effort parallelization of arbitrary loop like code across SIMD, multiple threads, multiple cores and GPU with a small directive. I don’t need it to be optimal, just … handy as an option! The last time I brought this up here, folks offered a bunch of options that don’t quite do this, and the best candidate was this 15 year old compiler project that is Intel specific! Could some programming language nerd build this? (While you are at it give me a clear idiomatic way to pay the cost to switch from array of structs to struct of arrays) | ||
| ▲ | tbrownaw 5 minutes ago | parent | next [-] | |
> best effort parallelization of arbitrary loop like code across SIMD, multiple threads, multiple cores and GPU with a small directive. I doubt GPU is included by most runtimes yet, but for the rest of that have you tried SQL? | ||
| ▲ | saagarjha an hour ago | parent | prev | next [-] | |
The problem is you need both a PL nerd and a performance nerd and while that group has some overlap so these people are not as uncommon as you’d think the task is pretty hard so you need a lot of people on it, with a bunch of funding, etc. Usually it’s just cheaper to rewrite all your code by that point and so these efforts fail | ||
| ▲ | maximilianburke 37 minutes ago | parent | prev [-] | |
ISPC isn’t Intel-only: https://github.com/ispc/ispc | ||