News for hackers. Stuff that matters.
Re:C and Go without CGO by markuskobler on Wednesday July 30, 2014 @03:33AM (#8106823)
So Russ Cox goes into more detail in this post https://groups.google.com/d/msg/golang-nuts/MdYlJbW4SAo/TrAE...

  Although Go does not compile via C, occasionally C code does need to 
  refer to Go identifiers. Since we chose not to restrict the mangled Go 
  names to the space of valid C names, we must add some mechanism to 
  refer to Go names from C. That mechanism is: 

  1. In the assemblers and C compilers, which already accepted all 
  non-ASCII Unicode code points in identifiers, the Unicode characters ยท 
  and / rewrite to ordinary . and / in the object files. 

  2. A symbol with a leading . has its import path inserted before the . 
  when being linked: inside encoding/json.a, a reference to ".Marshal" 
  is equivalent to "encoding/json.Marshal". 

  Because of 2, we went a long time without needing a special character 
  for slash. Recently the introduction of race detection has made it 
  convenient for package runtime to be able to refer to a few symbols in 
  runtime/race, hence the new slash lookalike."
Re:C and Go without CGO by akavel on Wednesday July 30, 2014 @03:57AM (#8106882)
For some supplementary information, see also this answer on stackoverflow: http://stackoverflow.com/a/13490787/98528
Re:C and Go without CGO by frou_dh on Wednesday July 30, 2014 @07:23AM (#8107455)
When did statements like this sprout a So on the front? It's everywhere now!