Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Getting a fast & safe Rust UDF layer that targets SPIR/CUDA/PTX would be quite interesting wrt enabling RAPIDS.ai (libcudf + python bindings) as well. It'd enable getting rid of slow & quirky numba etc - I remember Mozilla had GPGPU RUST codegen experiments here awhile back...


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.


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 :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: