I need to pass Go string to C code, but I don't want to copy the string by using the func C.CString(string) *C.char
My C code doesn't change the string, so I wanted to avoid useless copying for my read-only code and save some CPU cycles.
P.S.: It seems my idea is dangerous: https://groups.google.com/d/msg/golang-nuts/iWGS09kWKbQ/Wx8cB7WyOSQJ