News for hackers. Stuff that matters.
Re:Gio UI – Cross-Platform GUI for Go by andsoitis on Saturday May 18, 2024 @09:56AM (#40399124)
> what's the best method to build cross-platform mobile & web apps nowadays ?

Uno (https://platform.uno):

* open-source

* targets Android, iOS, Windows, Mac, and Linux (https://platform.uno/platforms/)

* C#

* automatically implements views and controls using each platform's native UI frameworks

* good IDE support: Visual Studio, VS Code, Rider (though you are not limited to those)

* Figma plugin for design collaboration

Re:Gio UI – Cross-Platform GUI for Go by noveltyaccount on Saturday May 18, 2024 @11:55AM (#40399998)
Also in the .NET world, Maui Blazor Hybrid is interesting. Uses HTML and the platform-native web renderer for the front end, and compiles to native code (not WASM)--i.e. clicking a button on your HTML invokes native code. Depending on your front end library, the app will look and feel more or less like a native app or web app.

An older article but puts it in context with Electron and how they differ https://www.codemag.com/Article/2111092/Blazor-Hybrid-Web-Ap...

Re:Gio UI – Cross-Platform GUI for Go by mort96 on Saturday May 18, 2024 @09:59AM (#40399151)
I mean I guess that's fine if you're into .NET but how about those who prefer to avoid that
Re:Gio UI – Cross-Platform GUI for Go by balencpp on Sunday May 19, 2024 @03:47AM (#40405096)
Why would you avoid .NET?
Re:Gio UI – Cross-Platform GUI for Go by mort96 on Sunday May 19, 2024 @07:12AM (#40406070)
Not generally a huge fan of locking myself into Microsoft platforms
Re:Gio UI – Cross-Platform GUI for Go by balencpp on Sunday May 19, 2024 @02:36PM (#40408850)
If you mean windows, it has been so many years since .NET has been able to run on many different platforms; and by now, most of the ecosystem supports majority of platforms too..

You get an amazing runtime with near native performance, access to value types, no type erasure, access to low-level operations when utmost performance is needed, very good cross platform and architecture SIMD support, three different great IDEs with two of them being cross-platform, AoT compilation that keeps getting better, WASM target with a good framework (Blazor), and so on.

Modern .NET is truly amazing and highly undervalued IMO.

Re:Gio UI – Cross-Platform GUI for Go by noveltyaccount on Sunday May 19, 2024 @03:48PM (#40409306)
It's all open source, Native AOT, batteries-included stdlib. A very productive and well rounded platform.