Join the discussion
Write your take first — we'll ask for email only when you're ready to publish.
- Hacker News
- Nice Ai prompting, bro..
Might want to share your harness /s
by torusle - I know you're being sarcastic but I think some people may find this interesting:
I made one based on this tutorial (about 50 lines), which is about 8x faster and cheaper for small tasks in my experience. I highly recommend the learning experience.
by andai - I "don't" use AI, I mean like most devs nowadays, I have a Copilot suggesting "smart" autocomplete, that's all. I wouldn't let an AI pilot my codebase. If you have a bit of probability knowledge, you may be aware of what happens when you're trying to get specific outputs from generic inputs.
And if you don't have a bit of probability knowledge: generic input just means high variance in the output, so "it looks right" isn't the same as "it is right." In other words, you'll just get a noisy sample out of many possible ones... and not what you really want.
by n67094 - Cool work!by matt-p
- thanks :)by n67094
- https://github.com/dascandy/pixel
I personally think this is better.
by whateverboat - Why?by mwkaufma
- completely different under the hood, the one you sent use OpenGL only, SDL_gp use Vulkan, metal or DirectX depending on your system. There is also a lot of other diff but it will be long to explain ^^. But thanks I didn't know about the one you sent :)by n67094
- The naming of the library is pretty confusing, considering SDL_gpu is an official part of SDL3.by nnevatie
- naming of api functions too. They all prepended with "SDL_" as if this is SDL library, but it not.by feelamee
- How is this different from SDL_Render? https://wiki.libsdl.org/SDL3/CategoryRenderby HexDecOctBin
- If only there was some link to a readme which would answer this question.by mwkaufma
- by n67094
- Thanks for the feedback you are right, this is necessary ! I'll do that asap :)by n67094
- This isn't SDL_gpu, that is part of SDL3. This is SDL_gp, an external lib which builds on the former.by kryptiskt
- You are right, I made a typo ... :facepalm:by n67094