1
General discussions / Benchmark : SDL vs SFML
« on: March 28, 2010, 05:26:51 am »Quote from: "T.T.H."
In addition SDL does loose even more appeal in my eyes after reading that there will be a commerial license for it (with all the cool features of course like e.x. statically linking). Nothing against paying good money for good software but in my case I can get all I want (usability, speed, coding for the laptop, not coding for the fridge = SFML) for free (SFML's zlib/png license).
This is exactly the reason why I chose SFML now. Not any performance difference, nor OOP aspect. Only the license.
For me SDL used to be THE free lib for platform independent graphic stuff even if it never was with it's gpl license but this step towards adding a commercial license killed it for me. Their comparison chart alone is so yuck.
I guess it's ok if you actually want to use it commercially or want to bother with the GPL but I've come to the conclusion that I want to bother with licenses the least possible with my small projects and the zlib/png one is perfect for that.
I'm sure you can also code fast software with SDL if you tweak things, use HW rendering, OpenGL and so on. The tests were supposed to show a difference with "default settings" though I think. Like if you're new to both libs and write your first application. Some people are taking it too serious.
On a side note this little application I have seems to be running faster with still-WIP-SFML2 than it did with SFML1.5. So either it's just something related to my application or SFML will have some performance gain once version 2 is a stable release