Hacker News new | past | comments | ask | show | jobs | submit login

What Go does not allow, is putting Go code into dynamic library and then calling that from another go application - i.e. native go plugins for go apps.

Since Go allows you to call C libraries, and allows you to write C libraries, couldn't you write a Go program that loaded a Go library but just talked over a C-style API?




> Since Go allows you to call C libraries, and allows you to write C libraries, couldn't you write a Go program that loaded a Go library but just talked over a C-style API?

It would be like writing a Go interpreter in C. Pointless.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: