From afe50c11965ecc1e0500935a5e3fc737c9875c21 Mon Sep 17 00:00:00 2001
From: Alberto Donizetti
Date: Sat, 19 Oct 2019 12:31:59 +0200
Subject: [PATCH] doc: update ports list description to reflect current status
This change updates the GOARCH/GOOS discussion at the top of the
"Installing Go from source" document to better reflect the current
status. In particular:
- The GOARCH list now focuses on simply listing the supported
architectures, with no notes about their supposed "maturity", since
the same GOARCH can be mature on a GOOS and not so mature on another.
- Outdated notes about some archs being new and "not well-exercised"
have been removed in favour of a following list of which ports are
first class.
- The list of supported OS has been updated (added: AIX, Illumos),
and sorted in alphabetical order.
- A note about the runtime support being the same for all ARCHS,
"including garbage collection and efficient array slicing and" etc etc
has been removed, since it doesn't seem particularly relevant in a
"install from source" instruction page, and it's likely a leftover
from the time this doc page was the landing place for new people and
it felt the need to "sell" Go.
Updates #27689
Fixes #35009
Change-Id: Ic4eca91dca3135adc7bed4fe00b4f157768f0e81
Reviewed-on: https://go-review.googlesource.com/c/go/+/202197
Reviewed-by: Brad Fitzpatrick
---
doc/install-source.html | 68 ++++++++++++++++-------------------------
1 file changed, 26 insertions(+), 42 deletions(-)
diff --git a/doc/install-source.html b/doc/install-source.html
index 12b10d5621..918f1a99ae 100644
--- a/doc/install-source.html
+++ b/doc/install-source.html
@@ -33,80 +33,64 @@ compiler using the GCC back end, see
-The Go compilers support nine instruction sets.
-There are important differences in the quality of the compilers for the different
-architectures.
-
+The Go compilers support twelve instruction sets:
-
-
amd64
(also known as x86-64
)
-
--
- A mature implementation.
-
--
-
386
(x86
or x86-32
)
-
--
- Comparable to the
amd64
port.
-
--
-
arm
(ARM
)
+ amd64
, 386
-
- Supports Linux, FreeBSD, NetBSD, OpenBSD and Darwin binaries. Less widely used than the other ports.
+ The
x86
instruction set, 64- and 32-bit.
-
-
arm64
(AArch64
)
+ arm64
, arm
-
- Supports Linux and Darwin binaries. New in 1.5 and not as well exercised as other ports.
+ The
ARM
instruction set, 64-bit (AArch64
) and 32-bit.
-
-
ppc64, ppc64le
(64-bit PowerPC big- and little-endian)
+ ppc64
, ppc64le
-
- Supports Linux binaries. New in 1.5 and not as well exercised as other ports.
+ The 64-bit PowerPC instruction set, big- and little-endian.
-
-
mips, mipsle
(32-bit MIPS big- and little-endian)
+ s390x
-
- Supports Linux binaries. New in 1.8 and not as well exercised as other ports.
+ The IBM z/Architecture.
-
-
mips64, mips64le
(64-bit MIPS big- and little-endian)
+ mips64
, mips64le
, mips
, mipsle
-
- Supports Linux binaries. New in 1.6 and not as well exercised as other ports.
+ The
MIPS
instruction set, big- and little-endian, 64- and 32-bit.
-
-
s390x
(IBM System z)
+ wasm
-
- Supports Linux binaries. New in 1.7 and not as well exercised as other ports.
-
--
-
wasm
(WebAssembly)
-
--
- Targets the WebAssembly platform. New in 1.11 and not as well exercised as other ports.
+ WebAssembly.
+
-Except for things like low-level operating system interface code, the run-time
-support is the same in all ports and includes a mark-and-sweep garbage
-collector, efficient array and string slicing, and support for efficient
-goroutines, such as stacks that grow and shrink on demand.
+The compilers can target the AIX, Android, DragonFly BSD, FreeBSD,
+Illumos, Linux, macOS/iOS (Darwin), NetBSD, OpenBSD, Plan 9, Solaris,
+and Windows operating systems (although not all operating systems
+support all architectures).
-The compilers can target the DragonFly BSD, FreeBSD, Linux, NetBSD, OpenBSD,
-macOS (Darwin), Plan 9, Solaris and Windows operating systems.
-The full set of supported combinations is listed in the discussion of
-environment variables below.
+A list of ports which are considered "first class" is available at the
+first class ports
+wiki page.
+
+
+
+The full set of supported combinations is listed in the
+discussion of environment variables below.
--
2.51.0