Live data from Hacker News

Nvidia announces native GPU programming in Rust

developer.nvidia.com

291–300 of 321 posts

Re: Nvidia announces native GPU programming in Rust

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

Because I know it is not technically crap, a lot of competent people worked on it, most with good intentions. I suppose it is better described as a cleverly designed Trojan horse than can infect your software and make that software become crap, in the sense that it becomes harder to maintain, increases code duplication, messes with your build system, ties your build system to platforms that have their toolchain binaries available, etc., etc., without bringing any long-term benefits over learning things the hard way.

Re: Nvidia announces native GPU programming in Rust

#293

Earlier quoted context omitted.

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 t…

I don't think those filters are even real, I think it's just mass-hysteria. I call these kinds of behaviours "traditions", but I'm not sure if there's a better term for it. Basically someone comes up with something which is nonsensical, but plausible. Like believing that their videos are unpopular because they said the word "rape" and the algorithm magically got them, rather than because their videos suck. Then someo…

I am sure they are bullshit. Like when they mute cursing and "risky" speech, but when you enable autogenerated subtitles they show up there. Youtube knows what thay said regardless if it's censored or not. It's so fucking stupid

Re: Nvidia announces native GPU programming in Rust

#294
post #223

Earlier quoted context omitted.

Then here we are. AI apocalypse. Something of note. I've started to pay more attention to canned goods. Soups with lentils and so forth.

FYI, the world is a lot more decentralized than we think and even during the Dark Ages, guess what, that was happening in Europe and many places in the world were booming scientifically, technologically, etc.

Dark Ages weren't as interconnected by communications and wrapped by the tentacles of transnational corpocracy as modern world, though...

Re: Nvidia announces native GPU programming in Rust

#295
post #50

Nvidia only? Typical. This is more promising: https://github.com/Rust-GPU/rust-gpu/

Once again... There's literally no point to a low level shader language for heterogenous back ends.

Why? The point of a shader language is to define a function that outputs some graphics. Why should that not be portable between GPUs/CPUs of different vendors?

Re: Nvidia announces native GPU programming in Rust

#296
post #6

> The launch is checked rather than trusted. Damn even Nvidia is putting out fully Claude-written articles.

That's actually a magnificent observation. This is not only an indication of a keen eye, but a trained brilliant mind as well.

this is literally a reddit comment chain

Re: Nvidia announces native GPU programming in Rust

#297

Earlier quoted context omitted.

That's actually a magnificent observation. This is not only an indication of a keen eye, but a trained brilliant mind as well.

this is literally a reddit comment chain

We do this wicked sin called having fun once in a blue moon here.

Slashdot's spirit shall live somewhere, no? Rent is all-time high and it can only afford here, for now.

Re: Nvidia announces native GPU programming in Rust

#298

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…

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

Yes, I also prefer doing it that way, but in Cuda with the driver API. Allows you to handle kernels like shaders, including editing and hot-reloading at runtime.

The reason I'm sticking with CUDA is because it's by far the most convenient API to use, without nonsense like 50-liners to alloc memory or the need to manage descriptors, bindings, queue families, etc.

Post reply on HN