←back to thread

241 points fschuett | 4 comments | | HN request time: 0s | source
Show context
ciroduran ◴[] No.45662771[source]
Raylib's author was very happy to announce that you can compile an entire raylib program with no dependencies other than, say, being a win32 app https://x.com/raysan5/status/1980322289527976202
replies(4): >>45663602 #>>45665595 #>>45666276 #>>45667634 #
smlacy ◴[] No.45663602[source]
but ... why?
replies(7): >>45663616 #>>45663685 #>>45664169 #>>45665350 #>>45665446 #>>45667159 #>>45669821 #
1. stodor89 ◴[] No.45665446[source]
Because GPU APIs are a nightmare clustertruck.
replies(1): >>45665731 #
2. mungaihaha ◴[] No.45665731[source]
1000x less performance is a bigger clusterfuck
replies(2): >>45665905 #>>45670594 #
3. rootnod3 ◴[] No.45665905[source]
It's not meant for "let's make the next AAA game". It's for "Hey, I wanna try a fun idea".
4. stodor89 ◴[] No.45670594[source]
It's slower indeed, but it's easier to write and debug, more portable, and gives you total control over the render pipeline. It's good for experimentation and learning, and would still be trivial to compile and run 20 or 50 years from now. And with how obscenely fast modern CPUs are, it might even be fast-enough for a simple 3D game.