Re:SDL2 common mistakes and how to avoid them
by krapp on Sunday January 08, 2023 @07:11PM
(#34304933)
If you can get past the layout, one of the best online resources for learning SDL are Lazyfoo's tutorials[0] and maybe Parallel Realities[1].
But SDL is too low level to consider as a framework for GUI, it's basically a cross platform library for hardware (screen, graphics, input, audio) and event handling. You're still going to have to write everything yourself.
You should at least know C or C++, although there are ports to several languages, and several GUI frameworks like Dear ImGui and I think Pygame use SDL in the background.
if I have to read the source code for it. what prereq knowledge do I need if I’m from a web dev background trying to build graphical desktop apps with sdl2