Page MenuHomeSolus

Build gcc with golang support (gccgo)
Closed, WontfixPublic

Description

There are two major compiler for golang code at the moment, there is gc (original compiler and part of golang itself) but there is also gccgo. The great things with the gccgo frontend is that it has support for all of the gcc features that we all know and love, such as support for optimizations flags. It takes more time to compile, but it gives more flexibility in size and performance for example. More information can be found here: https://golang.org/doc/install/gccgo

Jacalz created this task.Apr 26 2019, 7:35 PM
Jacalz edited projects, added Software; removed Lacks Project.Apr 26 2019, 7:36 PM

Sorry, but what is this needed for?

Jacalz added a comment.EditedApr 26 2019, 7:47 PM

Not any software in the repo, just though this would be beneficial for golang developers. I my self have started learning golang for example. Fell free to close if you see no usage for it.

DataDrake closed this task as Wontfix.Apr 26 2019, 8:02 PM

It has historically been slower than gc in almost every way: https://meltware.com/2019/01/16/gccgo-benchmarks-2019.html
It also doesn't support Go Routines which means no concurrency which is one of goes biggest strengths. And to make matters worse, it usually lags several months behind the features of the rest of the Go tooling. So things like Go modules aren't even supported yet. The only thing it does slightly better is cgo bindings, but that's at the expense of everything else being worse.

Closing because gc is a much better compiler at the moment.