bud VS purego

Compare bud vs purego and see what are their differences.

SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
bud purego
34 27
5,598 2,797
0.0% 2.4%
4.3 7.4
over 1 year ago 13 days ago
JavaScript Go
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

bud

Posts with mentions or reviews of bud. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-06.

purego

Posts with mentions or reviews of purego. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-25.
  • Purego: A library for calling C functions from Go without Cgo
    1 project | news.ycombinator.com | 31 Mar 2025
  • Calling Rust from Cursed Go
    1 project | news.ycombinator.com | 27 Feb 2025
    Thank you author for your kind words about my Go SQLite driver.

    That said, purego solves a build infrastructure issue, not perfomance issue. You're still using the same underlying mechanisms to call into C, and the same performance is expected to be the same. I'm not the one saying this, here's it from the authors: https://github.com/ebitengine/purego/issues/202

    wazero uses a different mechanism, the one used to call Go assembly, but adds its own overhead (trampolines, adapting calling conventions, and the inherent Wasm sandbox overhead, e.g. the guest can't read the host's memory, there's bounds checks, etc).

    Also “Cgo is fast” and “Cgo is slow” is not the correct framing; rather it depends, for various reasons:

    - Cgo is a moving target (it mostly improves with time, but can regress)

    - it's different to just call C from Go, or then callback Go from C

    - there's not just call overhead to consider, but also scheduler overhead which is much harder to measure consistently

  • Unofficial Live2D Cubism SDK for Golang
    2 projects | dev.to | 25 Dec 2024
    Let's consider how to use it from Golang. We could use cgo, of course, but this time I employed a library called purego.
  • Tk9.0: CGo-free, cross platform GUI toolkit for Go
    3 projects | news.ycombinator.com | 28 Nov 2024
  • Go is my hammer, and everything is a nail
    24 projects | news.ycombinator.com | 12 Aug 2024
    https://ebitengine.org/en/documents/install.html

    For anything other than windows:

    > Installing a C compiler

    > A C compiler is required as Ebitengine uses not only Go but also C.

    I mean, even on platforms without cgo, it's it working magically?

    No; it's using https://github.com/ebitengine/purego, which is:

    > A library for calling C functions from Go without Cgo.

    Like... I mean.... okaaaay, it's not cgo, but it's basically cgo? ...but it's no cgo so you can say 'no cgo' on your banner page?

    Seems kind of like... this is maybe not the right hammer for gamedev.

  • How I build simple Mac apps using Go
    2 projects | dev.to | 15 Jul 2024
    The other big thing we're working towards is making DarwinKit not use CGO at all! Using purego, we can call into Apple frameworks without involving CGO. This will improve build time, make smaller binaries, and allow DarwinKit to be used in programs that need to avoid CGO for whatever reason.
  • Show HN: Sqinn-Go is a Golang library for accessing SQLite databases in pure Go
    14 projects | news.ycombinator.com | 4 Oct 2023
  • Netgate upstreams FreeBSD support to the purego project
    1 project | /r/Netgate | 27 Aug 2023
    Click here to view the commit: https://github.com/ebitengine/purego/commit/1a4ea678b5a7598275a28e787179da1b7a058b11
    1 project | /r/PFSENSE | 27 Aug 2023
    Click here to view the commit: https://github.com/ebitengine/purego/commit/1a4ea678b5a7598275a28e787179da1b7a058b11
  • SIMD in Go
    7 projects | /r/golang | 9 Jul 2023
    Maybe interesting for you: https://github.com/ebitengine/purego

What are some alternatives?

When comparing bud and purego you can also consider the following projects:

v8go - Execute JavaScript from Go

iup-go - Cross-platform UI library with native controls

tetra - Tetra - A full stack component framework for Django using Alpine.js

gamen - Cross-platform GUI window creation & management library in Go

quickjs - Public repository of the QuickJS Javascript Engine.

go - The Go programming language

SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?