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

I haven't found any more info about this feature. Anyone have better search skills than me?


As far as I understand, it's only about including more information in the compilers json output. But that information was already available in non-json output in previos Go versions.

To get explanations on the optimization decisions by the compiler build your package with:

    go build -gcflags="-m -m"
See also:

    go tool compile -h
    go doc cmd/compile


Thanks.




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: