Compiling Rust with GCC: an update
Compiling Rust with GCC: an update
Posted Sep 13, 2022 17:53 UTC (Tue) by rahulsundaram (subscriber, #21946)In reply to: Compiling Rust with GCC: an update by atnot
Parent article: Compiling Rust with GCC: an update
I have seen this claim made in several places but this isn't what happened atleast for Go. It wasn't based on any demand from anyone. Go team themselves decided to do it.
https://go.dev/blog/gccgo-in-gcc-471
"The Go language has always been defined by a spec, not an implementation. The Go team has written two different compilers that implement that spec: gc and gccgo. Having two different implementations helps ensure that the spec is complete and correct: when the compilers disagree, we fix the spec, and change one or both compilers accordingly. Gc is the original compiler, and the go tool uses it by default. Gccgo is a different implementation with a different focus, and in this post we’ll take a closer look at it."
