What is Go written in?

Year 2009 Paradigm imperative, concurrent Typing static Self-hosting yes
The Go compiler is written in C and Go (well-documented). Its runtime is implemented in Go and Assembly (well-documented). Go is self-hosting.

Relationship Graph

All directly connected languages. Click any node to navigate to its page.

Compiler Implementation

LanguageConfidenceNotesSource
C 98% Original Go compiler in C, rewritten in Go in 1.5 (2015) Source
Go 98% Go compiler rewritten in Go in version 1.5 Source

Runtime Implementation

LanguageConfidenceNotesSource
Go 95% Go runtime also written in Go since 1.5 Source
Assembly 95% Go runtime has assembly components Source

Influenced By

Languages Go Influenced

Frequently Asked Questions

What language is Go written in?
Go is primarily implemented in C and Go and Assembly. See the implementation section above for details and source references.
What languages influenced Go?
Go was influenced by Newsqueak, Limbo, Alef among others. See the influence section above for the full list.
Which languages did Go influence?
Go influenced V, Crystal among others.
Is Go self-hosting?
Yes, Go is self-hosting — its compiler can compile itself.

Evidence Sources

Related Languages

Explore Go in Graph →