Hacker News

Best stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Show HN: An e-ink frame that hears birds and draws them as 1800s illustrations(github.com/arnegiacomo ↗)
    240comments
  2. Introducing System One Models and Jev(typesafe.ai ↗)
    475comments
  3. I can't stop thinking about Papua New Guinea(notnottalmud.substack.com ↗)
    469comments
  4. 25 years of mass surveillance is enough(schneier.com ↗)
    342comments
  5. An update on Wayback Machine access(blog.archive.org ↗)
    352comments
  6. EU chief opens door for Canada to become 'associate member'(bbc.com ↗)
    830comments
  7. Mistral X Mozilla: Private, Multilingual AI Browsing(mistral.ai ↗)
    188comments
  8. Suspected sabotage causes major Netherlands rail disruption(bbc.com ↗)
    470comments
  9. Apple Reference Image: A New Approach for Verified Photography(security.apple.com ↗)
    334comments
  10. Hackers Got Inside a Flock Camera(wired.com ↗)
    229comments
  11. Gemini 3.8 Live and 3.8 Live Extended Thinking(blog.google ↗)
    322comments
  12. US confirms for first time it has deployed space weapons(bbc.com ↗)
    359comments
  13. Why I'm still bearish on LLMs after Navier-Stokes(dank.systems ↗)
    610comments
  14. Let's make quality the norm again(forbrukerradet.no ↗)
    485comments
  15. Training a 4B model to produce 81% faster query plans than Postgres(rohanbansal.com ↗)
    92comments
  16. Small programming tricks(will-keleher.com ↗)
    193comments
  17. Building a Linux GPU Driver for the M4 Mac Mini in One Month(codyho.dev ↗)
    267comments
  18. Nvidia announces native GPU programming in Rust(nvidia.com ↗)
    153comments
  19. Linux from Scratch(linuxfromscratch.org ↗)
    112comments
  20. Show HN: Capsule – Single-file web apps that save their data into SQLite(withcapsule.app ↗)
    156comments
  21. The Google Play app review process now regularly takes longer than a week(gultsch.social ↗)
    332comments
  22. Java 27(openjdk.org ↗)
    414comments
  23. We got admin access to Baseten's production GitHub(strix.ai ↗)
    184comments
  24. Israeli Minister Threatens Filmmakers' Citizenship over Gaza Documentary(reutersconnect.com ↗)
    86comments
  25. America's Driver's License Breach Is a National Security Disaster(lawfaremedia.org ↗)
    200comments
  26. Xiaomi Mimo 2.6 live post-training dashboard(xiaomi.com ↗)
    82comments
  27. PS5 Linux lead quits: "a bunch of noobs using LLMs" that "they don't understand"(frvr.com ↗)
    212comments
  28. Tell the speakers that you liked their talks(ohhelloana.blog ↗)
    76comments
  29. German Rheinmetall open-sources its Battlesuite connected weapon system protcol(rheinmetall.github.io ↗)
    105comments
  30. AWS says it can't restore some data from mideast facilities struck by Iran(wsj.com ↗)
    233comments

Nvidia announces native GPU programming in Rust

402 pointsby 16h agodeveloper.nvidia.com
151 comments
5h agoHN ↗

I'm looking forward to trying these when they stabilize! I currently use WGPU for graphics, and cudarc for CUDA.

Note: Cuda-oxide is similar to Cudarc'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.

I haven't tried the tile API yet; looking forward to it.

The last time I checked, Cuda Oxide was Linux only, and required Async; these are why I haven't tried it yet.

5h agoHN ↗

cudarc been great for me, because it's easy to look up existing examples and references, and it maps 1-to-1 with what I see. I'm already having a tough time with CUDA itself, a dialect of it makes a tad harder to rely on previous work.

Seems more ergonomic in general though, both approaches they share, compared to cudarc, and less build infrastructure and fiddling with environments, which is great.

4h agoHN ↗

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.

4h agoHN ↗

oh no no no, this is going to break the CPP hold on AI and game dev.

4h agoHN ↗

kernels aren'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.

3h agoHN ↗

And quite a few reasons that something better than C should be used. Rust seems a good candidate.

5h agoHN ↗

The launch is checked rather than trusted.

Damn even Nvidia is putting out fully Claude-written articles.

4h agoHN ↗

not to worry, they have an 'AI generated summary' box too

4h agoHN ↗

Its a recursive summarization pyramid

4h agoHN ↗

This thread flags an honest assessment of AI signal detection.

3h agoHN ↗

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.

4h agoHN ↗

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

3h agoHN ↗

One might even say it is load-bearing on the seam!

25m agoHN ↗

Why this is important: it's the honest take.

4h agoHN ↗

even Nvidia

Why "even Nvidia"?

They are fully behind using AI for basically everything.

What's next? "Damn, even McDonald's is putting out unhealthy food"

4h agoHN ↗

Sure, but even Anthropic doesn't appear to use Claude for blog posts. (I don't think anyone should. The prose stinks.)

3h agoHN ↗

Anthropic _absolutely_ does

They are just better at hiding it or configuring Claude.

I have several skills that reformat text to remove AI-speak tells.

2h agoHN ↗

That's about as useful as saying you asked the magical sky fairy.

2h agoHN ↗

I think you can't trust Pangram in a high stakes situation, but it is absolutely better than random noise at detecting AI-generated text. Which isn't surprising. If the distribution of probabilities can yield blatant Claudisms, it's not surprising it would also have more subtle deviations.

(Addendum: As I recall, LLM-generated outputs roughly follow Zipf's law, but the distribution still tends to have some subtle distinctions vs human text; pretty interesting, but I don't know where I heard this, so nothing to cite. Sorry.)

1h agoHN ↗

Pangram has an extremely low false positive rate. Even on adversarial examples.

One trade-off is even some obviously LLM text won'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.

2h agoHN ↗

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

But still, this is all very strange because it wasn't that many generations of AI models ago that AI writing was a lot better - I'm talking GPT 4.1, Claude 4.5, that sort of era.

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 wouldn't, doesn't it?

1h agoHN ↗

I don't feel like either one of you really has a strong claim. "Doesn't appear to" is subjective, and of course it's impossible to prove one way or another.

1h agoHN ↗

You're simplifying the exchange a little too much. I said:

Anthropic doesn't appear to use Claude for blog posts

My claim is literally the lack of evidence, which, yes, can'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.

They said:

Anthropic _absolutely_ does

Sounds pretty certain Anthropic is in fact, using Claude to write blog posts. Enough to emphasize "absolutely". That doesn't read like "I'm going off of vibes", that reads like "I can prove it". So, fine. Prove it. I don't believe it, and I want to hear the proof.

I'm skeptical, but it wouldn'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.

My point in saying "Even Anthropic doesn't appear to be using Claude for blog posts" 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'm sure these people would be interested:

https://www.reddit.com/r/ClaudeAI/comments/1wdfd92/are_anthr...

I will admit that I am unnecessarily aggressive sometimes, but I wouldn't have changed my response much in any case. If you're going to make a strong claim like this, I want your evidence, not your vibes. Otherwise, the claim should be a lot weaker.

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't like you. Sometimes I feel something deserves a brash response.

46m agoHN ↗

I don't really have any opinion on your tone; I just still don't agree with your framing. A lack of evidence would be neutral like "there's no evidence to indicate either possibility is more likely", 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.

3h agoHN ↗

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 .

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.

2h agoHN ↗

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.

2h agoHN ↗

It does suggest that they are not accurately measuring the value of paying for content writers or proof readers.

People and companies are hungry for knowledge about people's reactions, but the modern internet DOES NOT give an accurate image of people's views.

2h agoHN ↗

No. It suggests they don't mind littering slop into the information environment.

3h agoHN ↗

I believe most of their marketing videos use fairly convincing text to speech too, not voice actors.

2h agoHN ↗

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

2h agoHN ↗

found the McShill. The King will hear of this!

2h agoHN ↗

I think it's like 2000 calories in a single burger

that would be pretty cool, you can just get your entire day's calories from one burger

1h agoHN ↗

I couldn't even finish it man, it was so fucking sloppy. I had to throw away like 40% of it.

1h agoHN ↗

Is Jensen Huang still all-in on OpenClaw? That moment feels more like a flash in the pan.

3h agoHN ↗

I get the impression that Nvidia employees don't care too much - I started seeing fully AI-written "documentation" on some of their smaller projects more than a year ago (i.e., before it was even slightly a good idea).

3h agoHN ↗

People never really read documentation before. Agents do read it now, and they seem to understand LLM-written text just fine.

3h agoHN ↗

People never really read documentation before.

The heck you talking about? How do you think we wrote software for the last 50 years?

3h agoHN ↗

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

3h agoHN ↗

This is extremely depressing, I think I'm coming around to the realization that you may be right and I've been naive my entire career.

3h agoHN ↗

Yeah lol it’s basically the only reliable way to know how things work. Pre-AI, I read documentation for libraries that I used almost every day.

And now with AI I’m using it to fact check Claude. And still reading it for myself to understand why other peoples code is written a certain way. It’s basically the most important thing to reference when coding.

Sure today Claude can just read the library code and tell you 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”

2h agoHN ↗

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

2h agoHN ↗

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

I brushed up on the docs since I haven'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.

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.

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.

2h agoHN ↗

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!

2h agoHN ↗

My absolute greatest skill in my career, that has consistently set me apart from my peers, is that I read documentation thoroughly.

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.

2h agoHN ↗

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.

3h agoHN ↗

What? People never read documentation?

I start with reading and exploring documentation first; with the codebase as a secondary tab.

When it’s not LLM generated, documentation is supposed to be easier to read and more insightful than code.

2h agoHN ↗

People never really read documentation before.

Speak for yourself. I read it.

3h agoHN ↗

Is that your honest load bearing assessment you’re going to flag?

3h agoHN ↗

I hadn'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.

3h agoHN ↗

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.

3h agoHN ↗

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.

3h agoHN ↗

I totally concur. I'm almost lost for words at this stage. I need me some land to grow vegetables on and that's about it. Maybe some chickens. Every single day brings more despair (and not the prosperity we were promised).

2h agoHN ↗

Good luck with that. You will have to pry the water from the AI datacenters.

2h agoHN ↗

Do you know that's not really a thing or are you just wanting to help spread the propaganda?

1h agoHN ↗

... doesn't one of those imply the other?

2h agoHN ↗

I have land and chickens, and I'm really excited about the future & AI.

2h agoHN ↗

I'm also an optimist but the crash is imminent. I hope I am wrong.

2h agoHN ↗

Land, chickens, and private local AI running sustainably on the farm sounds like the least dystopian version of this AI future!

2h agoHN ↗

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.

2h agoHN ↗

This is true even at the undergraduate level unfortunately…

1h agoHN ↗

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

1h agoHN ↗

It'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'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 [...].

My hot take is that it'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.

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're forced to not defer learning. This will become even more important once we have AGI.

1h agoHN ↗

I know many teachers who actually have respect for the profession, themselves, and the students. Thankfully that means they don't do this.

Whether this is a widespread macro trend is another issue, and would be terryfying.

If true, however, it would reflect on the values of the organization: we have spent decades underpaying teachers, and doing a poor job of pretecting schools from frivoluos lawsuits. Add into that, 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't get our act together for a rigorous national exam, etc etc.

1h agoHN ↗

As a high schooler going to a school with stricter rules on AI than most in my area, I can say that it'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'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'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...

32m agoHN ↗

I find it interesting that this was downvoted twice without explanation.

3h agoHN ↗

Claude, rewrite my graphics card in Rust. Make no mistakes.

2h agoHN ↗

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.

We are still much better at writing in a way that doesn't waste other people's time.

2h agoHN ↗

It is the number 1 thing I cannot stand with Claude slop. It's a sort of anthropomorphization of language. Every "thing" does, produces, feels, wants, asks, answers, etc....

- "Launch is checked"

- "Question is asked"

- "The implementation answers"

- "The model wants"

- "The results name"

- "The connection surfaces"

- "The prompt wires"

- "The feature rides the mechanism"

