News for hackers. Stuff that matters.
Re:Swift 5.3 Will Be Supported on Windows and Additional Lin... by quantummkv on Saturday May 16, 2020 @12:37AM (#23200524)
A modern, powerful memory safe language? C++ is hardly a good choice for making casual small GUI apps.
Re:Swift 5.3 Will Be Supported on Windows and Additional Lin... by viraptor on Saturday May 16, 2020 @03:34AM (#23201235)
Like Crystal, Go and Rust? (and QML for the basic events handling)

https://en.wikipedia.org/wiki/List_of_language_bindings_for_...

Re:Swift 5.3 Will Be Supported on Windows and Additional Lin... by foldr on Saturday May 16, 2020 @10:23AM (#23203588)
Have you made any non-trivial use of the Qt bindings for those languages? Qt is a big and complex library, and most bindings are incomplete or poorly documented. As far as I know, PyQt is the only Qt binding is the only one that you can really rely on to work now and in the future.
Re:Swift 5.3 Will Be Supported on Windows and Additional Lin... by SitiSchu on Saturday May 16, 2020 @06:57PM (#23207906)
There is PySide2/Qt for Python which are the official Python bindings for Qt by the Qt Company itself and they are close enough to the C++ API(since they are auto-generated) that it's possible to just use the C++ documentation and translate any C++ code into python nearly 1:1 (except things like QString where you can just use Pythons native types).
Re:Swift 5.3 Will Be Supported on Windows and Additional Lin... by viraptor on Sunday May 17, 2020 @04:37AM (#23210605)
Not terribly complex, but not trivial either. Yes, there are missing pieces in non-python ones. But given that basics are handled, it's often pretty easy to add the pieces which you need.
Re:Swift 5.3 Will Be Supported on Windows and Additional Lin... by Memosyne on Saturday May 16, 2020 @12:57AM (#23200608)
Qml supports ES7 so you only really need to touch C++ if you're not making "casual small GUI apps". If you need to draw custom items or do low level networking then yeah you need to use C++ but even then Qt is much friendlier than using the standard libraries.

Here is a Qt C++ example:

    QString str = "/a/b/c/";
    auto parts = str.split('/');
Re:Swift 5.3 Will Be Supported on Windows and Additional Lin... by pjmlp on Sunday May 17, 2020 @02:57AM (#23210162)
Depends, if you are coding C in C++, or making use of idiomatic C++17 (eventually C++20).
Re:Swift 5.3 Will Be Supported on Windows and Additional Lin... by Barrin92 on Saturday May 16, 2020 @12:49AM (#23200576)
except for the documentation the python (pyside2) bindings seem pretty complete.