SDL_GPU minimal, single-header, high-performance 2D graphics painting library
52 points by n67094 7 hours ago | 18 comments

kryptiskt 7 hours ago
This isn't SDL_gpu, that is part of SDL3. This is SDL_gp, an external lib which builds on the former.
reply
HexDecOctBin 6 hours ago
How is this different from SDL_Render? https://wiki.libsdl.org/SDL3/CategoryRender
reply
nnevatie 6 hours ago
The naming of the library is pretty confusing, considering SDL_gpu is an official part of SDL3.
reply
feelamee 5 hours ago
naming of api functions too. They all prepended with "SDL_" as if this is SDL library, but it not.
reply
whateverboat 5 hours ago
https://github.com/dascandy/pixel

I personally think this is better.

reply
matt-p 6 hours ago
Cool work!
reply
torusle 5 hours ago
Nice Ai prompting, bro..

Might want to share your harness /s

reply
andai 2 hours ago
I know you're being sarcastic but I think some people may find this interesting:

https://minimal-agent.com/

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.

reply
bellowsgulch 6 hours ago
[flagged]
reply
tomhow 49 minutes ago
Please don't post like this on HN. The guidelines make it clear we're trying for something better here. https://news.ycombinator.com/newsguidelines.html
reply
andai 2 hours ago
They who must must not be named actually get a decent income e-begging, they just got used to living in San Francisco.
reply
qweqwe14 6 hours ago
[flagged]
reply
mightyham 5 hours ago
Probably because they could easily have given the same advice without needing to call people on hn that encourage and support open source software "low-class".
reply
unclad5968 5 hours ago
> developers who get mad that you don’t give away all of your hard work for free

> encourage and support open source software

These two statements are not about the same group of people. It's reasonably safe to assume all people that get mad about proprietary software support OSS, but not all supporters of OSS get mad when people sell their software.

Everything I do I license as public domain. I would also encourage OP to sell his software if he'd like to make money from it, albeit maybe some different software.

reply
mightyham 4 hours ago
When the GP says "You’ll talk to a whole lot of low class people like that on HN", I interpret that as them disparaging basically anyone who supports open source, since I believe there are not many people on HN that are overly emotional about the existence of closed source software.
reply
krapp 5 hours ago
>Why the downvotes?

Probably for calling open source developers sad low-class beggars. Also probably for the presumption that OP should be trying to hustle an income from a fork of an open source project that no one would be willing to pay for anyway, because there's no market for 2d renderers. They're all already free.

It isn't only crass, it's stupid and crass.

reply
jmull 2 hours ago
Eh, you might want to know what you’re talking about before calling people stupid. E.g., OP says with their repo, “ Hi everyone, I'm nsix, an indie game developer and open source contributor trying to make a living from my work.”

Perhaps the previous poster isn’t presuming, and simply read the repo landing page.

Not to mention, a plain reading of the comment makes it clear they are calling the people who “get mad that you don’t give away all of your hard work for free” low-class, and not open-source developers. And, of course, the people referred to a low-class are not the same as the ones referred to as begging.

I would assume you know these things and are intentionally trolling. Just calling out the insincere bad behavior for the sake of others who might get trolled by your comment.

reply
isjsixjeidjei 5 hours ago
[flagged]
reply
tomhow 50 minutes ago
Please don't reply to a bad comment with another bad comment. Personal attacks are never ok here. You could easily respond by engaging with the substance of their comment rather than ad hominem. https://news.ycombinator.com/newsguidelines.html
reply