I would love to see Lagrange running on all kinds of devices. Using C and SDL makes this achievable — exhibit A: the app on 2017 iPad Pro.

The more mobile things get, the more one needs to adapt the UI and behavior. You get a lot of stuff for free with native UI components, but with custom UI and SDL there's none of that.

Just getting the code to run is the easy part, and I'm happy to report that it runs smoothly.


@jk that's so cool. Seems like SDL was a good choice. I've never heard of it for GUIs before, but when I first tried Lagrange, I was like wow, this feels unique and with a great UI like an Electron app, but it's so fast and responsive. And look at this, how portable it is! Nice.

@makeworld Yeah SDL is great library, and thanks to Gemini being limited in scope it's feasible to implement a fully custom UI from scratch.

Of course there are drawbacks, too... Things like accessibility and localization also have to be done from scratch. Mobile OS's have tons of custom APIs for various features, and a well-behaving app should use them as intended. SDL provides some basic things, but it's still quite a hurdle.

Sign in to participate in the conversation
Sunbeam City 🌻

Sunbeam City is a anticapitalist, antifascist solarpunk instance that is run collectively.