Live data from Hacker News

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

news.ycombinator.com

71–80 of 230 posts

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

#71
post #15

Earlier quoted context omitted.

JavaFX is amazing, but I'm not sure how it holds up when an app gets complex.

I think a bigger problem is that less and less end users have the JVM installed.

Any source to this?

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

#72

Earlier quoted context omitted.

I think a bigger problem is that less and less end users have the JVM installed.

Any source to this?

Even if it were true, you can easily bundle a JRE with your app, which is what Oracle recommends actually. In the end, it still ends up being smaller in size than a Electron/NW.js app.

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

#73

Earlier quoted context omitted.

Qt's nice, but the thing I've always disliked about it is that it re-implements all these basic types, like QString, QVector, QList, QMap, etc. and you need to use them to interact with all their APIs. So, you either have to decide you're all-in on Qt and have these QThis and QThat types littered all over your code (making it more difficult to interact with other third party libraries like boost that know nothing abo…

Shouldn't you always have a layer between your business logic and display logic? Seems like this shouldn't be an issue with proper MVVM.

Sure, but you still have to write that display layer. You're just moving it around on your plate. You still have to eat it.

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

#75
Adobe AIR - much as people like to hate on flash, Adobe AIR kicks ass as a cross platform UI. It has years of use and abuse.

Its one downside is if you need really low level hardware interaction with OS you have to use an ANE library which are sometimes great, and sometimes sketchy.

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

#77

Just getting started on Electron myself. Used by Atom, Slack, Visual Studio... It's worth a look ;) Electron - Build Cross-Platform Desktop Apps With HTML, JS, CSS http://electron.atom.io/

> Just getting started on Electron myself. Used by Atom, Slack, Visual Studio... It's worth a look ;)

No more js app please! They're terrible! They're slow! They leak a LOT of memory! They don't work on virtual machines!

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

#78
React Native supports

* iOS

* Android

* OS X https://github.com/ptmt/react-native-macos

* Windows https://github.com/ReactWindows/react-native-windows

* Ubuntu https://developer.ubuntu.com/en/blog/2016/08/05/introducing-...

* the web https://github.com/necolas/react-native-web

Post reply on HN