Hacker News new | ask | show | jobs
by RamiK 4636 days ago
Ha? Doesn't it work through the 'import "C"' and then it's just regular C?
1 comments

I meant something like this, i.e. not going through C at all: http://golang.org/src/pkg/syscall/asm_freebsd_amd64.s
It looks like AT&T assembly without the %s. Not really that weird.
Oh. You mean the Plan 9 assembler... It's pretty good looking to me so I haven't really considered that an issue. I guess you're on the other side of the AT&T vs. Intel assembly fence... But just how much assembly are we writing this days anyhow? I say, just wrap it all up in Go (or C through cgo) and be done with it.