# minio/c2goasm

C to Go Assembly

Repository: https://github.com/minio/c2goasm
Canonical: https://ross.abutalabs.com/products/c2goasm
Language: Go
License: Apache-2.0
License Family: permissive
Topics: gcc, llvm, clang, golang, go, plan9, asm, runtime
Archived: true
Last push: 2021-11-27T14:34:32+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3449, "days_push": 1740, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1348, forks 115 (observed 2026-08-28T04:04:27.725614+00:00)

## What it is
c2goasm is a command-line tool that converts assembly generated by C/C++ compilers (such as GCC or Clang) into Go (Plan 9 style) assembly. It is designed to be used together with asm2plan9s to create pure Go wrappers around C/C++ functions, e.g. those using SIMD intrinsics.

## Use cases
- convert C compiler-generated assembly into Go assembly
- wrap C/C++ SIMD intrinsic functions for use in Go
- generate Go assembly wrappers for performance-critical C functions
- port individual C functions to Go assembly on a case-by-case basis
- combine with asm2plan9s to auto-generate pure Go assembly code

## When to choose
- you need to call compiler-optimized C/C++ (e.g. AVX2 SIMD) code from Go without cgo
- you want to generate Plan 9 Go assembly automatically from compiler output

## When to avoid
- you want to port an entire C/C++ project in one step
- you need a general-purpose C to Go source translator
- you are not comfortable writing accompanying Go wrapper code manually

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: compiler, developer-tools, cli
- domain: developer-tools, compilers, performance
- platform: cli, cross-platform, go
- tags: go-assembly, plan9-asm, simd, c-to-go, code-generation, asm2plan9s

## Member repositories
- minio/c2goasm (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:27.725614+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:42:25.952451+00:00, confidence not recorded.
  - readme: https://github.com/minio/c2goasm (fetched 2026-08-28T04:04:27.725614+00:00, sha f392f39eac82)
- Data as of 2026-08-30T08:39:29.467469+00:00.
