No, the Go compiler doesn’t actually generate ASM. It generates machine code. 
So it doesn’t need the help of another compiler or assembler.

Andy

> On Dec 13, 2017, at 9:00 AM, Compiler <erfangnuli...@gmail.com> wrote:
> 
> i am undrestand compiler steps.
> only have problem in code generation step.
> so best way is this then compiler generate code is ASM.
> GOLANG also generate ASM.
> 
> yeah?
> 
> On Wednesday, December 13, 2017 at 8:27:41 PM UTC+3:30, Bruno Albuquerque 
> wrote:
> It directly generates a binary suitable for the target platform, yes. Again, 
> you do not need a C compiler to compile a Go program unless you are using CGO.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to golang-nuts+unsubscr...@googlegroups.com 
> <mailto:golang-nuts+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to