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