Earlier quoted context omitted.
There are quite a few. Qt, React Native, Xamarin, and Flutter come to mind.
Those are not native (on desktop) in any sense of the word. They don't use native controls. For that, you want WX or SWT, but those come with their own sets of problems. On Windows, it's not even obvious what native is any more, even Microsoft just uses Web views. Mac is a bit better, but there are still 4 UI libraries to choose from (AppKit, UIKit through Catalyst, native SwiftUI and Catalyst SwiftUI). I'm personall…
Build desktop applications using Go and Web Technologies
21–30 of 82 posts
Re: Build desktop applications using Go and Web Technologies
#22Earlier quoted context omitted.
There are quite a few. Qt, React Native, Xamarin, and Flutter come to mind.
I wouldn't exactly call Flutter native. It uses its own rendering engine and doesn't necessarily behave like operating system native controls. It is not really different from using electron.
Re: Build desktop applications using Go and Web Technologies
#23The lengths we will go to avoid writing a proper desktop application.
Re: Build desktop applications using Go and Web Technologies
#24Earlier quoted context omitted.
Those are not native (on desktop) in any sense of the word. They don't use native controls. For that, you want WX or SWT, but those come with their own sets of problems. On Windows, it's not even obvious what native is any more, even Microsoft just uses Web views. Mac is a bit better, but there are still 4 UI libraries to choose from (AppKit, UIKit through Catalyst, native SwiftUI and Catalyst SwiftUI). I'm personall…
Qt Quick Controls, React Native, and Xamarin.Forms all generate honest-to-god native controls. E.g. Cocoa, Win32 or Windows Presentation Forms, etc.
For Windows, "native" would be the classic Win32 UI "common control" elements from "Comctl32.dll"[0] that is directly used by older GUI frameworks such as Windows Forms. Those map to classic Win32 API CreateWindow(L"BUTTON", ...). In contrast, the newer frameworks of WPF and Xamarin Forms and Qt Quick "paints controls on a canvas" which are not "native" and makes every app UI look different instead of standardized "look & feel" of common controls.
But others include custom-canvas painting UI objects as "native" -- as long as it's not Electron.
[0] https://learn.microsoft.com/en-us/windows/win32/controls/com...
Re: Build desktop applications using Go and Web Technologies
#25The lengths we will go to avoid writing a proper desktop application.
Re: Build desktop applications using Go and Web Technologies
#26Re: Build desktop applications using Go and Web Technologies
#27Earlier quoted context omitted.
There are quite a few. Qt, React Native, Xamarin, and Flutter come to mind.
I wouldn't exactly call Flutter native. It uses its own rendering engine and doesn't necessarily behave like operating system native controls. It is not really different from using electron.
Re: Build desktop applications using Go and Web Technologies
#28Why is that hidden behind a click and two walls of text?
Re: Build desktop applications using Go and Web Technologies
#29Earlier quoted context omitted.
There are quite a few. Qt, React Native, Xamarin, and Flutter come to mind.
Those are not native (on desktop) in any sense of the word. They don't use native controls. For that, you want WX or SWT, but those come with their own sets of problems. On Windows, it's not even obvious what native is any more, even Microsoft just uses Web views. Mac is a bit better, but there are still 4 UI libraries to choose from (AppKit, UIKit through Catalyst, native SwiftUI and Catalyst SwiftUI). I'm personall…