gio
gotk3
Our great sponsors
gio | gotk3 | |
---|---|---|
62 | 23 | |
1,379 | 2,011 | |
4.4% | 1.3% | |
9.2 | 5.4 | |
20 days ago | 8 days ago | |
Go | Go | |
GNU General Public License v3.0 or later | ISC License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gio
- Why the M2 is more advanced that it seemed
-
Bare Metal Rust in Android
> At least with a language like Go, it somewhat makes sense, and has been attempted: https://gioui.org/
Gio UI is an immediate-mode UI, and immediate-mode UIs map very nicely to Rust. egui is quite easy to use. https://www.egui.rs/
I didn't bash Java/Kotlin. In fact, I have written few android apps in Kotlin, Java and I also have fiddled with Jetpack compose, JNI and NDK (I have also played with mpv's Opengl/Vulkan's rendering on Android if that matters to you). I don't want to share the projects of mine because i don't want to reveal my identity.
I know that tailscale's android application is written in it but i don't think gioui is great for android apps.
> Tell me you've never done any Android development, without telling me...All this Java/Kotlin bashing is getting really old, especially for a forum like this one.
Ok, this one hurts. Why are you attacking me instead of defending your stance. All are allowed to have opinions and I am allowed to have one(It's sad to explain this to someone on forum like this one). I dream of Linux-desktop kinda situation where you can program in any language you want, where you are not hindered by any platform/framework, where you have complete freedom and where you don't want to be bothered/(vendor locked-in) by Bigcorps(looking at you Google services framework).
> write GUIs in a non-GC language like Rust which _has_ to run on what's essentially a Java VM (ART).
Haha, non-GC languages power the GUIs on Android fyi. Jetpack compose is powered by Skia. Chromium is powered by Skia. Skia is C++.
Please do your own research before commenting low-effort replies.
Tell me you've never done any Android development, without telling me...
This is such a low-effort "take" without any effort to justify _why_ you'd want something like this. There's a high amount of impedance mismatch trying to write GUIs in a non-GC language like Rust which _has_ to run on what's essentially a Java VM (ART).
At least with a language like Go, it somewhat makes sense, and has been attempted: https://gioui.org/
All this Java/Kotlin bashing is getting really old, especially for a forum like this one.
-
net/http extension to exchange structs
I've been writing a WASM app using gio & I found myself wanting for a simplified web library. In addition I drew some inspiration from leptos server functions. A friend of mine mentioned it has some similarities with next.js
-
htmx/Go experiences?
I am building the same but with golang and https://gioui.org/
- Ideas for GUI libraries?
-
Gonum & Gonum/Plot v0.13.0
This release of Gonum/plot is in sync with Gonum-v0.13.0 and updates the vg/vggio backend to the latest Gio API.
-
Are there any popular computer applications written in Golang?
Historically, C++. Today, (unfortunately) a lot of (non-game) desktop apps are written in HTML/CSS/JS using Electron. There are projects like Fyne and GIO that aim to make Go a viable language for building large-scale performant desktop apps. My open-source hobby project Supersonic is a music player app built using Fyne.
-
Is Go appropriate to develop Linux Desktop app ?
gioui.org
gotk3
-
[Golang] Recommandation de bibliothèque d'interface utilisateur légère
Gotk3 1.3k
-
Is Go appropriate to develop Linux Desktop app ?
gotk3 does the job, and is well documented.
I created a couple native Windows apps using Windigo, so it's clearly possible to do the same in Linux, probably with gotk3.
-
Golang GUI
Go gtk3 bindings are very nice https://github.com/gotk3/gotk3
-
Go taking too much time building with imports
I wanted to try the GTK bindings for Go, so I did all the steps for importing an external module: go mod init "test/gtk" go mod tidy go get "https://github.com/gotk3/gotk3"
-
I want to create a simple menu based game. What framework would you recommend?
So it should be simple as buttons+images+some sounds. The purpose to create this game is fun, but mostly to learn golang better. There are a lot of options now. I suppose it should be https://github.com/gotk3/gotk3 But, well, maybe you know better framework to use?
-
React and Go for desktop app
gotk3 is a good one
-
golang GUI packages
gotk3 https://github.com/gotk3/gotk3
-
Twenty Years of C# with Anders Hejlsberg [audio]
There are definitely libraries, such as bindings to GTK: https://github.com/gotk3/gotk3 or Win32: https://github.com/rodrigocfd/windigo
The point remains that it is possible to do these things without async/await, but Go isn’t frequently used to develop native UIs, most likely because the kind of visual UI builder tools used in Visual Studio or Android Studio have never had an equivalent funded for use with Go, due to lack of commercial support for that use case. Beyond that, web gui frameworks are immensely popular these days, further removing motivation to really “make gui happen” in Go, but there are niche use cases out there, as evidenced by the existence of libraries.
-
Go GTK on Windows
I'm trying to use gotk3 (https://github.com/gotk3/gotk3). The first issue I got was with pkg-config not being in the PATH environment variable. Cool, I fixed that. Now, I get errors about gio, glib, and gobject not being found in the pkg-config search path.
What are some alternatives?
fyne - Cross platform GUI toolkit in Go inspired by Material Design
go-gtk - Go binding for GTK
imgui-go - Go wrapper library for "Dear ImGui" (https://github.com/ocornut/imgui)
go-flutter - Flutter on Windows, MacOS and Linux - based on Flutter Embedding, Go and GLFW.
webview - Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows).
Wails - Create beautiful applications using Go
fyne-x - Community extensions to the cross platform GUI in Go based on Material Design
gotk4 - Autogenerated GTK4 bindings for Go
giu - Cross platform rapid GUI framework for golang based on Dear ImGui.
go-astilectron - Build cross platform GUI apps with GO and HTML/JS/CSS (powered by Electron)
qt - Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly