Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


They aren't used by the compiler at all.


    //#cgo
    //go:nosplit
    //go:noescpae
are all used by the compiler in one way or another


nosplit and noescape are internal details which are implementation specific.


All of these are implementation specific. That's one reason they're in comments, and not listed in the language spec.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: