Re:Why are my Go executable files so large?
by userbinator on Sunday December 29, 2019 @04:24PM
(#21908601)
Let's not forget their attempt at inventing yet another Asm syntax for x86, when there is already the horrible GNU/AT&T as well as the official syntax of the CPU documentation.
[ Parent
| on HN ]
Re:Why are my Go executable files so large?
by kjksf on Sunday December 29, 2019 @04:40PM
(#21908704)
Go's assembler syntax is inherited from Plan 9 project, which started in late 1980 and first released in 1992.
For context, gcc was first released in 1987 i.e. about the same time that Plan 9 started.
Go authors didn't attempt to re-invent asm syntax. They re-used the work they did over 30 years ago.
And at the time Plan 9 happened it was hardly re-inventing anything either. It was still the time of invention.
References:
Re:Why are my Go executable files so large?
by userbinator on Sunday December 29, 2019 @05:02PM
(#21908862)
And at the time Plan 9 happened it was hardly re-inventing anything either.
Intel's Asm syntax was defined in 1978 with the release of the 8086, and the 32-bit superset in 1985 with the 386. CP/M, DOS, and later Windows assemblers all used the official syntax.
Plan9 assembler syntax didn't start out on x86, and is kept the same across all platforms as much as possible.