Go Programming
Summary
Add a Go compiler
Owner
- Name: Brandon Lozza
- Wiki page: [1]
- Email: brandon AT pwnage DOT ca
Current status
- Targeted release: Fedora 14
- Last updated: 2010-07-06
- Percentage of completion: 50% (Official Compiler Works)
Detailed Description
Go is a general-purpose language designed with systems programming in mind. It is strongly typed and garbage-collected and has explicit support for concurrent programming. Programs are constructed from packages, whose properties allow efficient management of dependencies. The existing implementations use a traditional compile/link model to generate executable binaries. (From: [2])
- There are currently two implementations:
- Official Go (GC) 6g(64-bit)/8g(32-bit) Compiler
- GNU GCC-GO
- Official Go (GC) 6g(64-bit)/8g(32-bit) Compiler
6g (64-bit) and 8g (32-bit) are compilers for the Go programming Language. Go is an open source project, released under a BSD-style license. [3]
- GNU GCC-GO
The gccgo compiler is a new frontend for gcc, the widely used GNU compiler. Although the frontend itself is under a BSD-style license, gccgo is normally used as part of gcc and is then covered by the GNU General Public License. [4]
Benefit to Fedora
Fedora will take some benefit to increase its community of developers with the inclusion of this feature. And an easy way for people who want to try this language.
Scope
Required steps are:
- Official Go Compiler (6g and 8g)
- Guideline for package Go application
How To Test
- Ensure that the 'Hello World' Application on Golang.org compiles and runs. Possibly use some of the examples listed in 'Effective Go'.
- Lots of software is available [5] (Libraries, Software, Bindings)
- Collect feedback from volunteers regarding their experience with Go programming
- Currently Google Go (8g) works on x86 and 6g works on x86_64.
- Conrad Meyer has Source RPMS for F12 go-0-0.YYYYMMDD.fc12.src.rpm [6]
- Brandon Lozza has Fedora 13 Source RPMS from latest snapshot (based on Conrad's Work) (June 21 2010) [7]
Contingency Plan
None necessary. We should get Google Go or GCC-Go packages into the distribution in order to help the Community. We should also monitor upstream development process for potentially discovered issues and proactively apply patches.
Documentation
- Effective Go: [8]
- Official Go Compiler Installation: [9]
- GNU GCC-GO Installation Instructions [10]
- Go Language FAQ: [11]
- Language Design FAQ: [12]
- Programming FAQ: [13]
Release Notes
Go programming is available in Fedora 14.