3 ms·
> how should we write code today? Write in a GPU-style "compute shader" language and let the compiler pick the fastest ways of doing things on each ISA? https
by floatboth 6y ago
> how should we write code today?
Write in a GPU-style "compute shader" language and let the compiler pick the fastest ways of doing things on each ISA?
https://github.com/ispc/ispc https://github.com/ispc/ispc
- dragontamer 6y agoWell, such a feature doesn't exist in ispc. I guess I'm proposing a hypothetical feature that doesn't exist yet in any compiler. But it'd be nice if it existed... For it to exist, we need a combination of new assembly instructions as well as a smart enough compiler.