Live data from Hacker News

Ask HN: What's the best library for making cross-platform UIs?

news.ycombinator.com

11–20 of 230 posts

Re: Ask HN: What's the best library for making cross-platform UIs?

#12
post #9

Depending on the type of UI, you could also give Kivy a try. https://kivy.org/ It's python based, and really easy to get going. It does have it's quirks, but overall I found it a joy to use.

I've had some hard times porting Kivy to the Raspberry PI 3 on Raspbian. It is a decent toolkit, but I'm not so sure on the ease of cross-platform.

Re: Ask HN: What's the best library for making cross-platform UIs?

#14

Qt has a truly pleasant API and bindings in many languages. If you haven't used it before - and I know you haven't, otherwise you wouldn't be asking :) - give it a try. There's very little that's more cross-platform.

We have chosen Qt for our new cross-platform app (Android, Windows, MacOS) which we've developed for the past 1.5 years and have overall not regretted it. Doing UIs with QML and Qt Quick is so much faster than Android's XML based system and gives you a lot of flexibility.

However there's a bit of a UI rendering overhead, although I understand they made it faster with Qt 5.7. And OpenGL integration is more complicated than doing it natively since you have to understand Qt's UI scene graph system and the way Qt is threading things.

But overall it's been a good choice so far.

Re: Ask HN: What's the best library for making cross-platform UIs?

#16
post #7

React (Native). You can build an iOS and android app with the same codebase. Even windows phone and ubuntu are starting to support it. Then when you want to use the web, your whole data layer can carry over to reactjs. It's a really nice way of doing things. There's even react native for Mac OS that someone has started.

You can also wrap the reactjs web application in in Electron (http://electron.atom.io/), which supports Mac, Windows and Linux.

Re: Ask HN: What's the best library for making cross-platform UIs?

#19
There are plenty of options (all biased by personal opinion) for this task. Maybe one of these projects is a good fit for you (creating consistent uis should be easy with all of these).

- https://crosswalk-project.org/

- https://cordova.apache.org/

- https://kivy.org/

- https://www.nativescript.org/

- https://www.xamarin.com/

- https://facebook.github.io/react-native/

#

- https://www.wxwidgets.org/

- http://nwjs.io/

- http://electron.atom.io/

Post reply on HN