News for hackers. Stuff that matters.
Re:Efficient and performance-portable vector software by janwas on Thursday January 12, 2023 @02:49AM (#34350426)
Thanks! > Do you think it would be possible to port this to Rust? Yes, I think so. The main tricks are redefining macros based on the current compilation target, and compiling the same code multiple times. I believe Rust can do both, but have only surface-level familiarity. One stumbling block is getting the C++ equivalent of #pragma target, but I think Rust also has that.

There's been other interest in a Rust port, feel free to open an issue to perhaps start a discussion.

There are no comments on this comment yet.