Live data from Hacker News

Nvidia announces native GPU programming in Rust

developer.nvidia.com

421–424 of 424 posts

Re: Nvidia announces native GPU programming in Rust

#421

Earlier quoted context omitted.

Win32 is the most stable abi on the Linux desktop.

Correct, most of Linux user land targets API stability, not ABI stability. Windows targets ABI stability because applications are typically distributed as binary blobs. Most applications on Linux are open-source and built per each distro, so it’s a non-issue, just recompile. This doesn’t work for proprietary software that’s distributed as blobs and rarely updated, like say, video games. But that’s a minority of stuff…

Sadly glibc made the choice for everyone that you have to recompile constantly to keep your app working.

That’s one of the biggest issues keeping Linux small on the desktop since nearly no commercial oriented company works that way.

But it looks like we will soon be able to „virtualize“ the dynamic loader so glibc has no say in this matter anymore.

Re: Nvidia announces native GPU programming in Rust

#422

Earlier quoted context omitted.

Is this satire? D3D12 and Metal aren't any less proprietary than CUDA.

You can call their APIs without needing to compile your code with a proprietary compiler or adopt a bastardized version of C++.

Actually no.

You need Objective-C, Swift, and Metal is a C++14 dialect with extensions.

You may refer to the C++ bindings, which still not obviate the need for the C++14 dialect in the shaders, and it only works, because there is a shim to call the Objective-C runtime from C++.

Likewise there are DirectX COM interfaces that are really only usable from Visual C++ COM extensions, and the HLSL semantics depend very much on which compiler is being used, hence why there is finally a language reboot going on.

Re: Nvidia announces native GPU programming in Rust

#423
post #122

Earlier quoted context omitted.

I don't mind CUDA, I do mind that all of the SDKs don't dynamically load the various CUDA shared libraries at runtime.. intertwining itself into your application linking process makes for extreme binary portability inconvenience.

There a flavor of CUDA runtime libraries that binds at runtime, so you can have a single binary that runs with CUDA and without it. I did this at work. Obviously you need to check if CUDA is available before trying to execute kernels, or it will error out.

Sure, I've written them. None of the NVIDIA-provided SDKs are like this, including the new Rust one.

Re: Nvidia announces native GPU programming in Rust

#424

Earlier quoted context omitted.

No it isn't mass hysteria. YouTube has a set advertiser friendly guideline. It will scan uploads and streams automatically. YouTube used to demonetise profanity unless it was mild. YouTube would demonetise profanity in the first X number of seconds of the video. These rules change and have been relaxed of April last year, but generally these rules still exist. There isn't a hard filter if you say "suicide" you automa…

But do we have any evidence that “suicide” counts as a negative signal and “unalive” doesn’t?

The Suicide stuff is about protecting them from people who were promoting self harm. The unalive stuff is because of threats of violence. You can reference murder if it is say part of a news story or referencing something historical.

https://support.google.com/youtube/answer/6162278?hl=en#Harm...

Creators are being careful don't want their video demonetised because once it gets the yellow flag, even if it is removed later they've lost the majority of monetisation.

The problem with providing direct proof of this is that YouTube moves the goalposts quite often and their auto moderation system is very inconsistent.

Post reply on HN