Skip to content

Instantly share code, notes, and snippets.

@jayschwa
Last active December 17, 2019 02:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jayschwa/5724207 to your computer and use it in GitHub Desktop.
Save jayschwa/5724207 to your computer and use it in GitHub Desktop.
Golang and assembly
func Foo(int) int // Defined in assembly
func foo(int) int { // Fallback version in Go
// ...
return 0
}
// func Foo(int) int
TEXT ·Foo(SB),7,$0
// ...
RET
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment