Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's what stuff like SDL meant to abstract away.


Sure, but SDL can also only do so much to plaster over missing or optional Wayland features:

https://wiki.libsdl.org/SDL3/README-wayland

Basic window system functionality really needs to be provided by the OS, not by 3rd-party libraries. And there's no reason why simple things like creating a window should be drastically more code in an OS API than in a wrapper library like SDL.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: