Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sacado2
on May 27, 2015
|
parent
|
context
|
favorite
| on:
Go in Go
Does that mean cgo is away too ?
sacado2
on May 27, 2015
[–]
I don't know why I've been downvoted. Maybe my question wasn't clear. Since there is no need anymore for a C compiler in the Go toolset, how will the magic import "C" package work ?
rsc
on May 27, 2015
|
parent
|
next
[–]
If you want to use cgo you still need a C compiler for that. But it's the system C compiler (clang or gcc), not the one we deleted.
sacado2
on May 27, 2015
|
root
|
parent
|
next
[–]
OK, thanks for the information.
mseepgood
on May 27, 2015
|
parent
|
prev
[–]
Cgo is written in Go as well:
https://github.com/golang/go/tree/master/src/cmd/cgo
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: