Hacker News new | ask | show | jobs
by qwerty456127 1357 days ago
1. I consider Qt (incl. the "modern" part) a desktop framework (arguably the best one) with mobile support (perhaps very good support), not a mobile framework. Or would you say KDE is "for some reason made with a mobile framework rather than a desktop one"?

2. I am a solo developer and want one framework to write once, run everywhere (still looking for which will do the best job for me).

1 comments

> I am a solo developer and want one framework to write once, run everywhere

So... Qt's C++ framework then?

Late edit: as an afterthought there are other languages that provide similar functionality. Xojo comes to mind as having capability to write once and run everywhere. It doesn't have the performance of C++ though and comes with a bunch of its own baggage.

I just heard you don't really have to use any language other than the Qt's internal ones any more.

Although performance is nice to have, it obviously is not the most important thing for me. Low verbosity (as little code necessary to write a functional and reliable UI as possible) and fast learning curve are the most important things.

> Low verbosity (as little code necessary to write a functional and reliable UI as possible) and fast learning curve are the most important things.

Qt and Xojo are both real contenders on these points. I would argue that Xojo has a faster learning curve if you already know BASIC but is perhaps much less expressive if you need any sort of complex computer science algorithms or data structures which is where C++ really shines.

Qt's learning curve is "pretty quick" but it of course comes with having to know a decent amount of C++, and possibly javascript, to utilize effectively.

> I just heard you don't really have to use any language other than the Qt's internal ones any more.

Yup absolutely. If it were me and I were building a UI, I would seriously consider Qt's framework. I don't particularly like Qt's framekwork (it still holds a lot of baggage from pre-C++11 days) but I must admit that it's fairly extensive, certainly cross-platform across desktop and mobile operating systems, and has a fairly quick learning curve to use.