‹ BackHN Continuity

Thread

Nvidia announces native GPU programming in Rust

970 points · 404 comments · nonmaskable

  1. dllu · · focus · HN ↗
    Since NVIDIA owns huggingface now and huggingface has the excellent Candle [1] crate for inference on Rust, this seems like a good step towards nice native Rust kernels.

    [1] <a href="https:&#x2F;&#x2F;github.com&#x2F;huggingface&#x2F;candle" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;huggingface&#x2F;candle

    1. jacobgorm · · focus · HN ↗
      Nobody cares if kernels are written in Rust. Kernels were meant to be written in C, but if you want to go more high-level try Triton or a similar DSL that nicely abstract tile sizes etc.
      1. cpill · · focus · HN ↗
        oh no no no, this is going to break the CPP hold on AI and game dev.
        1. pjmlp · · focus · HN ↗
          Nah, Rust compiler still needs C++ to be built in first place, and everyone on AI uses LLVM as infrastructure.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.