llgo

LLGo is a Go compiler built on LLVM to bridge Go with the C ecosystem, including Python and JavaScript. It helps run Go code where C-compatible interfaces and native tooling matter.

Share on XLicense: Apache-2.0

Overview

LLGo is a Go compiler based on LLVM that connects Go with the C ecosystem, including Python and JavaScript. It targets projects that need Go source compatibility while working with C-compatible interfaces, native tooling, and WebAssembly or embedded targets. The project is used to build and run Go code in environments that rely on C interoperability for development, testing, and deployment across supported platforms.

Key features

  • Go source compatibility for Go 1.20+ and Go 1.27 syntax
  • C ecosystem interoperability through the C ABI and cgo
  • WebAssembly builds for js/wasm and wasip1/wasm
  • Embedded target support with target configurations and runtime options

Best for

This is useful for developers who need Go code to interoperate with C-based libraries, Python, JavaScript, or embedded systems. Pick it when a project depends on C ABI compatibility or target environments such as WebAssembly or board-level embedded builds.

Upstream
xgo-dev/llgo
Fork on GitHub
Guo-astro/llgo
Upstream stars
819
Category
Developer tools and infrastructure
License
Apache-2.0
Forked
2026-10-04
Sync status
Updated by last syncLast synced 2026-10-06