Live data from Hacker News

Nvidia announces native GPU programming in Rust

developer.nvidia.com

161–170 of 349 posts

Re: Nvidia announces native GPU programming in Rust

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

My guess is that jacobgorm will not reply. I would love a reply, because I want to understand how others think.

I believe we'll be left to wonder.

Re: Nvidia announces native GPU programming in Rust

#163
post #160

Earlier quoted context omitted.

* is used to give emphasis and show that they are using the word as curse word rather just calling it bad

like for example, c*nt?

Maybe more like p**p, as in "that cunt p**ped in my yard"?

I'll admit, it never once occurred to me that people might be using censored characters to provide more emphasis that a word is a swear, but I guess it does indeed do that, at least to the writer. Whether that comes across to the reader, and whether the writer cares that their intention was understood... I'm not so sure.

Re: Nvidia announces native GPU programming in Rust

#164

Earlier quoted context omitted.

* is used to give emphasis and show that they are using the word as curse word rather just calling it bad

It doesn't read as emphasis to me. It reads like the person is trying hard not to curse, and they think "crap" is a curse word. It's a little bit adorable, like I'm reading a comment from an obedient child.

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.

Re: Nvidia announces native GPU programming in Rust

#165
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…

Many software engineers forget they're employee of a business.

Re: Nvidia announces native GPU programming in Rust

#166

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…

from what i can tell, you're going to be stuck with that no matter what you do

i'm currently using vulkan, and HLSL via dxc. which should be portable but it's not.

apple refuses to support vulkan, and relies on moltenvk and there's a bunch of OS/hardware/driver differences no matter what you do, that you'll probably have to feature test for, and compile a few different versions of your code no matter what you do

i think if you're doing something that you don't have to distribute to customers, just picking one stack and getting locked in has some appeal.

it leaves you vulnerable to lockin. but, especially in the age of ai, "claude, port this to vulkan" seems like a good enough defense against that

Re: Nvidia announces native GPU programming in Rust

#167

Earlier quoted context omitted.

It doesn't read as emphasis to me. It reads like the person is trying hard not to curse, and they think "crap" is a curse word. It's a little bit adorable, like I'm reading a comment from an obedient child.

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.

Sounds like a generational thing.

I grew up texting. But in the 90s any profanity filters could just be turned off in settings.

Re: Nvidia announces native GPU programming in Rust

#168

Earlier quoted context omitted.

Do you have the stomach to walk into a high school in the USA these days? Teachers use AI to generate assignments. Students feed the assignments to AI and submit the responses. Teachers feed the student submissions to an AI for grading.

I know many teachers who actually have respect for the profession, themselves, and the students. Thankfully that means they don't do this. Whether this is a widespread macro trend is another issue, and would be terryfying. If true, however, it would reflect on the values of the organization: we have spent decades underpaying teachers, and doing a poor job of pretecting schools from frivoluos lawsuits. Add into that,…

About half of the states in the USA require the ACT or SAT for high school graduation.

Alabama is one state that requires the ACT. The mean score in Alabama is below 18/36. Wisconsin is another. Its students score on average about 1 point higher than the national average of 19.4/36.

If you prefer states that require the SAT, the mean SAT score of students from Delaware is less than 980/1600, about 50 points below the national average.

I'll leave it to others to argue about whether these exams are rigorous.

Re: Nvidia announces native GPU programming in Rust

#169

Earlier quoted context omitted.

Yeah lol it’s basically the only reliable way to know how things work. Pre-AI, I read documentation for libraries that I used almost every day. And now with AI I’m using it to fact check Claude. And still reading it for myself to understand why other peoples code is written a certain way. It’s basically the most important thing to reference when coding. Sure today Claude can just read the library code and tell you wh…

only reliable way to know how things work is to reverse engineer them

But that’s my point, it’ll tell you how things work. In libraries I’m using, you can just read the code yourself.

You need the documentation to know why certain things work a particular way, or to know why some relationships or methods are the way they are

Re: Nvidia announces native GPU programming in Rust

#170
post #128
post #28

Earlier quoted context omitted.

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

> Are win32 APIs proprietary? Yes. And crap. Not in my code bases.

The CPU on most machines is quite proprietary. I don’t understand this faux purity dogma.

Practical computing is not and never has been an abstract pure concept. It’s about making machines built by corporations to do usefull things at scale.

There is no ”non proprietary” computing unless you make your own stack.

Post reply on HN