Better HN
topnewbestaskshowjobs
Log inSign up

n67094

35 karma · joined Nov 10, 2021 (5y ago) · 15 submissions

Submissions

1.

Boxer – A lightweight 2D game library in C (WIP)(github.com ↗)

2 points · by n67094 · 1mo ago · discuss

comment 3mo ago · link · parent

here it is: https://github.com/n67094/sdl_gp#how-does-this-differ-from-s...

comment 3mo ago · link · parent

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.

comment 3mo ago · link · parent

I'll make sure to add that, thanks for the feedback.

comment 3mo ago · link · parent

thanks :)

comment 3mo ago · link · parent

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

comment 3mo ago · link · parent

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

comment 3mo ago · link · parent

Thanks for the feedback you are right, this is necessary ! I'll do that asap :)

comment 3mo ago · link · parent

You are right, I made a typo ... :facepalm:

10.

SDL_GPU minimal, single-header, high-performance 2D graphics painting library(github.com ↗)

65 points · by n67094 · 3mo ago · 30 comments

11.

A high-performance 2D graphics painter that use SDL3 GPU API(github.com ↗)

3 points · by n67094 · 7mo ago · discuss

12.

Tiny ANSI C lib for logs(github.com ↗)

2 points · by n67094 · 5y ago · discuss