News for hackers. Stuff that matters.
Re:Go Lang: Comments Are Not Directives by xyproto on Monday May 11, 2015 @04:40AM (#9523372)
Fully agree. I love Go and use it for anything related to servers or the web, but doing anything with comments besides just letting them be comments, is just braindead.
Re:Go Lang: Comments Are Not Directives by andrewchambers on Monday May 11, 2015 @07:06AM (#9523789)
They aren't used by the compiler at all.
Re:Go Lang: Comments Are Not Directives by ominous_prime on Monday May 11, 2015 @08:33AM (#9524159)

    //#cgo
    //go:nosplit
    //go:noescpae
are all used by the compiler in one way or another
Re:Go Lang: Comments Are Not Directives by andrewchambers on Monday May 11, 2015 @03:38PM (#9527309)
nosplit and noescape are internal details which are implementation specific.
Re:Go Lang: Comments Are Not Directives by ominous_prime on Monday May 11, 2015 @09:04PM (#9528916)
All of these are implementation specific. That's one reason they're in comments, and not listed in the language spec.