Hacker GitHub

← All repos

minio/c2goasm

View on GitHub ↗ ★ 1,350 Go archived

C to Go Assembly

7 mentions on Hacker News by 5 people: 1 story, 6 comments · first 2017-05-24 · latest 2026-07-22

Mentions per year 7 mentions · busiest year 2017 (1)
20082026
  1. …and at https://github.com/golang/go/issues/78902 so things have moved since I tried it last. [1] https://github.com/minio/c2goasm
    comment by kristianp · 2026-07-22 · in Everyone should know SIMD
  2. …that convert a C function with intrinsics to Go assembly, but they were buggy for my use case [1],[2]. [1] github.com/minio/c2goasm (no longer updated) [2] https://github.com/gorse-io/goat
    comment by kristianp · 2025-01-05 · in Don't Clobber the Frame Pointer
  3. That exist(ed)! c2goasm would compile C and then decompile it into Go asm. https://github.com/minio/c2goasm
  4. …but it might be possible to translate to Go assembly and then use the Go toolchain. Edit: https://github.com/minio/c2goasm seems to slightly go in that direction.
    comment by ck45 · 2022-09-26 · in Go runtime: 4 years later
  5. …so it also uses syscalls directly. Just look at https://github.com/minio/asm2plan9s / https://github.com/minio/c2goasm — carefully read the readme and understand what this hack does. If the existence of this hack does not make you…
    comment by floatboth · 2019-09-25 · in ZeroTier 2.0 Status
  6. …all instructions and even addressing modes (!) of amd64, so people have had to create hacks like https://github.com/minio/c2goasm to run asm functions without the overhead of cgo. Please actually read that project's README, but tl;dr it…
    comment by floatboth · 2018-10-09 · in Go 1.11 got me to stop ignoring Go