39 comments

  • jacobgorm18 hours ago
    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.<p>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.
    • fg13717 hours ago
      &gt; Once you have allowed that proprietary cr*p into your C++ codebase<p>People have been doing that all the time for every kind of codebase. It&#x27;s just part of the business. I don&#x27;t see how it&#x27;s worth having any emotions or opinions about it. Seems like you are wasting your energy.<p>Are win32 APIs proprietary? So you decide to use them, use a wrapper&#x2F;UI framework, or don&#x27;t develop for Windows. Easy choice.<p>Developing for embedded devices? So you read the manufacturers manual and implement based on the spec, use some sort of HAL if they are available, or you don&#x27;t have a job. Even simpler.
      • Hendrikto8 hours ago
        &gt; I don&#x27;t see how it&#x27;s worth having any emotions or opinions about it.<p>Ironic, seeing as that is an opinion about it. Also weird telling people in an online discussion forum not to have opinions.
        • da_chicken5 hours ago
          Oh, does that mean I get to say you&#x27;re ironic because, literally, they didn&#x27;t tell anyone to do anything. They said they didn&#x27;t understand the worth of the opinion. You&#x27;re interpretation is selectively literal in order to be rhetorical.<p>Does that mean someone else gets say <i>I&#x27;m</i> being ironic because I&#x27;m selectively literal in order to be rhetorical? Well, okay, I guess it&#x27;s harder now.
      • MisterTea37 minutes ago
        &gt; I don&#x27;t see how it&#x27;s worth having any emotions or opinions about it. Seems like you are wasting your energy.<p>Some people only care about the easiest path to their pay check. Some people actually care about software engineering. I tend to prefer the latter but hamstrung by the former.
      • infamouscow13 hours ago
        Many software engineers forget they&#x27;re employee of a <i>business</i>.
      • worik14 hours ago
        &gt; Are win32 APIs proprietary?<p>Yes. And crap. Not in my code bases.
        • fsloth12 hours ago
          The CPU on most machines is quite proprietary. I don’t understand this faux purity dogma.<p>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.<p>There is no ”non proprietary” computing unless you make your own stack.
          • preg_match12 hours ago
            Yes but there are business costs to using high-level proprietary tools and libraries. If you write your app using win32, you won’t be able to port is very easily. You’re also stuck with whatever bad or bizarre decisions Microsoft made.<p>It’s even worse for CUDA. GPUs are expensive, and now you’re vendor locked. You’re between a rock and a hard place. Either spend millions in engineering time, or millions on price-gauged hardware.
            • fsloth11 hours ago
              ” If you write your app using win32, you won’t be able to port is very easily.”<p>This is wrong way around.<p>If you don’t support the platform your app runs on using the native api:s to the hilt your port is just bad.<p>If you actually want to support multiple platforms _you actually need to support_ them from the ground up.<p>This is speaking industrially and businesswise. A professional software business always has per-platform implementation resources. Or they have just one platform. Or they pretend they are multiplatform and then _everybody_ _daily_ fights with the problems this causes.<p>Obviously those elements that can be portable should be. It’s like Einsteins simplicity maxim - your codebase should be as portable as can be but not more.<p>” It’s even worse for CUDA…”<p>No these are just the business and market constraints. If this does not make sense for your offering then don’t use it. This feels like false FOMO - CUDA is not a silver bullet but it might be a specific solution to a specific problem.
            • Asmod4n10 hours ago
              Win32 is the most stable abi on the Linux desktop.
              • rfgplk7 hours ago
                Dead wrong. Win32 (externally) only seems stable, but internally it changes between Windows releases. Win7 syscalls are completely different from Win11 syscalls, meaning if I want to release a binary _without relying_ on Win32 I need to provide full syscall mappings _for each and every Windows version_. This doesn&#x27;t happen on Linux.
                • aseipp4 hours ago
                  &gt; only seems stable, but internally it changes<p>That&#x27;s literally the definition of it being stable. Programs written against an interface keep working despite the implementation changing. The Linux kernel also constantly changes internally but programs written against syscalls keep working, so it is stable; that fact doesn&#x27;t stop being a fact just because I dislike perf_event_open(2) or whatever. This is all very basic and easy to understand.
                • david-gpu6 hours ago
                  <i>&gt;&gt; Win32 is the most stable abi on the Linux desktop.</i><p><i>&gt; Dead wrong [...] if I want to release a binary _without relying_ on Win32</i><p>Then you are not using the Win32 ABI, are you?
            • pjmlp11 hours ago
              I wonder which APIs you would use to port easily, because POSIX and Khronos aren&#x27;t it either, as they are industry standards driven by companies where one has to pay for a seat at Open Group and Khronos offices.
              • fsloth11 hours ago
                There is no ”easy” porting.<p>Once this is accepted the rest becomes easier as you are not wasting time trying to find a silver bullet.<p>I mean it’s then ”just normal work”.
                • pjmlp11 hours ago
                  Exactly.
            • socalgal211 hours ago
              &gt; If you write your app using win32, you won’t be able to port is very easily.<p>Is this still true? eg, Shopify saying porting is now easy so no need for abstractions.
              • fsloth8 hours ago
                Porting has never been hard. Just follow the platform guidelines. Make sane architecture. Done.<p>I mean _it&#x27;s just work_. You don&#x27;t need to invent anything. Just do the work.<p>What _is_ hard is when people run after silver bullets to avoid all this work.<p>Because people who don&#x27;t understand software decide it would be cheaper to implement something only once. Or someone who does not really understand what they are doing insists that same C++ code runs automatically on all platforms.<p>AI has given the software engineers permit from the beancounters to do the sane thing.<p>Good software development orgs _have always_ done proper per platform ports.<p>Also - there is nothing wrong in supporting only one platform as such!
                • DeepSeaTortoise7 hours ago
                  &gt; Good software development orgs _have always_ done proper per platform ports.<p>I really wonder why this was never fundamentally fixed. How performant a certain instruction on a specific platform is, how well it is supported and potential equivalents or sets of other instructions to emulate an equivalent are usually all very well understood.<p>So there should be some graph of operations which can transform any software from and to the specifics of each platform. Especially because firmware + compliers + platform abstracting libraries are basically already just that graph, although (usually?) to lossy to be applied in reverse. Add the recent developments in very large scale statistics to it and it&#x27;d probably be quite possible to transform from and to generic intent in the implementation to the uniqueness of each platform. E.g. the theming differences between a MacOS UI and a terminal application served over serial or the processing capabilities of a VLIW CPU compared to a FPGA or a GPU server.<p>Considering the enormous amount of work that went into compilers, better debugging and intermediate representations it seems like a huge missed opportunity nobody seriously asked the question whether information could be emitted that would allow for decompiling all the way back to the generic intent.
        • josephg14 hours ago
          If you&#x27;re going to make apps in windows, you need to call their proprietary API somehow. Maybe you do it via a wrapper library, or via electron or something. But that&#x27;s the same thing, just with more indirection.
          • rfgplk7 hours ago
            &gt; If you&#x27;re going to make apps in windows, you need to call their proprietary API somehow. Maybe you do it via a wrapper library, or via electron or something. But that&#x27;s the same thing, just with more indirection.<p>Not even close to being true. You can invoke syscalls directly, just needs a bit of reverse engineering. I wrote a bare metal libc library, with (not a whole lot of) effort I&#x27;m fully able to interface with the kernel&#x2F;open windows etc. Fully statically linked, no libc, no win32, compiled on Linux executed on Windows.<p>The problem is this isn&#x27;t really well documented _at all_, and I even ended up attempting to get in touch with the Windows kernel dev team to give me the actual internal syscalls&#x2F;endpoints, but they refuse to cooperate. Which is why writing anything for Windows is entirely pointless.
            • drdexebtjl58 minutes ago
              That’s insane. Windows does not have a stable syscall ABI. The way you’re supposed to interact with the kernel is through the userspace library. Of course the kernel team refuses to cooperate.<p>Do you want to keep reverse engineering the syscall ABI for every Windows edition and update ever? Do you want to ask your users to disable Windows Update?<p>Regardless, I don’t even understand how that’s relevant, since you’re still introducing a dependency on a proprietary ABI.
            • miki1232116 hours ago
              The problem is much deeper than that. Most OSes&#x27; syscall ABIs are not stable and could change without warning. What is stable is the dynamically-loaded libraries, shipped as part of the system. Linux is the notable exception here; the Linux kernel project doesn&#x27;t ship a libc, and Linus is very famously opposed to &quot;breaking userspace.&quot;<p>There&#x27;s nothing that can stop you from using syscalls in theory, but if you want your app to be portable across different OS versions, past and future, you&#x27;d better not.<p>Incidentally, syscalls would also break Wine. The way Wine works is basically by shipping their own versions of Windows DLLs, which express their operations in terms of Linux APIs. Because Windows programs don&#x27;t rely on syscalls, and call all system functions via the system-provided libraries, the Wine loader can just link Wine&#x27;s version and let the program work normally.
              • bentcorner1 hour ago
                <a href="https:&#x2F;&#x2F;blog.hiler.eu&#x2F;win32-the-only-stable-abi&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.hiler.eu&#x2F;win32-the-only-stable-abi&#x2F;</a>
            • vhiremath45 hours ago
              &gt; This isn’t even close to being true. Here’s a thing I did that made things way more complicated than is worth it for 99% of developers when there is a proprietary solution made so I do not need to worry about these things. Because it is so hard to work around it, it is entirely pointless to develop for one of the most used operating systems in the world.<p>Just being totally honest this is how I read this comment when I insert context that seems important to me. I respect having principles but at some point there needs to be more value in practicality over your codebase not being locked into a proprietary framework at all.
            • josephg3 hours ago
              &gt; Not even close to being true. You can invoke syscalls directly,<p>The windows syscall API is yet another proprietary windows API. Sure - you can call it without loading any DLLs. But you&#x27;re still calling into a proprietary windows API.<p>If you really hate calling proprietary windows APIs that much, maybe stop developing for windows? Develop software for linux. Or make your own kernel, or whatever. But if you keep developing software for windows, stop fighting it. Unless you have a very good reason, your software should try to fit in on its host platform. It should behave well, and work like other windows software.<p>It&#x27;s like travel. If you fly to France, try to fit in. Maybe learn a bit of French before you go. If you hate France, don&#x27;t go.
          • ux26647814 hours ago
            Find a way to get ring 0 without touching any system APIs and you can just make your own APIs. My programs shall never say &quot;please.&quot;
            • estebank13 hours ago
              Your programs shall never grace my systems.
              • DeepSeaTortoise8 hours ago
                What makes you think he&#x27;ll let you have a say in this? Btw, you wanna buy some ~~dea~~ usb sticks?
      • jacobgorm17 hours ago
        CUDA is not an API, CUDA is a language, so you cannot make that comparison.
        • pjmlp11 hours ago
          CUDA is neither an API, nor a language, it is an ecosystem.
          • fc417fc80210 hours ago
            That&#x27;s a nice way of saying that it&#x27;s a dependency clusterfuck.<p>I&#x27;ve never understood why we can&#x27;t just expose the GPU ISA directly the way the CPU does. It&#x27;s all getting compiled down at the end of the day so someone has to write a compiler for it either way. We&#x27;d be substantially better off IMO if it was all built directly into LLVM and then let middleware sort out the details.
            • pjmlp10 hours ago
              Because even CPUs rather use JIT runtimes to deal with the various kinds of ISAs that exist.<p>Naturally plenty of folks rather use software that doesn&#x27;t take advantage of the hardware they paid for.
            • dev_hugepages8 hours ago
              If i&#x27;m not mistaken, this already exists, and the assembly language here is called PTX<p><a href="https:&#x2F;&#x2F;llvm.org&#x2F;docs&#x2F;NVPTXUsage.html" rel="nofollow">https:&#x2F;&#x2F;llvm.org&#x2F;docs&#x2F;NVPTXUsage.html</a>
              • pjmlp6 hours ago
                PTX is a bytecode format, the CUDA driver JIT compiles it when uploading into the cards.
                • fc417fc8025 hours ago
                  Can&#x27;t the same also be said of much of the x86 vocabulary at this point?<p>I appreciate that we can upload SPIR-V directly. The API still feels overly obtuse but it&#x27;s not so bad.<p>SYCL gets close but is language specific.
            • imtringued9 hours ago
              That would require vendors to either stick with a single backwards compatible ISA like intel did for x86 or document how their graphics cards work.<p>CPUs manage this by changing the internal micro-architecture, but historically GPUs only needed to support a graphics API and used that abstraction layer to freely change the hardware.
        • esseph17 hours ago
          &gt; The CUDA runtime is a special case of one of the libraries provided by the CUDA Toolkit. The CUDA runtime provides both an API and some language extensions to handle common tasks such as allocating memory, copying data between GPUs and other GPUs or CPUs, and launching kernels. The API components of the CUDA runtime are referred to as the CUDA runtime API.<p>From: <a href="https:&#x2F;&#x2F;docs.nvidia.com&#x2F;cuda&#x2F;cuda-programming-guide&#x2F;01-introduction&#x2F;cuda-platform.html" rel="nofollow">https:&#x2F;&#x2F;docs.nvidia.com&#x2F;cuda&#x2F;cuda-programming-guide&#x2F;01-intro...</a>
    • nicwilson16 hours ago
      Launching kernels manually is an error prone PITA which I believe is the principle reason for CUDA&#x27;s popularity. Having the compiler give an error when you mess up is a huge benefit. But having the compiler allow you to express &quot;I want to launch this kernel over a grid with these dimensions, with these arguments&quot; as a single expression is where the vast majority of the value comes from.<p>The having it all in a single file is mostly an artefact of the fact that it is C++, because C++ is single file at a time compilation. In D (which is multiple files in a single compiler invocation) with DCompute (which targets CUDA and OpenCL with upcoming support for Vulkan and Metal), you are required to write the kernels in a separate module, but you get all the benefits of the compiler complaining when you mess up _and_ the expressivity of &quot;launch me this kernel&quot;.
      • oblio11 hours ago
        &gt; Having the compiler give an error when you mess up is a huge benefit.<p>Shouldn&#x27;t this be alleviated by the current code generation machines?
        • nicwilson11 hours ago
          Well yeah, but then you are using code generation, not writing code directly.
          • oblio8 hours ago
            I meant LLMs :-)
            • high_na_euv6 hours ago
              You are trying to say that llm can replace compiler?
              • ActorNightly27 minutes ago
                Why is this even a question, of course they can.<p>Write python code, ask any llm to translate it to C, then compile the C code - if it produces errors or fails to run, ask LLM to fix it. Then take it a step further and ask it produce machine code, and repeat the procedure.<p>Then RL the llm on the above, and you basically have a Python -&gt; Machine code compiler. If you cover every single possible python syntax, every single possible C syntax, every possible standard library call, and all the compiler optimization examples (all of which is a final set), you should get something that is extremely accurate.
              • oblio3 hours ago
                In general, no? But they should help with this part:<p>&gt; Launching kernels manually is an error prone PITA which I believe is the principle reason for CUDA&#x27;s popularity.
    • winwang15 hours ago
      Having also played with Metal and WebGPU (at least years ago), I would say that CUDA is, amazingly, the best GPGPU API we have. Do I wish we had an open source parallel programming language as good or better than it? Yes. But asymmetrically hating on CUDA like this is how we continue to lag behind it in UX.<p>&gt; 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<p>Not to mention that this is a completely sane way to use CUDA as well.
      • pjmlp11 hours ago
        People that attack proprietary APIs always miss the point why most devs outside FOSS circles prefer them.<p>Turns out when one isn&#x27;t ideologically against something they aren&#x27;t willing to put up with a lesser experience just for the cause.
        • darkwater10 hours ago
          I know it&#x27;s not the same thing because proprietary vs open software it&#x27;s way less important but, generally if you are not ideologically against something you can easily follow the stream and do lot of nefarious actions, especially if the action has enough degrees of separations from the actual nefast outcome.
    • mschuetz6 hours ago
      &gt; 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,<p>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.<p>The reason I&#x27;m sticking with CUDA is because it&#x27;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.
      • david-gpu6 hours ago
        <i>&gt; The reason I&#x27;m sticking with CUDA is because it&#x27;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.</i><p>I was there when the OpenCL committee was deciding on that sort of stuff.<p>As I recall, and it&#x27;s been two decades and a lot of sleepless nights since then, there was real pushback at the time against OpenGL-style default bindings. So folks didn&#x27;t want to establish an implicit command queue or any other default objects attached to other objects. Part of it is because OpenGL was perceived as clumsy and passé, some of it was because it is not friendly to multi-threaded applications.<p>Those first meetings were a shitshow full of tension, implicit threats from Apple, and backroom deals. Kudos to Neil Trevett for chairing the group; I I bet it wasn&#x27;t fun for him either.
        • mschuetz5 hours ago
          That&#x27;s unfortunate. Cuda has shown that, when done right, defaults and a convenience layer can make for a well received API without sacrificing performance.
          • david-gpu5 hours ago
            Yes, I wanted defaults as well, particularly a default context and command queue.<p>Design by committee is a real phenomenon. And people in a committee know that, but they are also helpless.
    • harrison_clarke12 hours ago
      from what i can tell, you&#x27;re going to be stuck with that no matter what you do<p>i&#x27;m currently using vulkan, and HLSL via dxc. which should be portable but it&#x27;s not.<p>apple refuses to support vulkan, and relies on moltenvk and there&#x27;s a bunch of OS&#x2F;hardware&#x2F;driver differences no matter what you do, that you&#x27;ll probably have to feature test for, and compile a few different versions of your code no matter what you do<p>i think if you&#x27;re doing something that you don&#x27;t have to distribute to customers, just picking one stack and getting locked in has some appeal.<p>it leaves you vulnerable to lockin. but, especially in the age of ai, &quot;claude, port this to vulkan&quot; seems like a good enough defense against that
    • 1515515 hours ago
      I don&#x27;t mind CUDA, I do mind that all of the SDKs don&#x27;t dynamically load the various CUDA shared libraries at runtime.. intertwining itself into your application linking process makes for extreme binary portability inconvenience.
    • pavon18 hours ago
      &gt; 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<p>Isn&#x27;t that how CUDA code is normally written?
      • jacobgorm17 hours ago
        No. CUDA allows you to write all the code in a single file, and uses a preprocessor to split it back out and pass it through separate compilers, one for host and one for device.
        • compiler-guy17 hours ago
          This true, but you can write the two separately if you want.<p>The disadvantages of writing them together are listed in the various parent posts. But some code authors really like the convenience of having the two in the same file.
    • ActorNightly25 minutes ago
      Yep.<p>Ive essentially followed that paradigm with Python and C. I start out writing Python code. If I need something to run fast, I build a standalone C application that either reads from a file or listens on a socket, and just invoke it from Python. No need to write the entire thing in Rust and deal with all its semantics when it will be at best like 2% faster.
    • melodyogonna18 hours ago
      You could also use Mojo, one language for all targets.
      • adgjlsfhk116 hours ago
        Or julia if you want a much more mature ecosystem.
        • zackmorris1 hour ago
          I fell in love with MATLAB (or GNU Octave for free since you really pay for toolboxes&#x2F;packages) back around 2004, despite it warts. So I second Julia, which is similar, but is a more modern functional language instead of imperative.<p>I asked Google&#x27;s Gemini if Julia can run on GPU unmodified without annotations, pragmas, intrinsics or similar manually-managed friction, and it said yes, but that data types must be swapped out for GPU-backed types:<p><i>If your code is written using vector&#x2F;matrix operations, broadcasting, or standard linear algebra functions, it can run on the GPU entirely unmodified. You only need to change the input data type to a GPU-backed array (e.g., swapping a CPU Array for a CuArray from CUDA.jl).</i><p><pre><code> # A standard Julia function — completely agnostic to hardware function custom_math!(C, A, B) @. C = sin(A) + 2 * B # Normal broadcasted operation end # Running on the CPU: A_cpu = rand(1000) B_cpu = rand(1000) C_cpu = similar(A_cpu) custom_math!(C_cpu, A_cpu, B_cpu) # Running on the GPU (Unmodified function!): using CUDA A_gpu = CuArray(A_cpu) B_gpu = CuArray(B_cpu) C_gpu = similar(A_gpu) custom_math!(C_gpu, A_gpu, B_gpu) # Automatically compiles to native PTX! </code></pre> <a href="https:&#x2F;&#x2F;cuda.juliagpu.org&#x2F;stable&#x2F;" rel="nofollow">https:&#x2F;&#x2F;cuda.juliagpu.org&#x2F;stable&#x2F;</a><p>This is the direction we should be going. So while Nvidia&#x27;s Rust port is an important first step, it&#x27;s an evolutionary rather than revolutionary achievement. But that&#x27;s all Nvidia can really do now, since it&#x27;s locked into its own paradigm like Intel&#x2F;Microsoft and has gotten too big to think outside the box.<p>Edit: PTX in its example stands for Parallel Thread Execution, the Virtual Machine (VM) Instruction Set Architecture (ISA) created by NVIDIA for its GPUs, which works similarly to Java byte code.<p>Edit 2: Broadcasting is a feature in Julia that allows you to apply a function or mathematical operation element-by-element across arrays of different shapes and sizes, without writing manual loops. In Julia, broadcasting is syntactically indicated by a dot (.) placed before an operator or function name (e.g., sin.(x) or .+). &lt;- I was today years old when I learned the term for this
        • patagurbon16 hours ago
          I highly recommend Julia for (scientific) GPU programming but it would be nice if there was a larger community and&#x2F;or funding behind the GPU side of things. It has very few core devs for what it is.
        • eggy5 hours ago
          Julia has had a great CUDA story for a few years now, and this about 9 days old. Rust rejects buffer aliasing at compile time using Rust&#x27;s borrow checker, but shared memory in cuda-oxide currently requires unsafe, but then there&#x27;s HuggingFace&#x27;s Grout and mistral.rs, so yeah, Rust is picking up ground here on Julia. How is OpenCL&#x27;s performance these days?
      • carefree-bob17 hours ago
        I began to lose interest after the acquisition. Have you been following along, are they still going to open source it?
        • ecl3ctic17 hours ago
          The Mojo compiler has been open source for over a month now.<p>And the Mojo standard library has been open source for over a year.<p>It’s all open source. Go check it out!
          • carefree-bob17 hours ago
            Nice, thank you. There is an old python project I&#x27;ve been thinking about converting to Mojo.
        • YuechenLi17 hours ago
          I thought they already did and released the compiler source code under Apache 2.0.
    • throwaway33421214 hours ago
      Anyone here looking at Modular&#x27;s offerings?
      • bsaul4 hours ago
        i&#x27;m surprised modular&#x27;s doesn&#x27;t get much traction. The promise seems super interesting, and chris latner has the record to back up his claims. If someone has an explanation..
    • andirk7 hours ago
      What is a proprietary crop?
      • mstkllah7 hours ago
        It&#x27;s actually creep.
    • bigyabai18 hours ago
      Is this satire? D3D12 and Metal aren&#x27;t any less proprietary than CUDA.
      • jacobgorm7 hours ago
        You can call their APIs without needing to compile your code with a proprietary compiler or adopt a bastardized version of C++.
    • anon29114 hours ago
      ? I find it hard to see the issue here. Just put it in a separate file and call it?
    • cpill17 hours ago
      yeah, just write a stub&#x2F;wrapper around it and abstract. it&#x27;s the classic coupling problem. nothing to do with CUDA
    • tombert17 hours ago
      &gt; I strongly dislike CUDA. Once you have allowed that proprietary cr*p<p>Genuine question...why not just type &quot;crap&quot;? It&#x27;s not even that much of a curse, but I&#x27;ve never really understood the point of self-censorship. If you don&#x27;t want to curse then you could just use a non-curse word.
      • justushamalaine8 hours ago
        I thought that cp*p is some kind of ugly cuda pointer declaration :D And being non-standard C++ syntax it wouldn’t compile.
        • moffkalast3 hours ago
          Least ugly cpp syntax.
          • Xunjin2 hours ago
            As a person who prefers Rust more than cpp, gotta say it&#x27;s also &quot;Least ugly Rust syntax&quot;
      • throwaway858258 hours ago
        Normative behavior has shifted due to pervasive censorship and surveillance.
      • xbmcuser16 hours ago
        * is used to give emphasis and show that they are using the word as curse word rather just calling it bad
        • josephg14 hours ago
          It doesn&#x27;t read as emphasis to me. It reads like the person is trying hard <i>not</i> to curse, and they think &quot;crap&quot; is a curse word. It&#x27;s a little bit adorable, like I&#x27;m reading a comment from an obedient child.
          • xbmcuser13 hours ago
            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.
            • Sharlin8 hours ago
              I&#x27;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.
              • collabs8 hours ago
                Maybe you didn&#x27;t have T9 enabled but I consider it censorship when I type bitch and it gives me chubi.<p>Even now I wonder if I am allowed to type bitch here...<p>I guess we will find out.
                • Sharlin8 hours ago
                  But typing &quot;b*tch&quot; with T9 is just as difficult (if not more) as typing &quot;bitch&quot;. Anyway, I guess I never had a need to swear much over SMS. On IRC, on the other hand...
            • josephg12 hours ago
              Sounds like a generational thing.<p>I grew up texting. But in the 90s any profanity filters could just be turned off in settings.
              • 1072928712 hours ago
                People are getting used to censor themselves in order not to be reported, banned, or «hurt » other sensibilities. The words « rape » couldn’t be written in instagram for example, what a great way to deal with such a serious issue. Mainly an American thing spreading away from young people if you ask me. Sorry America, just being honest here.
                • sampullman10 hours ago
                  America is partly guilty, but TikTok censorship is a big part of the younger generation&#x27;s tendency toward self censorship.
                  • bragh10 hours ago
                    As much as I personally dislike TikTok, I don&#x27;t think it is fair to it: cultural willingness for more sensor sheep on Internet started years before TikTok&#x27;s popularity in the west.
                    • sampullman9 hours ago
                      It&#x27;s not the sole cause, but I believe it&#x27;s the main driver behind a bunch of specific substitutions that are mainstream now or nearly so. For example, dih, ahh, and unalive. They may not have been invented on tiktok, but that&#x27;s where they incubated.
                  • well_ackshually9 hours ago
                    There&#x27;s no such censorship on TikTok, it&#x27;s entirely groupthink based on people saying &quot;when I use that word my video is seen less so therefore it&#x27;s being censored&quot;.<p>Youtube is a lot more guilty of it though, as well as demonetizing.
                    • sampullman7 hours ago
                      How is that not a form of censorship? It is direct suppression of certain forms of speech.<p>YouTube has its problems but I don&#x27;t think it&#x27;s had quite as strong of an effect on language.
                      • flumes_whims_3 hours ago
                        It sounds like there is a documented policy or proven that TikTok does it. Just people thinking it does leading them to self-censor. Then people see others doing it and copy it. So, I guess it is censorship but not by TikTok.
                    • collabs8 hours ago
                      well_ackshually, tik tok has a well known, long, and rich history of suppressing certain search keywords.
              • mixermachine8 hours ago
                After reading through the threat here it seems more like a cultural thing. The US has quite a lot of filters for profanity. I remember from my youth that in 2009 Eminem was a guest in a Germany TV show and very happy to swear as much as possible without being censored. <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;shorts&#x2F;2OC-yKZ5Yag" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;shorts&#x2F;2OC-yKZ5Yag</a>
              • nairboon9 hours ago
                You had profanity filters for SMS?
            • nairboon9 hours ago
              Is that a cultural&#x2F;national thing instead of an age thing?<p>I&#x27;ve never had texts censored by texting providers, they&#x27;re not supposed to read texts in the first place (at least around here).
            • mixermachine8 hours ago
              Am I, with around 30, in this generation? Putting * in words seems like self censorship to me. Still, might have a cultural component. German here.
              • lambdaone6 hours ago
                It can be used for in-jokey comedic effect. For example, referring to M*cr*sft W*nd*ws or Br*dc*m as though they were offensive terms. Or *r*cl*.
              • eyko7 hours ago
                I&#x27;m in my 40s and * is self-censorship to me. It must be a cultural thing.
            • saberience10 hours ago
              I’ve been texting since it was first a thing (sms on Nokia phones) and no one I knows does this. We just say shit, fuck, and crap.
            • lofaszvanitt8 hours ago
              stop feeding nonsense to the masses
        • Tade09 hours ago
          I think a string of non-alphanumeric characters would work much better here, like &quot;Once you have allowed that proprietary @#$&amp;% into your C++ codebase”<p>Leaves more to the imagination.
        • westonmyers12 hours ago
          In any context I&#x27;ve seen, asterisks are for wrapping formatting and said formatting it to add emphasis. So being in the habit of typing `<i>emphasised phrase</i>`, for italics - regardless of whether the platform parses markdown&#x2F;similar formatting, e.g. SMS.<p>To have an unclosed asterisk replacing characters in a word? I&#x27;ve <i>only</i> ever seen that as a way to bypass censorship. This spans communications from people currently in their 40s down to 20.
        • vladde10 hours ago
          i do this to put emphasis, i always type &quot;h*ck&quot;.<p>(although it is a half-joke since it&#x27;s definitely not a curse word imo)
        • allarm4 hours ago
          But this isn&#x27;t perceived as emphasis at all. If I wanted to emphasize something, I&#x27;d be more likely to use something like *bitch* or something along those lines. Replacing a letter with an asterisk comes across as self-censorship, which is pretty silly - just use a different word if you&#x27;re that uncomfortable with swearing.
        • lsofzz13 hours ago
          like for example, c*nt?
          • kbenson13 hours ago
            Maybe more like p**p, as in &quot;that cunt p**ped in my yard&quot;?<p>I&#x27;ll admit, it never once occurred to me that people might be using censored characters to provide <i>more</i> 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&#x27;m not so sure.
            • fc417fc80211 hours ago
              What about ^#%&amp; as was traditional in newspaper comics strips?
              • ElFitz10 hours ago
                How about <i>&quot;Pockmark!... Freshwater swabs!... Bully!..&quot;</i> or <i>&quot;Amoeba! Bashi-bazouks! Chowderheads! Certified Diplodocuses! Nyctalop! Ectoplasm!&quot;</i>?
                • RugnirViking8 hours ago
                  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
                  • johanvts3 hours ago
                    æselmassør, sortbørsgrosserer, søpindsvinefjæs, karnevalssørøver!<p>Findes der en Haddock&#x2F;Egon Olsen tiradegenerator derude?
                • yehoshuapw9 hours ago
                  &quot;Your mother was a hamster and your father smelt of elderberries!&quot;
              • latexr8 hours ago
                Known as grawlix or obscenicon.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Grawlix" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Grawlix</a>
            • lsofzz11 hours ago
              Hah. Yeah, I agree. It&#x27;s one of those things I admit is `lost in translation` for sure.
      • jacobgorm6 hours ago
        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.
        • scottLobster2 hours ago
          The long term benefit is that there are more developers with CUDA experience available to hire than there are with any of the &quot;hard ways&quot; you mention.<p>Not saying you&#x27;re wrong, but my career got a lot less frustrating when I started focusing more on the product and less on the ergonomics of the implementation. If you need to build a house and the customer isn&#x27;t willing to pay for brick, you use vinyl siding.
        • pid0x175 hours ago
          As someone only recently getting into HPC, what do you mean when you say learning things the hard way? What would you suggest?<p>I recently started learning CUDA and parallel programming paradigms.
          • jacobgorm5 hours ago
            For learning that may be a fine approach, but CUDA (in C++) really tries to hide what is going on behind the scenes, which is roughly:<p>1) code gets split between a host part that goes through your normal compiler, and a device part that goes through the GPU compiler. You may as well write the kernels separate and compile them via a separate compilation step, and keep your trusted host compiler for the host-side code.<p>2) data needs to move between the host and devices via explicit buffer transfers and synchronization steps, CUDA tries to hide this with annotated pointers, but it is really easier to think about those as just buffers that you allocate and transfer IMO, instead of trying to transparently share pointers between host and device like CUDA does.<p>3) kernel launches can we wrapped in a function similar to:<p>void RunKernel(const char *kernel_name, size_t width, size_t height, size_t depth);<p>Instead of the funky &lt;&lt;&lt; &gt;&gt;&gt; syntax that CUDA for C&#x2F;C++ imposes. The problem is that once you start putting that in your code, it stops being C++ and stops being portable to non-CUDA GPUs. The launching and grid settings can be a bit hard to grasp at first, but sugarcoating that in bastardized C++ syntax does not absolve from having to understand it eventually.<p>So a good place to start might be an OpenCL or Metal primer, depending on the hardware you have available. D3D12 (and probably Vulcan too) makes this much harder than it should be, with too much boilerplate but is overall a mature and well-designed API should you wish to develop for Windows. Starting with WebGPU might also be good these days. It has a very different shader language than the others, but the rest of the concepts are similar, and it has a strong emphasis on making things async, which is what you want for performance anyways.<p>Claude&#x2F;Codex should be able to get you moving very quickly.
            • pid0x173 hours ago
              Thank you very much for the effort you put into your advice!! I think I will start with WebGPU (wgpu), even though I have an Apple Silicon Macbook. I would really prefer to work with Rust instead of C++ because I am not good with C++. (I believe) I am good with C, so my C++ code looks like C code, and I am kinda learning the differences as I learn CUDA, which is a terrible way to learn C++, I guess.
      • vachina12 hours ago
        Platform may retroactively make up and enforce rules that makes your content violate terms (and remove them)<p>See YouTube.
        • tombert11 hours ago
          I certainly dislike how everyone on YouTube is saying “SA” and “unalive” and “corn”.<p>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 <i>actual YouTube account</i> is over 18, let alone the viewer using it.<p>Advertisers ruin everything, I guess.
          • MisterMunchkin7 hours ago
            I don&#x27;t think those filters are even real, I think it&#x27;s just mass-hysteria. I call these kinds of behaviours &quot;traditions&quot;, but I&#x27;m not sure if there&#x27;s a better term for it.<p>Basically someone comes up with something which is nonsensical, but plausible. Like believing that their videos are unpopular because they said the word &quot;rape&quot; and the algorithm magically got them, rather than because their videos suck. Then someone else sees that and starts thinking it is true. It silently spreads across the population.<p>I&#x27;ve seen this in organisations, where new recruits haven&#x27;t been properly trained. Someone has come up with a method which is wildly incorrect and illegal, but plausible. The other new people around them have copied them. They&#x27;ve become slightly more experienced people, they&#x27;ve taught the next round of new people.<p>Before you know it, half of the organisation is doing something hilariously wrong, and they all sincerely believe it is the right way of doing it, because everyone does it. It&#x27;s just self-reinforcing at that point.
            • IslandRebel1 hour ago
              No it isn&#x27;t mass hysteria. YouTube has a set advertiser friendly guideline. It will scan uploads and streams automatically.<p>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.<p>There isn&#x27;t a hard filter if you say &quot;suicide&quot; you automatically get it. However it increases the likely hood of demonetisation. So people avoid it to be safe. So you end up with people using stupid euphemisms all the time.
            • thaumasiotes5 hours ago
              &gt; I call these kinds of behaviours &quot;traditions&quot;, but I&#x27;m not sure if there&#x27;s a better term for it.<p>In psychology that kind of thing is referred to as &quot;superstition&quot;.<p>More specifically, &quot;superstition&quot; in this sense refers to the phenomenon of copying someone else&#x27;s successful approach to a problem you have. (In your example, getting views on youtube.) Since you don&#x27;t know what parts of their approach matter, you copy the effective parts and the ineffective parts equally.
              • thaumasiotes22 minutes ago
                Actually, I was a little too specific here - superstition also refers to copying your own successful approach.
              • tombert2 hours ago
                I always associated the term “cargo culting” with that but I think that term has largely fallen out of fashion (probably for the best).
            • efilife6 hours ago
              I am sure they are bullshit. Like when they mute cursing and &quot;risky&quot; speech, but when you enable autogenerated subtitles they show up there. Youtube knows what thay said regardless if it&#x27;s censored or not. It&#x27;s so fucking stupid
          • pimanrules2 hours ago
            A (baseless) hypothesis: perhaps there are plenty of YouTube creators who use the proper, mature terminology but you never see their videos because the algorithm really is penalizing them for it...
          • pferde9 hours ago
            It&#x27;s become so bad that even quality history youtube channels are frequently using euphemisms like &quot;moustache-man&quot; instead of just saying &quot;Hitler&quot;, to avoid their videos being buried by The Algorithm, and therefore cut severely into their viewership.
            • Someone7 hours ago
              &gt; even quality history youtube channels are frequently using euphemisms like &quot;moustache-man&quot; instead of just saying &quot;Hitler&quot;<p>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)
              • thaumasiotes5 hours ago
                If I know that your terminology includes &quot;French small-mustache-man&quot;, I&#x27;m going to be really confused over &quot;German mustache-man&quot;.
            • magicalhippo9 hours ago
              I think it&#x27;s a win-win. Intelligent people easily knows what they&#x27;re talking about, and the others don&#x27;t get offended. &#x2F;s
              • vincnetas7 hours ago
                glad i found that &#x2F;s at the end
      • lovelearning16 hours ago
        It may be to bypass censorship, rather than self-censorship. Some platforms block or shadowban comments with curse words. Not sure about this platform.
        • arcanemachiner16 hours ago
          HN definitely doesn&#x27;t give a crap about that word.
          • tombert15 hours ago
            I have written many words far worse than &quot;crap&quot; on this site. I haven&#x27;t gotten in trouble over it yet.<p>I do find it a little amusing, because commenters stopped criticizing my cursing the moment I started getting a good chunk of karma here. I remember in 2016 someone criticized me for using the term &quot;shitposting&quot;...I don&#x27;t think I&#x27;ve gotten that kind of criticism <i>since</i> 2016 though.
            • Tade09 hours ago
              Back then the term was still associated with 4chan.
            • protocolture13 hours ago
              [dead]
          • smnplk16 hours ago
            can confirm, looks like crap is not on a list
      • capl11 hours ago
        cause you might go to the eternal flames if you say a no-no word online
        • brobdingnagians10 hours ago
          Your comment only makes sense in context if you believe in a deity who is too dumb to understand the difference between cr*p and crap. I for one do not worship a Bayesian spam filter.
        • Cthulhu_10 hours ago
          [dead]
      • lenkite6 hours ago
        Because nanny states are tracking your keyboard nowadays.
      • shevy-java4 hours ago
        &gt; I&#x27;ve never really understood the point of self-censorship.<p>Some platforms disallow certain words. In order to bypass that, some people use the asterisks. That&#x27;s just as one possible answer to your question; there can be many different reasons for self-censorship, but to me the most logical one is when one tries to work around crappy restrictions, such as on terrible reddit (they killed old.reddit recently; I retired before that due to moderators being insane, but I also said that if old.reddit is gone, I am gone anyway - the requirement to now log in, totally defeats old.reddit com&#x27;s usecase. Then again reddit went downhill many years before that already, so not a real loss.)
      • ValleZ4 hours ago
        Not all crap is created equal, some needs censoring.
      • bmacho8 hours ago
        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.<p>Otherwise cr*p is just as good as crap, shit, horseshit, poopoo or such.<p>edit: * replaced with \* as HN interprets asterisks as formatting for emphasis. Thx latexr for informing me
        • latexr8 hours ago
          To use a literal asterisk on HN, do ** or \*. Your single usage in two places instead turned the majority of the post italic.
      • jimbob4511 hours ago
        His kids were probably watching him type over his shoulder and he didn’t want to hear, “Daddy, what does crap mean?”
        • Cthulhu_10 hours ago
          &quot;Daddy, what does cr*p mean?&quot; Kids aren&#x27;t stupid and this self-censorship isn&#x27;t protecting anyone from anything.<p>(if a platform is serious about Bad Words for whatever reason (moral?) they would also forbid character replacements; ultimately it&#x27;s the intent, not the word itself, that they try to steer with rules like that)
        • xxs8 hours ago
          I&#x27;d consider that a joke - but also zero issue using any words talking in front of kids. You might wish to explain them anyways.
        • tombert11 hours ago
          I am arguing that they would ask that anyway.<p>I guess I never understood censorship when it’s plainly obvious what you’re censoring. Anyone who can read will clearly know that it said “crap”, so I don’t see how it’s fundamentally different than just saying the word. You still put the word into my brain.
      • ImHereToVote9 hours ago
        What if a toddler is browser HN and sees the curse word?
        • allarm4 hours ago
          Oh, my, indeed! That&#x27;s gonna traumatize the poor dude for life.
      • jjtheblunt47 minutes ago
        he could be a farmer and didn&#x27;t want to type crop.<p>alternately, perhaps he meant to match all of cp, crp, crrp, crrrp, and so on. the dude might really like regexes.<p>&#x2F;s
      • c0nducktr13 hours ago
        My guess is that jacobgorm will not reply. I would love a reply, because I want to understand how others think.<p>I believe we&#x27;ll be left to wonder.
    • wangxili19979 hours ago
      [flagged]
    • unPeuResilient10 hours ago
      [dead]
  • loup-vaillant6 hours ago
    Okay, so, GPUs are taking one more step towards being general purpose massively parallel machines. That&#x27;s cool.<p>What would be even cooler though would be for GPU vendors to start giving us the user manual. An I mean the <i>real</i> user manual, that explains how to use their piece of metal <i>when all you have is that piece of metal</i>. That means a precise description of the wire protocols, the data format of the buffers we send to &amp; get from the GPU, the ISA of the cores we have access to, the relevant performance characteristics…<p>In other words, enough information to write a state-of-the-art driver for any OS. <i>That</i> would be cool.
    • floil2 hours ago
      They don&#x27;t release it because exposing a stable instruction set would kill their ability to quickly iterate, to release silicon with bugs that can be papered over with software fixes, as fixing bugs in chips is very expensive in terms of time to market, and undoubtedly to charge more for what looks like a hardware feature but actually is a software feature.<p>It&#x27;s been this way for 25 years and I don&#x27;t see it changing.
      • VikingCoder1 hour ago
        A stable instruction set would be nice.<p>But hi, if I spent $10,000 on a piece of hardware, let me program the metal, thanks.
        • corysama37 minutes ago
          I&#x27;ve been programming GPUs since the PlayStation1. The way they work under the hood has changed fundamentally maybe 4 times in that span.<p>I can&#x27;t compare it to changes I&#x27;ve seen in CPU architecture since then. Maybe like: Compare the NES with its 6502 and per-cartridge mappers vs. a IBM 386 PC. Now repeat that shift 2 or 3 more times.
      • PhunkyPhil1 hour ago
        How is this different than CPUs? I suppose in the last 5 years the architecture and tape has changed a lot as they move to make more LLM capable?
    • surajrmal3 hours ago
      They don&#x27;t need to do that to sell their hardware so why would they do that? On the other hand, they have strong incentives to not give you that level of access and information. The only way this will change is by having some disruption by way of a competitor who sells hardware with that feature as being a major reason why it takes off.
    • laughingcurve3 hours ago
      GPGPU <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;General-purpose_computing_on_graphics_processing_units" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;General-purpose_computing_on_g...</a>
    • mathisfun1231 hour ago
      &gt; GPUs are taking one more step towards being general purpose massively parallel machines<p>this has nothing to do with becoming more general purpose (GPUs will never be general purpose - it&#x27;s literally physically impossible).
  • dllu18 hours ago
    Since NVIDIA owns huggingface now and huggingface has the excellent Candle [1] crate for inference on Rust, this seems like a good step towards nice native Rust kernels.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;huggingface&#x2F;candle" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;huggingface&#x2F;candle</a>
    • the__alchemist4 hours ago
      I will give you an outsider&#x27;s perspective on an analogy in this case. It is easy to see Candle as a ML crate to use for neural networks in rust. I have used it, and it works well.<p>The analogy is Tensorflow 5-10 years ago. It is popular, and there are lots of material on it. You quickly learn from talking to people that due to whims, a collection of reasons, people&#x27;s love of consensus that no one is recommending it; new people are not learning it. In this case, the Torch analogy is the Burn lib.
      • laggui2 hours ago
        And to tie this back into GPU programming, Burn&#x27;s backends use CubeCL, which lets you write compute kernels in a Rust DSL using #[cube], with a JIT compiler and autotuning machinery. It targets CUDA, AMD, Metal, Vulkan and WebGPU.<p>(disclosure: I am a contributor)
        • LtdJorge12 minutes ago
          It&#x27;s very cool. If Rust had comptime, apart from macros, it would be unmatched in capabilities.
    • instagraham6 hours ago
      noob here - what&#x27;s the benefit of this? Will using Rust lead to more optimal LLMs or code or both?
      • jvanderbot3 hours ago
        I view it more of supporting an expanding use case. If rust gets popular then you&#x27;ll want to support it.
    • jacobgorm18 hours ago
      Nobody cares if kernels are written in Rust. Kernels were meant to be written in C, but if you want to go more high-level try Triton or a similar DSL that nicely abstract tile sizes etc.
      • keithnz17 hours ago
        kernels aren&#x27;t meant to be written by any defined language. C is just a traditionally good default language that took over from assembly. No particular reason we have to stick with C.
        • chadcmulligan16 hours ago
          And quite a few reasons that something better than C should be used. Rust seems a good candidate.
      • pjmlp11 hours ago
        That is exactly why OpenCL failed adoption, focusing on C, instead of being polyglot like CUDA.
        • zozbot23411 hours ago
          SYCL is the natively polyglot counterpart, with practical implementations of it compiling down to the same sort of SPIR-V kernels as OpenCL. (OTOH, much of the current adoption on the open standards side seems to target the more widely supported SPIR-V compute shaders, via Vulkan compute.)
          • pjmlp11 hours ago
            Not really, first of all it is for C++, not the range of languages supported by CUDA.<p>Before SPIR was a thing in OpenCL, Khronos could not understand why anyone would care about anything else other than C99, or why supporting Fortran on GPUs was at all relevant.<p>Secondly, from the competition only Intel cares about SYCL with their own sugar on top, OpenAPI.<p>AMD hasn&#x27;t cared one second about it.<p>You may mention Codeplay, which is anyway an Intel owned company since 2022.<p>As for Vulkan, it doesn&#x27;t have neither the features, nor the tooling that CUDA enjoys, it is the usual putting up with using LEGOs from different brands, with various pin sizes, that is so common with Khronos.
      • Anoian9 hours ago
        I have never seen a comment this gray
        • derpyzza6 hours ago
          in all of hackernews&#x27; shitty UX decisions, gray unreadable comments is one of the worst ones
        • jacobgorm6 hours ago
          I haven&#x27;t felt this popular since then 1990s when I was opposing Visual J++ and IIS.
      • cpill17 hours ago
        oh no no no, this is going to break the CPP hold on AI and game dev.
        • pjmlp11 hours ago
          Nah, Rust compiler still needs C++ to be built in first place, and everyone on AI uses LLVM as infrastructure.
  • revengerwizard3 hours ago
    I think it would be much nicer, although unrealistic at the moment given the number of combinations of GPU vendors and variety of hardware, to directly target the underneath GPU ISA machine code.<p>Since I can write a simple compiler to target x64 machine code, it should be possible to write one to target my GPU.<p>Though, I&#x27;m certain that vendor lock is probably more profitable for them.
    • matthewfcarlson3 hours ago
      I don’t know for sure but I’m pretty sure the ISA changes quite frequently for Nvidia.
    • cmrdporcupine2 hours ago
      My thoughts on this, as a person who has recently coming around to working in this space is that up to now the convenience and &quot;simplicity&quot; of working in CUDA as it is has been a giant moat for NVIDIA. Having a whole toolchain with a C++ dialect and a giant extant pile of code out there that looked familiar to people meant they&#x27;ve &quot;won&quot; the AI wars.<p>And in that context NVIDIA had every motivation to keep their SDK somewhat abstracted higher up the chain and fully under their control and then be free to innovate in the lower bits. And this served them well as well as their customers.<p>My sense is that now with agent driven development this is basically evaporating. Agents are capable of at least prototyping&#x2F;writing kernels for any hardware and ISA. e.g. OpenAI built their own custom hardware and ISA for it and then set agents loose on it writing kernels and claims great success. At least they&#x27;re claiming this. And from my own experiences as a n00b entering this space, I can believe it.<p>TLDR I don&#x27;t think vendor lock on the software side is going to work out for them as a strategy.<p>But luckily for them they continue to have really good hardware and good access to semiconductor fabrication. But just look at HotChips 2026 a couple weeks ago and look at the huge variety of new inference hardware coming down the pipe which looks completely <i>unlike</i> NVIDIA&#x2F;CUDA.
  • lambdaone6 hours ago
    The momentum behind rust seems absolutely unstoppable at the moment, in the light of this, the adoption of Rust into the Linux kernel, and the adoption of for formally verified software by Amazon and Microsoft.
    • fhn1 hour ago
      not too long ago, commenters on HN hated Rust and would never use anything written in Rust. So, now that Rust is in Linux, they shouldn&#x27;t be using Linux either.
    • ModernMech6 hours ago
      Deservedly so.
  • winwang15 hours ago
    Really exciting but it reads like Claude instead of what Nvidia posts have generally been like in the past. I don&#x27;t need nor want my tech blogs to sound like a young adult novel.
    • boonzeet5 hours ago
      NVIDIA is part of that shift NVIDIA CUDA Rust closes that gap
    • aabhay13 hours ago
      I’ve had this happen to me several time over the past weeks and it’s gone from quaint to humorous to farcical to outright “is-the-world-gaslighting-me” insane.<p>Just today I was reading Stanley Druckenmiller’s op ed in WSJ. This dude is like 80 and has made billions of dollars, and he got Claude to write his op ed???<p>Unbelievable. And the tells are so obvious, yet people still love the Claude-like quips and odd grammatical choices that read like halfway asshole halfway mid-sentence confusion.
      • sebmellen8 hours ago
        That op ed was absurd. I respect Druckenmiller a lot and am always impressed with his lucidity in interviews. The Claude “ick” was all over his writing.
    • IshKebab10 hours ago
      Yeah definitely Claude. Lazy authors, if you&#x27;re going to get AI to write for you please use Astra instead - it makes <i>way</i> less annoying prose than Claude.
  • manyatoms18 hours ago
    How does this compare to vectorware? (<a href="https:&#x2F;&#x2F;www.vectorware.com&#x2F;blog&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.vectorware.com&#x2F;blog&#x2F;</a>)
    • LegNeato15 hours ago
      VectorWare founder here. We are working with them and stoked they are investing more in Rust. I just gave a talk at RustConf about our different takes (<a href="https:&#x2F;&#x2F;rustconf2026.sched.com&#x2F;event&#x2F;2KNQj&#x2F;making-gpus-feel-native-in-rust" rel="nofollow">https:&#x2F;&#x2F;rustconf2026.sched.com&#x2F;event&#x2F;2KNQj&#x2F;making-gpus-feel-...</a>). The video isn&#x27;t up yet but you should check it out when it is. The efforts are complementary.
    • binarybana14 hours ago
      Towards the end of the post, we (NVIDIA) mention that this work was done in collaboration with Vectorware and others in the Rust community. And we can&#x27;t wait to build further with the community.
    • khaliostr5 hours ago
      [dead]
  • HexDecOctBin11 hours ago
    Anyone know when Rust&#x27;s std::autodiff will become stable? Assuming this Rust support expands to other GPU vendors, autograd will probably be the only reason to use Slang instead of Rust anymore.
    • chkmr9 hours ago
      I was told in the 2025 LLVM dev meeting that it will always stay in nightly because it&#x27;s not practical for them to provide long-term stability guarantees that is expected of stable Rust.
    • minraws10 hours ago
      Not in 2026.
  • michalsustr10 hours ago
    Not a cuda programmer, but since they’re making a new API, why would they already make it inconsistent at start? :-&#x2F; I’m referring to the examples a,b,c vs z,x,y (different ordering of output elements)
  • evaltoken15 hours ago
    Interesting direction from Nvidia. Anything that makes writing reliable GPU code less painful is definitely a good thing.
  • amelius7 hours ago
    Does this weld Rust to CUDA? Can we use the Rust code to run on other archs?
  • salsa_catsup14 hours ago
    Does this mean I can write shaders in Rust for use with WGPU or Vulkan?
    • laggui2 hours ago
      For compute shaders, you can already do this with CubeCL: <a href="https:&#x2F;&#x2F;github.com&#x2F;tracel-ai&#x2F;cubecl" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tracel-ai&#x2F;cubecl</a><p>You write kernels in a Rust DSL using #[cube], it supports WebGPU through WGSL and Vulkan through SPIR-V, along with CUDA, AMD via ROCm, and Metal. (disclosure: I am a contributor)
    • ivanjermakov9 hours ago
      WGPU&#x2F;Vulkan don&#x27;t work with PTX shaders by default, additional translation would be needed.<p>On a side note, Vulkan has extension to launch CUDA kernels: <a href="https:&#x2F;&#x2F;docs.vulkan.org&#x2F;refpages&#x2F;latest&#x2F;refpages&#x2F;source&#x2F;VK_NV_cuda_kernel_launch.html" rel="nofollow">https:&#x2F;&#x2F;docs.vulkan.org&#x2F;refpages&#x2F;latest&#x2F;refpages&#x2F;source&#x2F;VK_N...</a>
    • PudgePacket3 hours ago
      You have been able to for a while with rust-gpu <a href="https:&#x2F;&#x2F;github.com&#x2F;Rust-GPU&#x2F;rust-gpu" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Rust-GPU&#x2F;rust-gpu</a>.
    • berkes8 hours ago
      The way I understood it, rust would become an option next to Vulkan, WGPU (and opengl etc?).<p>But only for compute tasks. So, practically an alternative language to write compute shaders in.
  • lsofzz13 hours ago
    I read this the other day - definitely think it is the right direction Nvidia is taking.<p>Thank you NVIDIA - for once (not twice though - you&#x27;ve given us nothing but despair for Linux+GPU).
  • the__alchemist18 hours ago
    I&#x27;m looking forward to trying these when they stabilize! I currently use WGPU for graphics, and cudarc for CUDA.<p>Note: Cuda-oxide is similar to Cudarc&#x27;s host component, but uses a rust-style kernel dialect. Advantage: Share structs between host and device. Disadvantage: Trading standard Cuda kernels for a new, WIP dialect.<p>I haven&#x27;t tried the tile API yet; looking forward to it.<p>The last time I checked, Cuda Oxide was Linux only, and required Async; these are why I haven&#x27;t tried it yet.
    • embedding-shape18 hours ago
      cudarc been great for me, because it&#x27;s easy to look up existing examples and references, and it maps 1-to-1 with what I see. I&#x27;m already having a tough time with CUDA itself, a dialect of it makes a tad harder to rely on previous work.<p>Seems more ergonomic in general though, both approaches they share, compared to cudarc, and less build infrastructure and fiddling with environments, which is great.
  • Swiffy09 hours ago
    My understanding is not so deep regarding GPU programming or Rust... Does this mean anything regarding Nvidia GPUs and WebAssembly &#x2F; WebGPU?
    • onion2k8 hours ago
      No. Rust is a non-web programming language.
  • claiir18 hours ago
    &gt; The launch is checked rather than trusted.<p>Damn even Nvidia is putting out fully Claude-written articles.
    • bayindirh17 hours ago
      That&#x27;s actually a magnificent observation. This is not only an indication of a keen eye, but a trained brilliant mind as well.
      • hitekker17 hours ago
        You’re absolutely right!
      • jubilanti16 hours ago
        One might even say it is load-bearing on the seam!
        • lioeters13 hours ago
          Why this is important: it&#x27;s the honest take.
      • efilife6 hours ago
        this is literally a reddit comment chain
        • bayindirh6 hours ago
          We do this wicked sin called having fun once in a blue moon here.<p>Slashdot&#x27;s spirit shall live somewhere, no? Rent is all-time high and it can only afford here, for now.
      • pbkompasz7 hours ago
        I hate this
    • keybrd-intrrpt17 hours ago
      &gt; even Nvidia<p>Why &quot;even Nvidia&quot;?<p>They are fully behind using AI for basically everything.<p>What&#x27;s next? &quot;Damn, even McDonald&#x27;s is putting out unhealthy food&quot;
      • manquer16 hours ago
        I think implication being organizations with 40,000+ employees and even more consultants and contractors plus a lot of budget are also using LLMs to draft public facing content instead of paying for content writers or even just proof readers .<p>It points to friction rather than cost economics. Same reason we are always surprised why multi billion dollar product companies with millions of install base prefer electron instead of a native app.
        • freeopinion15 hours ago
          This does not imply that the organization is not paying for content writers or proof readers. It does suggest that they are not getting the value of paying for content writers or proof readers.
          • simpaticoder15 hours ago
            It does suggest that they are not <i>accurately measuring</i> the value of paying for content writers or proof readers.<p>People and companies are hungry for knowledge about people&#x27;s reactions, but the modern internet DOES NOT give an accurate image of people&#x27;s views.
          • latentsea15 hours ago
            No. It suggests they don&#x27;t mind littering slop into the information environment.
        • pjmlp11 hours ago
          Of course, that is the whole point of using AI to replace workers.<p>Only devs think it isn&#x27;t coming for them, it is empowering and nothing else will happen, no team reductions, nah how come.
      • jchw17 hours ago
        Sure, but <i>even Anthropic</i> doesn&#x27;t appear to use Claude for blog posts. (I don&#x27;t think anyone should. The prose stinks.)
        • keybrd-intrrpt17 hours ago
          Anthropic _absolutely_ does<p>They are just better at hiding it or configuring Claude.<p>I have several skills that reformat text to remove AI-speak tells.
          • rkharsan6414 hours ago
            According to <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49417480">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49417480</a>, Anthropic hires writers who do not use LLMs, and reading their updates I also feel that they don&#x27;t use LLMs for communication.
          • jchw16 hours ago
            Prove it.
            • WD-4216 hours ago
              <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49249269">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49249269</a><p>I put the &quot;humanized&quot; output through Pangram and it still comes out as 100% AI generated.
              • breezybottom15 hours ago
                That&#x27;s about as useful as saying you asked the magical sky fairy.
                • meowface15 hours ago
                  Pangram has an extremely low false positive rate. Even on adversarial examples.<p>One trade-off is even some obviously LLM text won&#x27;t get detected by them, but they work really hard to ensure false positives are rare since a false accusation is much worse for society than someone getting away with LLM meatpuppetry.
                • jchw15 hours ago
                  I think you can&#x27;t trust Pangram in a high stakes situation, but it is absolutely better than random noise at detecting AI-generated text. Which isn&#x27;t surprising. If the distribution of probabilities can yield blatant Claudisms, it&#x27;s not surprising it would also have more subtle deviations.<p>(Addendum: As I recall, LLM-generated outputs roughly follow Zipf&#x27;s law, but the distribution still tends to have some subtle distinctions vs human text; pretty interesting, but I don&#x27;t know where I heard this, so nothing to cite. Sorry.)
              • jchw15 hours ago
                To be honest with you, I don&#x27;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&#x27;m being honest, but I am being honest. Given my experience with similar &quot;skills&quot; (it&#x27;s just chunks of prompt, nothing magical after all) I expected even less.<p>But still, this is all very strange because it wasn&#x27;t <i>that</i> many generations of AI models ago that AI writing was a lot better - I&#x27;m talking GPT 4.1, Claude 4.5, that sort of era.<p>Anthropic newsroom posts on the other hand are carefully constructed and well-written in a way that I have not seen demonstrated by LLMs yet, past or present. I expect that they have well-paid staff who are careful with every detail of their public communications. When you put it that way, it almost feels unfathomable that they <i>wouldn&#x27;t</i>, doesn&#x27;t it?
            • saghm15 hours ago
              I don&#x27;t feel like either one of you really has a strong claim. &quot;Doesn&#x27;t appear to&quot; is subjective, and of course it&#x27;s impossible to prove one way or another.
              • jchw14 hours ago
                You&#x27;re simplifying the exchange a little too much. I said:<p>&gt; Anthropic doesn&#x27;t appear to use Claude for blog posts<p>My claim is <i>literally</i> the lack of evidence, which, yes, can&#x27;t prove anything. This claim can be contested easily by showing evidence that they in fact, do appear to be using Claude to write prose in blog posts.<p>They said:<p>&gt; Anthropic _absolutely_ does<p>Sounds pretty certain Anthropic is in fact, using Claude to write blog posts. Enough to emphasize &quot;absolutely&quot;. That doesn&#x27;t read like &quot;I&#x27;m going off of vibes&quot;, that reads like &quot;I can prove it&quot;. So, fine. Prove it. I don&#x27;t believe it, and I want to hear the proof.<p>I&#x27;m skeptical, but it wouldn&#x27;t be my first time being wrong. But flatly, if you make claims with this kind of certainty, yes I want to hear your proof.<p>My point in saying &quot;Even Anthropic doesn&#x27;t appear to be using Claude for blog posts&quot; was not meant to be some striking revelation, I literally was considering it a prior to make another point. This on the other hand sure does sound like a striking revelation to me, that a lot of people across the Internet would be curious to hear. Like I&#x27;m sure these people would be interested:<p><a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;ClaudeAI&#x2F;comments&#x2F;1wdfd92&#x2F;are_anthropic_press_releasesreports_written_by_a&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;ClaudeAI&#x2F;comments&#x2F;1wdfd92&#x2F;are_anthr...</a><p>I will admit that I am unnecessarily aggressive sometimes, but I wouldn&#x27;t have changed my response much in any case. If you&#x27;re going to make a strong claim like this, I want your evidence, not your vibes. Otherwise, the claim should be a lot weaker.<p>I also realize that this sort of brashness upsets HN a bit, but it is what it is. I pandered comments for votes in my 20s a bit, time to grow up, sometimes people won&#x27;t like you. Sometimes I feel something deserves a brash response.
                • saghm13 hours ago
                  I don&#x27;t really have any opinion on your tone; I just still don&#x27;t agree with your framing. A lack of evidence would be neutral like &quot;there&#x27;s no evidence to indicate either possibility is more likely&quot;, but your phrasing conveyed that one possibility was more likely than the other. I pushed back against your follow-up because it seemed like you were arguing for a higher threshold of evidence than you provided.
                  • jchw12 hours ago
                    Well, to be fair, you&#x27;re correct. I <i>am</i> asking for a higher threshold of evidence. It&#x27;s a stronger claim. I feel a stronger claim deserves stronger evidence.
                    • saghm1 hour ago
                      I guess that&#x27;s where we disagree. I feel like either claim is equally hard to falsify from the outside (partially because I&#x27;ve never had much confidence in my ability to spot whether text is from an LLM outside of the most glaringly obvious cases, and likewise don&#x27;t have any clue whether people who have high confidence are accurate or deluding themselves).
      • saghm15 hours ago
        Their CEO also has the dubious distinction of claiming we&#x27;ve reached AGI more then once: <a href="https:&#x2F;&#x2F;www.theverge.com&#x2F;ai-artificial-intelligence&#x2F;985597&#x2F;jensen-huang-says-nvidia-achieved-senseless-agi" rel="nofollow">https:&#x2F;&#x2F;www.theverge.com&#x2F;ai-artificial-intelligence&#x2F;985597&#x2F;j...</a>
      • RickHull14 hours ago
        Is Jensen Huang still all-in on OpenClaw? That moment feels more like a flash in the pan.
      • dannyw16 hours ago
        I believe most of their marketing videos use fairly convincing text to speech too, not voice actors.
      • dprkh16 hours ago
        McDonald&#x27;s food is not even that unhealthy. I just tried a Burger King burger the other day and it&#x27;s terrible. I think it&#x27;s like 2000 calories in a single burger or something.
        • xxs8 hours ago
          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.
        • timacles15 hours ago
          &gt; I think it&#x27;s like 2000 calories in a single burger<p>that would be pretty cool, you can just get your entire day&#x27;s calories from one burger
          • dprkh15 hours ago
            I couldn&#x27;t even finish it man, it was so fucking sloppy. I had to throw away like 40% of it.
        • calvinmorrison15 hours ago
          found the McShill. The King will hear of this!
      • huflungdung16 hours ago
        [dead]
    • daemonologist16 hours ago
      I get the impression that Nvidia employees don&#x27;t care too much - I started seeing fully AI-written &quot;documentation&quot; on some of their smaller projects more than a year ago (i.e., before it was even slightly a good idea).
      • DonsDiscountGas16 hours ago
        People never really read documentation before. Agents do read it now, and they seem to understand LLM-written text just fine.
        • WD-4216 hours ago
          &gt; People never really read documentation before.<p>The heck you talking about? How do you think we wrote software for the last 50 years?
          • californical16 hours ago
            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.<p>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.<p>Sure today Claude can just read the library code and tell you what a function does or how to do something. But it still won’t tell you why something is a certain way or won’t figure out specifically-designed usage patterns as reliably as the author telling you “this is an example of doing x”
            • phatskat15 hours ago
              I really appreciated a friend reaching out to me with some PHP questions today. It was, to me, fairly basic but he was having a hard time grokking the documentation vs reading what his coworker wrote (some code using output buffering).<p>I brushed up on the docs since I haven&#x27;t touched it in a couple years, explained my understanding of the ob_* functions, and gave him a very brief demo on a PHP playground.<p>He could have asked any LLM to tell him what that chunk of code did, and to explain the three functions, and instead he reached out to me. That felt _good_. Talking shop has always been a good way for me to form connections, because the pressure to socialize becomes task-oriented and you start to learn about how people think and feel, and that opens up easier paths for actual connection. It was nice.<p>Just like the Old Internet still exists - niche websites, mailing lists, probably a BBS or two (likely more right?), the pre-LLM world will trudge on, for a time. I hope LLMs actually lead to good things for people in the long run, and for now I personally will remain sparse in my usage of them.
              • WD-4215 hours ago
                Where do you work? Sounds nice!
            • stevemk14ebr16 hours ago
              only reliable way to know how things work is to reverse engineer them
              • californical12 hours ago
                But that’s my point, it’ll tell you how things work. In libraries I’m using, you can just read the code yourself.<p>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
          • Vegenoid15 hours ago
            My absolute greatest skill in my career, that has consistently set me apart from my peers, is that I read documentation thoroughly.<p>It is shocking how much of a differentiator this is. You will discover that the software you’re already using is much more capable than you realized.
            • jtfrench15 hours ago
              The good news is your attention to actually reading and understanding documentation will differentiate you more and more as others (short-sighted, IMO) outsource understanding to an LLM.
          • Barrin9216 hours ago
            when you start to internalize that these kinds of statements are an indication of how the average developer of the last 10-15 years operated the adoption rate of AI makes a lot more sense
            • WD-4216 hours ago
              This is extremely depressing, I think I&#x27;m coming around to the realization that you may be right and I&#x27;ve been naive my entire career.
          • bee_rider15 hours ago
            Copy past the example code, then tweak until it breaks? If we were meant to read documentation, not reading it would cause a compiler error!
          • groundzeros201515 hours ago
            A small percentage of engineers
        • dannyw16 hours ago
          What? People never read documentation?<p>I start with reading and exploring documentation first; with the codebase as a secondary tab.<p>When it’s not LLM generated, documentation is supposed to be easier to read and more insightful than code.
        • latentsea15 hours ago
          &gt;People never really read documentation before.<p>Speak for yourself. I read it.
    • karim7916 hours ago
      What are we for, I ask? What the hell are we now. Chatters to LLMs now? Is this our future? It really is starting to feel like it now.
      • freeopinion15 hours ago
        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.
        • iamarobot14 hours ago
          As a high schooler going to a school with stricter rules on AI than most in my area, I can say that it&#x27;s been going downhill ever since GPT 4. Teachers constantly use AI to create assignments(my French Teacher regularly handed us work with GPT 5.1 prose and emojis). Students are also rampantly using AI and bypassing school restrictions(We have a google account, making it easy to use Gemini if we just sign out), causing an inflation in GPAs and test scores. There&#x27;s no easy solution to the problem, banning AI-tools only help somewhat as even typing into Google has AI web results, and students are quickly overcoming ways to restrict them. I have a friend that vibe coded an application that allowed his Mac Mini&#x27;s desktop to be mirrored on his school chromebook, bypassing every restriction with sub 1-second latency. Of course, that opens the can of worms to whether schools should allow students to use AI...
          • oblio10 hours ago
            &gt; Of course, that opens the can of worms to whether schools should allow students to use AI...<p>We are starting to see results indicating cognitive decline due to AI in education, so no, we should do everything possible to ban it except for very limited fields.<p>LLMs aren&#x27;t calculators or even computers, their generated output is too flexible, generic and basically starts replacing thinking.<p>Most likely they should only be allowed during late highschool years or just at university level, when people at least have a chance to learn how to research on their own.
        • upboundspiral14 hours ago
          I know many teachers who actually have respect for the profession, themselves, and the students. Thankfully that means they don&#x27;t do this.<p>Whether this is a widespread macro trend is another issue, and would be terryfying.<p>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, districts have thrown money into new buildings, have been suckered by Big Tech to adopt their policies (common core was pushed by Big Tech and has been a distaster as well as computers in classrooms). As a nation (the USA) we can&#x27;t get our act together for a rigorous national exam, etc etc.
          • freeopinion12 hours ago
            About half of the states in the USA require the ACT or SAT for high school graduation.<p>Alabama is one state that requires the ACT. The mean score in Alabama is below 18&#x2F;36. Wisconsin is another. Its students score on average about 1 point higher than the national average of 19.4&#x2F;36.<p>If you prefer states that require the SAT, the mean SAT score of students from Delaware is less than 980&#x2F;1600, about 50 points below the national average.<p>I&#x27;ll leave it to others to argue about whether these exams are rigorous.
        • asimovDev7 hours ago
          Remembering my teachers 20 years ago talking about staying in school grading until 8-9 PM, I wonder if these things are a symptom instead of a disease
        • karim7915 hours ago
          Please tell me this is not true.
          • sul_tasto8 hours ago
            I have two kids in engineering programs at a state University. They are allowed to use AI for homework assignments, but the homework is no longer worth any credit. They have a lot more papers, quizzes, and tests in class that count for their entire grade.
          • Orochikaku15 hours ago
            This is true even at the undergraduate level unfortunately…
            • karim7914 hours ago
              Then here we are. AI apocalypse. Something of note. I&#x27;ve started to pay more attention to canned goods. Soups with lentils and so forth.
              • oblio10 hours ago
                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.
                • wartywhoa236 hours ago
                  Dark Ages weren&#x27;t as interconnected by communications and wrapped by the tentacles of transnational corpocracy as modern world, though...
                  • oblio6 hours ago
                    Meh. It&#x27;s not like we forgot how to make copper wires for landlines. We&#x27;ll be fine. We&#x27;ll live more or less like in 1880 or 1920, it&#x27;s not a horrible life. I do hope we get to keep antibiotics, though.
          • meowface14 hours ago
            It&#x27;s true of most work in many and soon most white collar jobs, too. Claude writes some dense useless thing, everyone else uses Claude to summarize and write a reply to the thing. The Claude-submitted PRs get automatically reviewed and commented on by a GitHub Claude review bot. The programmer asks Claude to check out Claude&#x27;s review comments to Claude. Claude pushes a commit to the branch and writes a comment. The Claude review bot reviews the commit and leaves a comment. The human [...].<p>My hot take is that it&#x27;s not really that terrible in the long run for work since I think LLMs will probably be nearly or actually AGI and better white collar workers than most humans within 5 years of today. But it is very funny and surreal in the meantime.<p>It is definitely bad for school, though. Kids IMO should actually be encouraged to use LLMs but not in or for class work outside of an AI best practices class. Probably stop giving them homework (90% will always try to find a way to make AI do it) and have them solve problems in class hours with no electronics so that they&#x27;re forced to not defer learning. This will become even more important once we have AGI.
            • oblio10 hours ago
              &gt; LLMs will probably be nearly or actually AGI<p>What if they don&#x27;t?<p>&gt; This will become even more important once we have AGI.<p>What if we achieve AGI in 50+ years? Should everyone live in this Kafkaesque world until then?
      • arcanemachiner16 hours ago
        Dude I am in slop fucking hell right now. There is still room for a human touch, without which the agents will lever us harder and faster into a world of incomprehensible garbage.
        • karim7916 hours ago
          I totally concur. I&#x27;m almost lost for words at this stage. I need me some land to grow vegetables on and that&#x27;s about it. Maybe some chickens. Every single day brings more despair (and not the prosperity we were promised).
          • sejje15 hours ago
            I have land and chickens, and I&#x27;m really excited about the future &amp; AI.
            • jtfrench15 hours ago
              Land, chickens, and private local AI running sustainably on the farm sounds like the least dystopian version of this AI future!
            • karim7915 hours ago
              I&#x27;m also an optimist but the crash is imminent. I hope I am wrong.
          • freeopinion15 hours ago
            Good luck with that. You will have to pry the water from the AI datacenters.
            • sejje15 hours ago
              Do you know that&#x27;s not really a thing or are you just wanting to help spread the propaganda?
              • Zambyte14 hours ago
                ... doesn&#x27;t one of those imply the other?
      • karim7913 hours ago
        I find it interesting that this was downvoted twice without explanation.
    • jorl1715 hours ago
      It is the number 1 thing I cannot stand with Claude slop. It&#x27;s a sort of anthropomorphization of language. Every &quot;thing&quot; does, produces, feels, wants, asks, answers, etc....<p>- &quot;Launch is checked&quot;<p>- &quot;Question is asked&quot;<p>- &quot;The implementation answers&quot;<p>- &quot;The model wants&quot;<p>- &quot;The results name&quot;<p>- &quot;The connection surfaces&quot;<p>- &quot;The prompt wires&quot;<p>- &quot;The feature rides the mechanism&quot;<p>Every single fucking thing is alive, wants things, and does things.<p>It&#x27;s terrible. Infuriating. I want to rip my eyeballs out reading this filth. All. The. Time. &quot;The anger is real&quot;.
      • karim7914 hours ago
        Create any page with a file uploader. They all look the same now. It&#x27;s like the Twitter Bootstrap days of responsive design. You&#x27;ll get an icon which looks like ones on (on the drop space) those sites which are like &quot;you must wait 60 seconds for this file to download&quot;.<p>It&#x27;s so horrible. The human element has been completely removed and replaced by..... mediocre.
        • onion2k11 hours ago
          <i>The human element has been completely removed and replaced by..... mediocre.</i><p>No it hasn&#x27;t. The human element is still there, prompting the LLM. The change is that the human is happily accepting the first thing they get rather than critically looking at it and seeing a problem.
          • oblio9 hours ago
            The real problem is that the human is only seeing dollar signs.
            • onion2k9 hours ago
              I don&#x27;t think it&#x27;s that because I see a lot of this in businesses where the human isn&#x27;t paying the bill, or is even aware of what the bill is.<p>Humans are seeing either a shortcut to go faster (accepting low quality to move on immediately; reasonable if they&#x27;re short on time) or a shortcut to lowering effort (accepting low quality because they don&#x27;t care; not so reasonable but probably has a deeper root cause).
      • xxs8 hours ago
        All of the examples read like: &quot;The dude abides&quot;, except in a grotesque&#x2F;parody way.
    • written-beyond16 hours ago
      I hadn&#x27;t read the article and read this comment as though NVIDIA themselves were implying that this library was checked but not trusted by them since it was fully LLM generated.
    • manyatoms18 hours ago
      not to worry, they have an &#x27;AI generated summary&#x27; box too
      • greenavocado17 hours ago
        Its a recursive summarization pyramid
        • smallmancontrov16 hours ago
          It gets fun when someone uses an uncensored model to bypass a refusal, but they accidentally pick one that was trained for erotic writing and brings its particular talent to the documentation task.
        • pizzafeelsright17 hours ago
          This thread flags an honest assessment of AI signal detection.
    • pyrophane15 hours ago
      Yeah. I think if the text is written for other machines, then by all means have an LLM generate it, but if it is intended for a human audience, have a human being write it.<p>We are still much better at writing in a way that doesn&#x27;t waste other people&#x27;s time.
    • pjmlp11 hours ago
      Another of those AI is bad for articles, great for coding.<p>Plenty of us share the same opinion on doing reviews of AI generated code.
    • mahboi17 hours ago
      Thanks, saved me a few minutes
    • latentsea15 hours ago
      Even their writing skills are getting rusty.
    • api16 hours ago
      Is that your honest load bearing assessment you’re going to flag?
    • saadn9215 hours ago
      it seems like that&#x27;s the way the industry is headed
    • fwlr16 hours ago
      Claude, rewrite my graphics card in Rust. Make no mistakes.
  • jtfrench12 hours ago
    I wonder how many parallels there are between CUDA&#x27;s Tile abstraction and that of Metal.
  • soleveloper4 hours ago
    So now every already written kernel can be re-written in Rust and have competitive performance to the cpp version?<p>If so, that&#x27;s really big.<p>And to add the Next natural strp - custom codegen for simulating gpu compute and memory without Nvidia gpu.
  • jauntywundrkind14 hours ago
    Worth mentioning that Nvidia open sourced CUDA Tile IR ~8 months ago. And yes the code is open source too. <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=46330732">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=46330732</a>
  • LarsDu8818 hours ago
    In this age of LLM written everything which has softly killed my motivation for learning Rust somewhat, this has revived my interest if not only for the fact the LLMs haven&#x27;t yet been trained on this yet!
    • suresk13 hours ago
      I&#x27;ve found sorta the opposite - in any area, it can just do everything for you, or it can be an incredible teacher. I&#x27;ve been re-learning a lot of higher-level math and it has been an knowledgeable, infinitely patient, always-available tutor. Of course, I could just have it do just about any math I want for me, but that&#x27;s not the point.<p>Kinda the same with language&#x2F;technology stuff - it can be a great tutor and it can scaffold other parts of a project for you. It can give you feedback and let you focus on the interesting parts.<p>I guess the motivation itself may be hard because of the fear of it taking over much of our jobs, but having this kind of help&#x2F;feedback is pretty cool for the sake of learning things just because they are interesting!
      • tete9 hours ago
        &gt; I&#x27;ve found sorta the opposite - in any area, it can just do everything for you, or it can be an incredible teacher.<p>Please don&#x27;t. I&#x27;ve had all of Codex, Claude and Gemini convincingly tell me absolutely wrong stuff, pointing it out with easily verifiable example they come up with more and more weird reasons.<p>Things don&#x27;t become correct simply because most sources are again - easily and logically verifiable - wrong. This already was a plague when people &quot;just googled&quot; stuff and effectively returned with the most SEO optimized answer. Now we have very convincingly written instances all over the place.<p>If these were singular instances I wouldn&#x27;t be so worried, but if you are learning it already is very easy to learn something wrong. This is why back in the days when people still used physical books to learn new things it was a good idea to check first which books are actually recommended. There have been a lot of &quot;experts&quot; that wrote things they clearly misunderstood but worked for all the examples in their books.<p>To give a common example for both the backend and frontend devs, that isn&#x27;t about a specific projects. LLMs and Google searches frequently turn out wrong results regarding CORS caching and how it works in relation to domains&#x2F;hostnames. The circumstances under which Content-Disposition work are another example. I think a lot of wrong statements that LLMs are &quot;convinced&quot; about are due to wrong statements (sometimes in otherwise correct response) of popular Stack Overflow answers.<p>It&#x27;s saddening how much wrong &quot;common knowledge&quot; exists in the industry. I have been bitten by a lot of these, but it feels when people don&#x27;t even actually code and think anymore this will just rise forever.
        • suresk8 hours ago
          &gt; Please don&#x27;t.<p>I will.<p>Can these be wrong? Certainly. So can humans. Many of your examples are of humans being wrong. That doesn&#x27;t make LLMs - or humans - useless. The fact that they are not infallible is not a reason to avoid using them and I&#x27;m not going to throw out a tool that has been incredibly valuable to me because someone on the internet got some bad CORS advice.
          • tete1 hour ago
            There is another option. Going to the source of information (eg. the official project site or code), trying stuff yourself.
            • suresk36 minutes ago
              Learning is about so much more than accessing information, though. It is about building mental models, resolving ambiguity, exploring things that the source doesn&#x27;t explain very well, and so much more.<p>Questions like &quot;What do these lines of code do?&quot; or &quot;How does this fit into the big picture?&quot; or &quot;Wait, this doesn&#x27;t make sense?&quot; are rarely answered by the source.<p>This is a bit fresher in my mind in the math domain, but I don&#x27;t think it is any different in any number of other domains, including coding. I&#x27;ve been working through a math textbook, gotten confused about how the author gets from step 2 to step 3, taken a picture of the text, and had AI explain it to me - it almost always gives me a much better understanding of what is going on and helps make things so much clearer. There is a level of interactivity that can&#x27;t exist in a book or other &quot;source&quot; of information.<p>I think there is a bit of tension when it comes to learning and sometimes the struggle itself is informative, but there is a reason people hire tutors and go to classes taught by teachers vs just reading a textbook, and cutting yourself off from a tool because you&#x27;ve seen it be wrong about something seems like a silly mistake.
    • impulser_18 hours ago
      LLM don&#x27;t need to be trained in a library to use it well. It&#x27;s just Rust which they know well.
    • brainless14 hours ago
      I was learning Rust slowly when the LLM enabled coding became good enough. I switched from learning to full on building with Rust. I still learn high level concepts as needed but I will not be able to write Rust on my own at all.<p>And that sounds scary but the way I got over the fear is by realizing there are many things that I do very well but I do not know their internals very well. Driving is an example. I barely understand what the steering wheel, clutch or brake pedals do. I have driven over 130,000 Kms and I will perhaps drive more than double that in the next many years.<p>I have been building software since PHP&#x2F;Drupal days. Got into AWS S3 as a beta user. Adopted Memcached (and MQ) in 2008 out of necessity. Then Python&#x2F;Django for 10 years. Then Rust. And tons of JS&#x2F;TS. I owe a lot to my curiosity. I believe we can keep learning what we need and still delegate most of programming to agents.
      • QuaternionsBhop13 hours ago
        There are two types of programmers: the pragmatists who see programming as a chore and would gladly never write a line of code again given the right tools, and the gardeners who don&#x27;t want their enjoyable and rewarding garden-tending work taken away from them.
        • wartywhoa236 hours ago
          &gt; pragmatists<p>Which is a collective term for transactionalists, short-termists and profit-seekers of all kinds in this case.
        • applfanboysbgon11 hours ago
          The &quot;pragmatists&quot; who get excited developing a prototype for a week before they realize they will never be able to ship something anyone else will use because each trivial change becomes exponentially more difficult for the LLM to implement and completely impossible for the &quot;pragmatist&quot; to reason about, with every new commit liable to break something else.<p>Still waiting for this revolution of amazing 10x software! It&#x27;s been 10 months since Everything Changed in November, surely the 10x pragmatists could have leveraged their effective 8 years of development time? Or maybe we&#x27;ll move the goalposts again and say that actually, Everything Changed with Astra, we&#x27;ll just need to wait another three months?
    • w4yai17 hours ago
      And what prevent you exactly ?<p>There were humans far superior than you for writting Rust before LLM, now there&#x27;s a LLM. The only difference is price and time execution.<p>You get an awesome teacher (LLM) ready to answer all your questions about Rust.<p>And you still find excuses not to learn it ?<p>At some point, just realize you&#x27;ve been lazy to learn it and LLMs are just an excuse.
      • afavour17 hours ago
        I think OP’s point is that the payoff in learning a new language has diminished in this AI era. You can call that lazy, I’d consider it smart to consider whether you could be doing other, better, things with your time.
        • w4yai17 hours ago
          If the sole motivation for learning things are payoff, then sure.
          • frogperson15 hours ago
            the sole motivation is feeding and sheltering my family. in the time BC (before Clankers), rust was a better way to do that.
            • wartywhoa236 hours ago
              &gt; in the time BC (before Clankers)<p>Nice one!<p>Which year shall we count as 1 AD (Anno Delirii (or should it be Darii))?
    • cmrdporcupine15 hours ago
      Sad to break it to you, but...<p>I had LLMs write a pile of cuda-rust code and they were quite competent at it. Ported a bunch of (C++) CUDA kernels over, and ground away on them til they got equivalent performance<p><a href="https:&#x2F;&#x2F;github.com&#x2F;rdaum&#x2F;eider&#x2F;tree&#x2F;main&#x2F;backends&#x2F;cuda-oxide" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rdaum&#x2F;eider&#x2F;tree&#x2F;main&#x2F;backends&#x2F;cuda-oxide</a><p>And mostly just DeepSeek 4.1 Flash, too. Not even a frontier model.<p>Sorry.
      • IhateAI_614 hours ago
        [flagged]
        • cmrdporcupine9 hours ago
          Chill man, holy crap. I never told him not to learn. I was speaking directly to his &quot;good thing LLMs don&#x27;t know how to use this yet&quot;.<p>What the hell is your problem? Getting on the Internet and hurling personal insets around. Get a grip.
    • dakolli14 hours ago
      [dead]
  • singularity20017 hours ago
    yikes, I prefer python taichi similar to<p>@fast def calc(x,y):pass
  • bt1a17 hours ago
    Will it then be possible to query TJunc hotspot temps on linux?
  • Danox14 hours ago
    The recent circular moves that Nvidia is making is designed to wrap things around them, anything to keep the AI model party going.
  • nicebyte18 hours ago
    what this article tells me is that no one at Nvidia actually cares about this project whatsoever. otherwise, they would have had a person actually write the announcement.
  • Driftbench16 hours ago
    Been waiting for something like this. CUDA C++ is a pain; Rust&#x27;s safety for kernel programming could be a game changer.
  • rvz18 hours ago
    First of all, this is a pre-1.0 release that requires a nightly Rust compiler (if you choose the SIMT track with cuda-oxide) so that one is going to be unstable software.<p>Secondly, When an issue occurs with a kernel or you want to write your own custom kernel in Rust, now we need to diagnose if the problem came from either cuda-oxide (SIMT), Rust&#x27;s side, CUDA or Tile (If you decide to choose the Tile track).<p>Another dependency into the list and course everything is open source except CUDA itself. So any issue that happens on the CUDA level, you are forced to wait for them to fix it.
  • m00dy10 hours ago
    Thank you Nvidia !! You&#x27;re in the right path.
  • kalikingkorea8 hours ago
    hmmm interesting
  • calini10 hours ago
    Do it in Go and I’m interested
    • jrhey3 hours ago
      Go is simply not feasible for CUDA work mainly because of the go runtime that manages GC, allocation, scheduling etc<p>GPU kernels want explicit memory control and as little go-runtime like overhead as possible
  • mococa17 hours ago
    AI slop article, how can I trust on this?
    • pjmlp11 hours ago
      The same way as people trust AI sloppy on their code.
  • shmerl16 hours ago
    Nvidia only? Typical.<p>This is more promising: <a href="https:&#x2F;&#x2F;github.com&#x2F;Rust-GPU&#x2F;rust-gpu&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Rust-GPU&#x2F;rust-gpu&#x2F;</a>
    • anon29113 hours ago
      Once again... There&#x27;s literally no point to a low level shader language for heterogenous back ends.
      • hobofan6 hours ago
        Why? The point of a shader language is to define a function that outputs some graphics. Why should that not be portable between GPUs&#x2F;CPUs of different vendors?
        • shmerl3 hours ago
          More generally any GPU computation, not necessarily graphics. The above argument could go that there is no point in high level languages for CPUs either and everyone should just always use assembly, which is obviously false. Same can go for GPUs.
  • jtrn1 hour ago
    [dead]
  • aquavoplumbing6 hours ago
    [dead]
  • nonmaskable1 day ago
    [dead]
  • ReshamJoshi1 day ago
    [dead]
  • westurner17 hours ago
    [dead]
  • mococa17 hours ago
    The world is unsafe
    • Xeoncross16 hours ago
      Rust just makes you sign a waiver first.
  • dunlin16 hours ago
    Rust for GPU programming? My CUDA debugging sessions just got a whole lot less painful, hopefully.
    • bcjdjsndon8 hours ago
      There&#x27;s a lot of unsafe code at that level... Rust probably makes it more painful for little gain
  • nullbio15 hours ago
    Makes me sad that Go doesn&#x27;t get love. I feel like Go is perfect for LLMs.
    • Blackarea14 hours ago
      Don&#x27;t think we&#x27;re gonna see garbage collections anywhere near gpu for many reasons.
    • pjmlp11 hours ago
      Go&#x27;s type system is not at the same level as C++, Fortran, Python, Julia, Haskell, Java, to quote the languages with CUDA support from NVIDIA and their partners.
    • dakolli14 hours ago
      [dead]