purego
gio
Our great sponsors
purego | gio | |
---|---|---|
21 | 62 | |
1,808 | 1,379 | |
4.2% | 4.4% | |
7.9 | 9.2 | |
1 day ago | 21 days ago | |
Go | Go | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
purego
- Show HN: Sqinn-Go is a Golang library for accessing SQLite databases in pure Go
-
SIMD in Go
Maybe interesting for you: https://github.com/ebitengine/purego
-
Ideas for GUI libraries?
most X11 functionality can be accessed via xgb|xgbutil (jezek has a current fork). nucular makes use of it via shiny. OpenGL and such libraries can be assumed to exist on those systems, so directly calling those c libraries without cgo is a possibility. Ebiten is currently working on it: purego.
- Go 1.21 will (likely) have a static toolchain on Linux
-
The Simplicity of Single-File Golang Deployments
In the malware reverse engineering scene, there are a lot of forks of the upstream "debug" go library, because it allows loading, parsing, compiling and executing libraries from disk (rather than in-kernel or in-userspace).
And there's also "purego" as an implementation that directly generates shellcode.
Maybe those will help you, too?
I am just mentioning these because for my use cases those approaches worked perfectly, CGO free.
-
Precompiled CGo Code
You could use https://github.com/ebitengine/purego which would not require a C compiler to build
- 뉴스 스크랩 2023-02-14
-
GitHub - ebitengine/purego
What is this doing? I don't understand the comment at the top, but the resulting file gives me the fear.
-
Purego – A library for calling C functions from Go without Cgo
I thought I had a piece of dust on my screen, but as I scrolled the dust scrolled: what do these 0xB7 characters do in the identifiers? Are they just "name mangling" to keep them from being exported or something?
https://github.com/ebitengine/purego/blob/v0.2.0-alpha/sys_d...
I noticed another 0xB7 character in a comment, and sure enough it seems to be part of the identifiers: https://github.com/ebitengine/purego/search?q=runtime%C2%B7c...
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
What are some alternatives?
fyne - Cross platform GUI toolkit in Go inspired by Material Design
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.
Wails - Create beautiful applications using Go
fyne-x - Community extensions to the cross platform GUI in Go based on Material Design
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)
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
webview - Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows).
shadcn/ui - Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
qt - Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly
gotk3 - Go bindings for GTK3