Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1268797 > unrolled thread

Bug#1119935: ITP: golang-github-ebitengine-purego -- Library for calling C functions from Go without Cgo

Started byMathias Gibbens <gibmat@debian.org>
First post2025-11-02 16:10 +0100
Last post2025-11-02 16:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1119935: ITP: golang-github-ebitengine-purego -- Library for calling C functions from Go without Cgo Mathias Gibbens <gibmat@debian.org> - 2025-11-02 16:10 +0100

#1268797 — Bug#1119935: ITP: golang-github-ebitengine-purego -- Library for calling C functions from Go without Cgo

FromMathias Gibbens <gibmat@debian.org>
Date2025-11-02 16:10 +0100
SubjectBug#1119935: ITP: golang-github-ebitengine-purego -- Library for calling C functions from Go without Cgo
Message-ID<LMHSp-9VGo-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Package: wnpp
Severity: wishlist
Owner: Mathias Gibbens <gibmat@debian.org>
X-Debbugs-CC: debian-devel@lists.debian.org, debian-go@lists.debian.org

* Package name    : golang-github-ebitengine-purego
  Version         : 0.9.0-1
  Upstream Author : The Ebitengine Authors
* URL             : https://github.com/ebitengine/purego
* License         : Apache-2.0
  Programming Lang: Go
  Description     : Library for calling C functions from Go without Cgo

 The purego project allows easy cross-compilation of Go binaries from
 any operating system.
 .
 Benefits:
 .
  * **Simple Cross-Compilation**: No C means you can build for other
    platforms easily without a C compiler.
  * **Faster Compilation**: Efficiently cache your entirely Go builds.
  * **Smaller Binaries**: Using Cgo generates a C wrapper function for
    each C function called. Purego doesn't!
  * **Dynamic Linking**: Load symbols at runtime and use it as a plugin
    system.
  * **Foreign Function Interface**: Call into other languages that are
    compiled into shared objects.
  * **Cgo Fallback**: Works even with CGO_ENABLED=1 so incremental
    porting is possible. This also means unsupported GOARCHs
    (freebsd/riscv64, linux/mips, etc.) will still work except for
    float rguments and return values.

  This library is required to build the macos version of the incus-
agent binary, and will be team-maintained within the Go Packaging Team.

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web