‹ BackHN Continuity

Thread

Nvidia announces native GPU programming in Rust

970 points · 404 comments · nonmaskable

  1. jacobgorm · · focus · HN ↗
    I strongly dislike CUDA. Once you have allowed that proprietary cr*p into your C++ codebase, it is very hard to get rid, and you end up with code that is either tied to a single vendor or an #ifdef hell, probably both.

    The best way to program GPUs is face up to the reality that they are not the same machine as the CPU, write your kernels in separate files, and launch them manually, like in Metal, OpenCL, and D3D12, etc. These days we even have DSLs like Triton that make kernel writing much more ergonomic than anything you would hope to achieve in Rust.

    1. tombert · · focus · HN ↗
      > I strongly dislike CUDA. Once you have allowed that proprietary cr*p

      Genuine question...why not just type "crap"? It's not even that much of a curse, but I've never really understood the point of self-censorship. If you don't want to curse then you could just use a non-curse word.

      1. vachina · · focus · HN ↗
        Platform may retroactively make up and enforce rules that makes your content violate terms (and remove them)

        See YouTube.

        1. tombert · · focus · HN ↗
          I certainly dislike how everyone on YouTube is saying “SA” and “unalive” and “corn”.

          It’s one thing if it’s some funny commentary channel avoiding those words, but what bothers me is the true crime YouTubers. In the subject of true crime, rape and murder are just things that are probably going to come up, and when they refuse to use the appropriate language, it comes off as infantilizing, which is weird considering that my actual YouTube account is over 18, let alone the viewer using it.

          Advertisers ruin everything, I guess.

          1. pferde · · focus · HN ↗
            It's become so bad that even quality history youtube channels are frequently using euphemisms like "moustache-man" instead of just saying "Hitler", to avoid their videos being buried by The Algorithm, and therefore cut severely into their viewership.
            1. magicalhippo · · focus · HN ↗
              I think it's a win-win. Intelligent people easily knows what they're talking about, and the others don't get offended. /s
              1. vincnetas · · focus · HN ↗
                glad i found that /s at the end
            2. Someone · · focus · HN ↗
              > even quality history youtube channels are frequently using euphemisms like "moustache-man" instead of just saying "Hitler"

              That can be quite confusing. You had German mustache-man, Russian mustache-man, French mustache-man (Petain), French small-mustache-man (de Gaulle), Spanish small-moustache-man (Franco)

              1. thaumasiotes · · focus · HN ↗
                If I know that your terminology includes "French small-mustache-man", I'm going to be really confused over "German mustache-man".
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.