Last active
December 17, 2019 02:40
-
-
Save jayschwa/5724207 to your computer and use it in GitHub Desktop.
Golang and assembly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func Foo(int) int // Defined in assembly | |
func foo(int) int { // Fallback version in Go | |
// ... | |
return 0 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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