Skip to main content


in reply to Vertigo #$FF

I've written a bit of SDL, and I find that it is a pretty convincing lie. Enough that sometimes I can't remember if I'm writing x11 or sdl code, they map nearly 1:1 on each other.
in reply to Devine Lu Linvega

@neauoire That's why they are EOL-ing SDL 2 and are now starting with SDL 3, so that they can embrace Wayland instead of X11.

But, I'd argue that that is exactly what makes it not a good API. When I had to transition from SDL 1 to SDL 2, it was a very painful process, and significantly more complex than the code had been before. I basically had to rewrite my code almost from scratch.

To this day, I still find SDL's API completely distasteful. The less I have to work with SDL, the better.

I'm hoping the transition from SDL 2 to SDL 3 will be significantly less painful. I really don't want to have to rework my code yet again.

in reply to Vertigo #$FF

I havem't had to come from SDL1, so I'm not sure. I've only ever tried SDL2, but in isolation, I guess it tries to follow the metaphores a-la-mode, so we can be sure that SDL4 will be tracking watever comes after wayland(I'm thinking I'll skip right by wayland and try the next hip thing). I don't think you need to port it to sdl3, I mean, there's a SDL1 implementation of uxn, and it doesn't need to be ported to 2, it fullfils its own niche.
in reply to Devine Lu Linvega

@neauoire That's good to hear; the reason I ended up porting to SDL2 is because SDL1 would routinely fail for me (couldn't get the surface), and eventually became unavailable in my distro's packages. But if SDL1 is still around and working for folks, that's good news.

Lo, thar be cookies on this site to keep track of your login. By clicking 'okay', you are CONSENTING to this.