purego
hlive
Our great sponsors
purego | hlive | |
---|---|---|
21 | 7 | |
1,842 | 97 | |
3.9% | - | |
8.0 | 0.0 | |
9 days ago | 5 months ago | |
Go | Go | |
Apache License 2.0 | MIT 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.
purego
- Show HN: Sqinn-Go is a Golang library for accessing SQLite databases in pure Go
-
Netgate upstreams FreeBSD support to the purego project
Click here to view the commit: https://github.com/ebitengine/purego/commit/1a4ea678b5a7598275a28e787179da1b7a058b11
Click here to view the commit: https://github.com/ebitengine/purego/commit/1a4ea678b5a7598275a28e787179da1b7a058b11
-
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.
[1] https://github.com/Binject/debug
[2] https://github.com/ebitengine/purego
-
Which platform/os do you prefer to use while using Go for developing your services, apps, CLIs, etc ?
https://github.com/ebitengine/purego Instead of Go using C toolchain, purego bypass it for already (should I say compiled or object-compiled)
-
Precompiled CGo Code
You could use https://github.com/ebitengine/purego which would not require a C compiler to build
- 뉴스 스크랩 2023-02-14
hlive
- Any open source projects need help ?
-
What makes Go unsuitable for UI development?
I do a lot of wired stuff with server-side virtual DOM, and I've found Go a good fit. I don't think inheritance is a problem with designing a component library. I've used struct and interface embedding to share common functionality. (see Tag and Tagger, then Component and Componenter as sort of examples).
-
My experiment in creating a good-performing alternative to ReactJS in Go
Poking through the repo at https://github.com/SamHennessy/hlive now. It's particularly interesting to me because I wanted to write a virtual DOM for something that did serverside rendering and clientside via WASM. I wanted to be able to parse a template language much like jsx or Angular templates for a delcarative syntax. A friend of mine I worked with years ago and I set up a 3 day hackathon. We went through some design work, decided we didn't have time in our lives to take on a project like this, and settled on using Go's html templating. I tried to reuse a lot of the concepts using a two pass method (since you can't hook into the parsing but can always register DOM listeners) thinking I could accept a little inefficiency in exchange for a lot less work. Finally, the weekend was over. We had some interesting ideas collected with some innovative new thoughts on state management, but he dove into his next project using Vue instead, and I haven't had time to continue.
-
Side projects
I'd appreciate it if you tried to build something using this: https://github.com/SamHennessy/hlive
- HLive Update: Added Testing, Plugins, PubSub, and more. See comments for details
- What frontend libraries do exist in Go?
- Looking for early feedback on my new Phoenix LiveView inspired project.
What are some alternatives?
barcode-server - A simple daemon to expose USB Barcode Scanner data to other services using Websockets, Webhooks or MQTT.
playwright-go - Playwright for Go a browser automation library to control Chromium, Firefox and WebKit with a single API.
go-plugin - Golang plugin system over RPC.
live - Live views and components for golang
nocgo - dlopen in go without cgo
go-app - A package to build progressive web apps with Go programming language and WebAssembly.
gamen - Cross-platform GUI window creation & management library in Go
Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
iup-go - Cross-platform UI library with native controls
pulp - Dynamic, server-side web-applications.
mach - zig game engine & graphics toolkit
golive - ⚡ Live views for GoLang with reactive HTML over WebSockets 🔌