Every single fucking thing is alive, wants things, and does things.

It's terrible. Infuriating. I want to rip my eyeballs out reading this filth. All. The. Time. "The anger is real".

1h agoHN ↗

Create any page with a file uploader. They all look the same now. It's like the Twitter Bootstrap days of responsive design. You'll get an icon which looks like ones on (on the drop space) those sites which are like "you must wait 60 seconds for this file to download".

It's so horrible. The human element has been completely removed and replaced by..... mediocre.

2h agoHN ↗

Even their writing skills are getting rusty.

1h agoHN ↗

it seems like that's the way the industry is headed

5h agoHN ↗

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.

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's side, CUDA or Tile (If you decide to choose the Tile track).

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.

5h agoHN ↗

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't yet been trained on this yet!

5h agoHN ↗

LLM don't need to be trained in a library to use it well. It's just Rust which they know well.

4h agoHN ↗

And what prevent you exactly ?

There were humans far superior than you for writting Rust before LLM, now there's a LLM. The only difference is price and time execution.

You get an awesome teacher (LLM) ready to answer all your questions about Rust.

And you still find excuses not to learn it ?

At some point, just realize you've been lazy to learn it and LLMs are just an excuse.

4h agoHN ↗

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.

3h agoHN ↗

If the sole motivation for learning things are payoff, then sure.

2h agoHN ↗

the sole motivation is feeding and sheltering my family. in the time BC (before Clankers), rust was a better way to do that.

2h agoHN ↗

Sad to break it to you, but...

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

https://github.com/rdaum/eider/tree/main/backends/cuda-oxide

And mostly just DeepSeek 4.1 Flash, too. Not even a frontier model.

Sorry.

48m agoHN ↗

Wtf does that have to do with learning, you should be encouraging people to learn.

Just because an LLM can do something doesnt mean we shouldnt learn it. Imagine if your math teacher had this attitude with calculators. Or your engliah teacher with audio books, "no need to learn to read we have audio books and llms".

I sometimes also struggle with the motivation to learn these days, but I realize its a crutch and super bad for my future to fall for that trap.

You having access to an llm does not make you special, you will not get farther than the person who also understands the thing they can do with the LLM, just like how the kid who did well on math in high school didnt rely on a calculator (and is doing far better in life than those who did).

That code looks like garbage btw...

1h agoHN ↗

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.

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.

I have been building software since PHP/Drupal days. Got into AWS S3 as a beta user. Adopted Memcached (and MQ) in 2008 out of necessity. Then Python/Django for 10 years. Then Rust. And tons of JS/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.

29m agoHN ↗

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't want their enjoyable and rewarding garden-tending work taken away from them.

38m agoHN ↗

I've found sorta the opposite - in any area, it can just do everything for you, or it can be an incredible teacher. I'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's not the point.

Kinda the same with language/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.

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/feedback is pretty cool for the sake of learning things just because they are interesting!

5h agoHN ↗

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.

4h agoHN ↗

I strongly dislike CUDA. Once you have allowed that proprietary cr*p into your C++ codebase, it is very hard to get rid, and you end up with code that is either tied to a single vendor or an #ifdef hell, probably both.

The best way to program GPUs is face up to the reality that they are not the same machine as the CPU, write your kernels in separate files, and launch them manually, like in Metal, OpenCL, and D3D12, 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.

4h agoHN ↗

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

4h agoHN ↗

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

Isn't that how CUDA code is normally written?

4h agoHN ↗

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.

4h agoHN ↗

This true, but you can write the two separately if you want.

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.

4h agoHN ↗

You could also use Mojo, one language for all targets.

4h agoHN ↗

I began to lose interest after the acquisition. Have you been following along, are they still going to open source it?

4h agoHN ↗

I thought they already did and released the compiler source code under Apache 2.0.

4h agoHN ↗

The Mojo compiler has been open source for over a month now.

And the Mojo standard library has been open source for over a year.

It’s all open source. Go check it out!

4h agoHN ↗

Nice, thank you. There is an old python project I've been thinking about converting to Mojo.

3h agoHN ↗

Or julia if you want a much more mature ecosystem.

3h agoHN ↗

I highly recommend Julia for (scientific) GPU programming but it would be nice if there was a larger community and/or funding behind the GPU side of things. It has very few core devs for what it is.

4h agoHN ↗

Once you have allowed that proprietary cr*p into your C++ codebase

People have been doing that all the time for every kind of codebase. It's just part of the business. I don't see how it's worth having any emotions or opinions about it. Seems like you are wasting your energy.

Are win32 APIs proprietary? So you decide to use them, use a wrapper/UI framework, or don't develop for Windows. Easy choice.

Developing for 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't have a job. Even simpler.

4h agoHN ↗

CUDA is not an API, CUDA is a language, so you cannot make that comparison.

4h agoHN ↗

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.

From: https://docs.nvidia.com/cuda/cuda-programming-guide/01-intro...

1h agoHN ↗

Are win32 APIs proprietary?

Yes. And crap. Not in my code bases.

1h agoHN ↗

If you'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's the same thing, just with more indirection.

1h agoHN ↗

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

4h agoHN ↗

yeah, just write a stub/wrapper around it and abstract. it's the classic coupling problem. nothing to do with CUDA

4h agoHN ↗

I strongly dislike CUDA. Once you have allowed that proprietary cr*p

Genuine question...why not just type "crap"? It's not even that much of a curse, but I've never really understood the point of self-censorship. If you don't want to curse then you could just use a non-curse word.

3h agoHN ↗

It may be to bypass censorship, rather than self-censorship. Some platforms block or shadowban comments with curse words. Not sure about this platform.

3h agoHN ↗

HN definitely doesn't give a crap about that word.

2h agoHN ↗

can confirm, looks like crap is not on a list

2h agoHN ↗

I have written many words far worse than "crap" on this site. I haven't gotten in trouble over it yet.

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 "shitposting"...I don't think I've gotten that kind of criticism since 2016 though.

3h agoHN ↗

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

1h agoHN ↗

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

6m agoHN ↗

More like p**p, as in "that cunt p**ped in my yard".

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

11m agoHN ↗

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

I believe we'll be left to wonder.

3h agoHN ↗

Launching kernels manually is an error prone PITA which I believe is the principle reason for CUDA's popularity. Having the compiler give an error when you mess up is a huge benefit. But having the compiler allow you to express "I want to launch this kernel over a grid with these dimensions, with these arguments" as a single expression is where the vast majority of the value comes from.

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 "launch me this kernel".

2h agoHN ↗

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.

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

Not to mention that this is a completely sane way to use CUDA as well.

1h agoHN ↗

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

1h agoHN ↗

? I find it hard to see the issue here. Just put it in a separate file and call it?

1h agoHN ↗

Anyone here looking at Modular's offerings?

1h agoHN ↗

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't wait to build further with the community.

4h agoHN ↗

Will it then be possible to query TJunc hotspot temps on linux?

3h agoHN ↗

Rust just makes you sign a waiver first.

33m agoHN ↗

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

3h agoHN ↗

Rust for GPU programming? My CUDA debugging sessions just got a whole lot less painful, hopefully.

2h agoHN ↗

Been waiting for something like this. CUDA C++ is a pain; Rust's safety for kernel programming could be a game changer.

2h agoHN ↗

Interesting direction from Nvidia. Anything that makes writing reliable GPU code less painful is definitely a good thing.

2h agoHN ↗

Makes me sad that Go doesn't get love. I feel like Go is perfect for LLMs.

1h agoHN ↗

Don't think we're gonna see garbage collections anywhere near gpu for many reasons.

2h agoHN ↗

Really exciting but it reads like Claude instead of what Nvidia posts have generally been like in the past. I don't need nor want my tech blogs to sound like a young adult novel.

39m agoHN ↗

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.

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

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.

1h agoHN ↗

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

57m agoHN ↗

The recent circular moves that Nvidia is making is designed to wrap things around them, anything to keep the AI model party going.

13m agoHN ↗

I read this the other day - definitely think it is the right direction Nvidia is taking.

Thank you NVIDIA - for once (not twice though - you've given us nothing but despair for Linux+GPU).