Skip to content

Alternative: Zero-CGO WebGPU bindingsΒ #14

@kolkov

Description

@kolkov

Hi! πŸ‘‹

First of all, thank you for creating and maintaining this project. It's great to see multiple WebGPU implementations for Go!

I wanted to share an alternative approach we've been working on: go-webgpu/webgpu β€” Zero-CGO WebGPU bindings using pure Go FFI (via goffi).

Key differences:

  • No CGO required β€” easier cross-compilation
  • Pure Go FFI via syscall/purego
  • 5 platforms: Windows/Linux/macOS (x64 + ARM64)

For users who need CGO-free builds or simpler cross-compilation, this might be a useful alternative.

Your project has great features we don't have (Web/iOS/Android support, Cogent Core integration), so both projects serve different use cases.

Just wanted to share in case it's helpful for users looking for different trade-offs!

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions