News for hackers. Stuff that matters.
Re:Valve Source Engine Running Faster on Linux than Windows by jiggy2011 on Thursday August 02, 2012 @08:31AM (#4328369)
I thought stuff like SDL was used precisely because it abstracted away all the crappy parts of openGL and gave you an easier API to work with?
Re:Valve Source Engine Running Faster on Linux than Windows by exDM69 on Thursday August 02, 2012 @10:16AM (#4328828)
> I thought stuff like SDL was used precisely because it abstracted away all the crappy parts of openGL and gave you an easier API to work with?

No. SDL only deals with the platform specific parts like windowing and OpenGL initialization. It does not do any OpenGL for you.

GLFW is another popular tool for the same purpose.

Re:Valve Source Engine Running Faster on Linux than Windows by eropple on Thursday August 02, 2012 @09:23AM (#4328570)
If it meaningfully abstracted away the crap as it was originally billed to do, yes. It doesn't really do that, IMO, and mostly just makes you deal with even more mental state. It's very common to see people use SDL more or less only for creating a window and pulling input (which it does do pretty well).

SFML is better, but the developers are pretty uninterested (SFML 1.x was declared "legacy" while there was a bug that prevented it from running on modern AMD graphics cards) and I wouldn't trust it as far as I could throw it.

Re:Valve Source Engine Running Faster on Linux than Windows by peacemaker on Thursday August 02, 2012 @11:13AM (#4329111)
Can you explain why you wouldn't trust SFML? I've been using it for a few months now and haven't had any problems.
Re:Valve Source Engine Running Faster on Linux than Windows by eropple on Thursday August 02, 2012 @02:00PM (#4330037)
I don't trust people who leap to a new, breaking major version while ~40% of people can't run the in-theory-supported old one. Their prerogative, but I won't use their library because of it.