Skip to content

Instantly share code, notes, and snippets.

@nashley
Last active November 18, 2016 14:22
Show Gist options
  • Select an option

  • Save nashley/441b34b96a4564d2be2a7e897c4d4696 to your computer and use it in GitHub Desktop.

Select an option

Save nashley/441b34b96a4564d2be2a7e897c4d4696 to your computer and use it in GitHub Desktop.
Cross Platform GUI

Need to decide between remaking HTML/CSS/JS and creating a cross-platform library. The former would allow for truly cross-platform programs, while the latter would allow for multiple languages to use the library.

Could also just make a library for a bunch of language; e.g., C, Python3, Lua, JS(?).

Create a (or implement an existing) markup language that translates into native GUI code for each platform; the GUI talks to the developer-made, cross-platform backend (likely C) via API calls.

Backend options:

  • C
  • Python
  • Lua

For android, SL4A looks interesting, but it's sadly dead.

Focus on creating a few simple elements that are used regardless of platform:

Supported Platforms:

  • Linux via XCB and eventually wayland OR via GTK and QT
  • Windows
  • OSX
  • Web
  • Android
  • iOS?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment