Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

SDL 1.x or SDL 2.x?

Name: Anonymous 2015-04-18 4:53

Pick one.

Name: Anonymous 2015-04-18 4:56

no!!!!!!

Name: Anonymous 2015-04-18 7:36

>>1 Always pick the highest version. There could be x10 performance difference in some cases, and much less bugs.

Name: Anonymous 2015-04-18 9:08

Fedora Core 3 only ships with SDL 1.2, so you need to stick to SDL 1.

Name: Anonymous 2015-04-18 12:17

>>4
What about the thing called "static linking"

Name: Anonymous 2015-04-18 12:25

>>5
Distributing binaries is disgusting.

Name: Anonymous 2015-04-18 16:27

>>6 Even Gentoo users will not start compiling Firefoxes

Name: Anonymous 2015-04-18 19:53

SDL 2.x because SDL 1.2 is not updated and has many disgusting things in it (only one possible window etc).
SDL 2.x is just uselessly complicated (they added textures, like the good old surfaces were not enough) and it's still shit (it registers a SIGINT and a SIGQUIT handler forcefully and has bad API design).

Name: Anonymous 2015-04-18 23:41

>>7
OpenBSD users will.

Name: Anonymous 2015-04-19 0:13

>>7
Any better alternative or is it all shit?

Name: Anonymous 2015-04-19 0:18

check 'em

Name: Anonymous 2015-04-19 5:37

>>10 Dillo, Links, Xombrero,Midori.(they're crippled in some ways). The problem is no one competent enough wants the burden of maintaining and writing a browser for years, so they lag behind in speed/features.

Name: Anonymous 2015-04-19 6:35

Use SDL 2.x, but statically link it into your program. That's what all of the Linux game developers are doing anyway, for binary distribution. Works even on Fedora Core.

Name: Anonymous 2015-04-19 9:22

Is Fedora Core a meme now?

Name: Anonymous 2015-04-21 0:18

Tips fedora

Name: Anonymous 2015-04-21 1:07

>>4
Fedora is shit.

Name: Anonymous 2015-04-21 1:13

>>4,16
Old Fedora is unmaintained anyway so you really shouldn't care. Yes, I know IHBT.

Name: Anonymous 2015-04-21 16:49

SDL 2 of course

Name: Anonymous 2015-07-30 6:30

SDL 2 is full of terrible stuff. SDL 1 makes *some* sense.

Name: Anonymous 2015-07-30 8:19

Run formally verified unmaintained software. If has no need to change.

Name: Anonymous 2015-07-30 16:49

If SDL 1 sucks, and SDL 2 also sucks, what alternatives are there? OpenFL?

Name: Anonymous 2015-07-30 17:11

The initial idea of SDL was just a standardized frame-buffer access, so you can easily port 2d games between platforms. Now SDL is a huge bloated mess of an API.

Name: Anonymous 2015-07-30 17:21

>>22
Well, it's for making games, so they added interfaces to stuff you need for making games:

- Input handling (mouse, keyboard, controllers...)
- Filesystem access
- Decoding various media formats
- Playing audio

You can prove SDL is useless by writing a game that uses none of these.

Name: Anonymous 2015-07-30 17:27

>>23
- Filesystem access
Their "file system access" is such a joke.
https://wiki.libsdl.org/CategoryIO

Name: Anonymous 2015-07-30 17:34

>>23
Most NES games are using their own formats, so SDL these routines would be completely useless for reimplementing NES game.

Name: Anonymous 2015-07-30 17:35

>>25
And NES ROM usually has no filesystem, just direct offsets.

Name: Anonymous 2015-07-30 17:56

Since raw OpenGL takes way too much time to get anything done and SDL is bloated, what else should one use?

Name: Anonymous 2015-07-30 18:13

>>27
glfw

Name: Anonymous 2015-07-30 18:30

>>27
OpenGL.
Don't be a bitch.

Name: Anonymous 2015-07-30 18:37

>>27
Unfortunately there is no more KISS principle - everything is bloated.

The Right Thing is dead too - everything is wrong.

see http://www.jwz.org/doc/worse-is-better.html

Name: JEWZ 2015-07-30 18:49

JEWZ

Name: Anonymous 2015-07-31 0:35

>>27
Praxis.

Name: Anonymous 2015-07-31 19:54

Can anyone give an in-depth explanation of what they think is shit about SDL?

I haven't looked too much at the source, but I do know it uses fucking autoconf.

Name: KIKES 2015-07-31 21:17

class JEWS { static public void main( String args[] ) { System.out.println( "JEWS" ); } }

Name: Anonymous 2015-07-31 22:16

>>33
SDL takes too much onto itself, instead of doing just one thing and doing it great, SDL provides sound, cd-rom access, networking and opengl bindings. So you can't use SDL framebuffer functionality without also bringing-in the whole mess. SDL2 made it even worse: instead of breaking functionality into separate libraries, it made even more integration. I.e. SDL2 competes systemd.

Name: Anonymous 2015-07-31 22:36

You can't use SDL2 without dynamic linking.

Name: Anonymous 2015-07-31 23:40

>>35
SDL2 will probably require systemd at some point. I'm wondering about Allegro. All I want, though, is a portable library that can create a window & OpenGL context, take input events, write sound to output buffers, and have a minimum of fussy code potentially fucking up each of those functions. Having seen all the inconsistent behaviour on Linux that SDL has to deal with just to create a possibly fullscreen window, I don't want to write that library.

>>36
It's like they suddenly decided to suck ULRICH DREPPER's dick. However, you can substitute one line in the header file to reenable static linking.

Name: Anonymous 2015-07-31 23:44

a portable library that can create a window & OpenGL context, take input events

GLFW

write sound to output buffers

this is more difficult, probably have to wrap up OpenAL

Name: Anonymous 2015-07-31 23:52

>>37
Nothing having to do with the anything except the command line on Linux is going to be elegant. Blame X11. It's full of thirty years of hacks to fill every niche use case, and is more bloated than most GNUShit could ever possibly aspire to be. Also, sound is an even greater pain in the ass.

Name: Anonymous 2015-07-31 23:57

>>39
You're going to love Wayland and Weston.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List