HNHacker News
TopNewBestAskShowJobs

n67094

35 karma · joined November 10, 2021

submissionscomments
n67094··on SDL_GPU minimal, single-header, high-performance 2D graphics painting library
here it is: https://github.com/n67094/sdl_gp#how-does-this-differ-from-s...
n67094··on SDL_GPU minimal, single-header, high-performance 2D graphics painting library
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.

n67094··on SDL_GPU minimal, single-header, high-performance 2D graphics painting library
I'll make sure to add that, thanks for the feedback.
n67094··on SDL_GPU minimal, single-header, high-performance 2D graphics painting library
thanks :)
n67094··on SDL_GPU minimal, single-header, high-performance 2D graphics painting library
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 :)
n67094··on SDL_GPU minimal, single-header, high-performance 2D graphics painting library
Well, I understand your concern, it's for naming consistency in codebases that may use this lib, like this one https://github.com/sabdul-khabir/SDL3_gfx, which is listed here https://wiki.libsdl.org/SDL3/Libraries (it's also an unofficial lib, like SDL_gp).
n67094··on SDL_GPU minimal, single-header, high-performance 2D graphics painting library
Thanks for the feedback you are right, this is necessary ! I'll do that asap :)
n67094··on SDL_GPU minimal, single-header, high-performance 2D graphics painting library
You are right, I made a typo ... :facepalm: