(This is my reasoning, mistakes are possible*)
- The size:
SFML with SFML-window and SFML-server - 10mb,
SDL2(core) and SFML(ttf) is 1621 kb.
GitHub has a list of all supported platforms.
There are more of them than SFML(
- SDL2 doesn’t have everything that SFML does.
This can not be attributed to the minuses.
SDL2 is more of a support tool than a complete graphics library.
It doesn’t implement the convenience of working with shaders or the ease of working with opengl
(like in SFML), in SDL2 it is more like the GLEW principle.
But this minus does not bother me, I myself added support for shaders. Therefore, my choice remained on SDL2.