Hacker News new | ask | show | jobs
by peterhj 2266 days ago
rustc does have a working nvptx target today, though it’s not supported nearly as well as the mainstream cpu targets, and some things you would really want for gpu programming (e.g. shared memory address space) are not currently exposed in the rust language. But kernels written in rust can compile to ptx; you’ll still need to write glue code.
1 comments

Yeah this would be about extending it to columnar analytics funcs, like `df['x'].apply(f)`, `df.query("x > 10 && y < 10"). I realized I may be wrong about the compiler speed part, not sure if it'd be faster than numba for codegen nowadays :)