Live data from Hacker News

Nvidia announces native GPU programming in Rust

developer.nvidia.com

251–260 of 349 posts

Re: Nvidia announces native GPU programming in Rust

#251
post #45

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, e…

> 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.

IMO cr*p and crap are both valid but separate swear words. People have a wide option to choose from when they want to swear, and people like variety (much much more than LLMs do). People also tend to influence each other with their usages: cr*p is popular because it is popular.

Otherwise cr*p is just as good as crap, shit, horseshit, poopoo or such.

edit: * replaced with \* as HN interprets asterisks as formatting for emphasis. Thx latexr for informing me

Re: Nvidia announces native GPU programming in Rust

#252
post #98
post #54

Earlier quoted context omitted.

https://news.ycombinator.com/item?id=49249269 I put the "humanized" output through Pangram and it still comes out as 100% AI generated.

To be honest with you, I don't think I would be able to identify with high certainty that the bottom text is AI generated, so it definitely goes a long way to obscure the AI-generated nature of it, but I also think it still feels unnatural somehow. I realize my framing naturally calls into question whether I'm being honest, but I am being honest. Given my experience with similar "skills" (it's just chunks of prompt,…

GPT 4.5 was really good.

Re: Nvidia announces native GPU programming in Rust

#253

Does this mean I can write shaders in Rust for use with WGPU or Vulkan?

The way I understood it, rust would become an option next to Vulkan, WGPU (and opengl etc?).

But only for compute tasks. So, practically an alternative language to write compute shaders in.

Re: Nvidia announces native GPU programming in Rust

#254

Earlier quoted context omitted.

I guess you are not from the generation of texters. This how languages work we used to use * as a way to avoid getting censored it over time became a way to curse or give emphasis.

I'm definitely from the generation of texters and there was never any censorship going on with SMSs... yours must be a cultural or regional thing.

Maybe you didn't have T9 enabled but I consider it censorship when I type bitch and it gives me chubi.

Even now I wonder if I am allowed to type bitch here...

I guess we will find out.

Re: Nvidia announces native GPU programming in Rust

#255

Earlier quoted context omitted.

America is partly guilty, but TikTok censorship is a big part of the younger generation's tendency toward self censorship.

There's no such censorship on TikTok, it's entirely groupthink based on people saying "when I use that word my video is seen less so therefore it's being censored". Youtube is a lot more guilty of it though, as well as demonetizing.

well_ackshually, tik tok has a well known, long, and rich history of suppressing certain search keywords.

Re: Nvidia announces native GPU programming in Rust

#256
post #182

Earlier quoted context omitted.

CUDA is neither an API, nor a language, it is an ecosystem.

That's a nice way of saying that it's a dependency clusterfuck. I've never understood why we can't just expose the GPU ISA directly the way the CPU does. It's all getting compiled down at the end of the day so someone has to write a compiler for it either way. We'd be substantially better off IMO if it was all built directly into LLVM and then let middleware sort out the details.

If i'm not mistaken, this already exists, and the assembly language here is called PTX

https://llvm.org/docs/NVPTXUsage.html

Re: Nvidia announces native GPU programming in Rust

#257
post #28

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, e…

> Once you have allowed that proprietary cr*p into your C++ codebase People have been doing that all the time for every kind of codebase. It's just part of the business. I don't see how it's worth having any emotions or opinions about it. Seems like you are wasting your energy. Are win32 APIs proprietary? So you decide to use them, use a wrapper/UI framework, or don't develop for Windows. Easy choice. Developing for…

> I don't see how it's worth having any emotions or opinions about it.

Ironic, seeing as that is an opinion about it. Also weird telling people in an online discussion forum not to have opinions.

Re: Nvidia announces native GPU programming in Rust

#258
post #251
post #45

Earlier quoted context omitted.

> 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.

IMO cr*p and crap are both valid but separate swear words. People have a wide option to choose from when they want to swear, and people like variety (much much more than LLMs do). People also tend to influence each other with their usages: cr*p is popular because it is popular. Otherwise cr*p is just as good as crap, shit, horseshit, poopoo or such. edit: * replaced with \* as HN interprets asterisks as formatting fo…

To use a literal asterisk on HN, do ** or \*. Your single usage in two places instead turned the majority of the post italic.

Re: Nvidia announces native GPU programming in Rust

#259
post #85

Earlier quoted context omitted.

> even Nvidia Why "even Nvidia"? They are fully behind using AI for basically everything. What's next? "Damn, even McDonald's is putting out unhealthy food"

McDonald's food is not even that unhealthy. I just tried a Burger King burger the other day and it's terrible. I think it's like 2000 calories in a single burger or something.

2k cal would be around 250ml of oil. or 350grams of peanuts. So doing with bread, meat, and other stuff alike requires over 600g of food, an excellent value to energy.

Re: Nvidia announces native GPU programming in Rust

#260
post #209

Earlier quoted context omitted.

What about ^#%& as was traditional in newspaper comics strips?

How about "Pockmark!... Freshwater swabs!... Bully!.." or "Amoeba! Bashi-bazouks! Chowderheads! Certified Diplodocuses! Nyctalop! Ectoplasm!" ?

I was so disappointed when I tried reading tintin in other languages and found the dear captain was straight up using slurs in those. I wonder whether the english language ones have been edited over the years to remove that sort of thing
Post reply on HN