GCCGO 8 (Go 1.10.1과 Compatible)부터는 기존의 GCCGO에 있던 문제점이 다 해결되었습니다.
GCC 8 provides a complete implementation of the Go 1.10.1 user packages.
The
garbage collector is now fully concurrent. As before, values stored on
the stack are scanned conservatively, but value stored in the heap are
scanned precisely.
Escape
analysis is fully implemented and enabled by default in the Go
frontend. This significantly reduces the number of heap allocations by
allocating values on the stack instead.
따라서 pypy 처럼 GCC Go로 성능의 향상을 볼 수 있습니다. 다음 번 컴파일러 업데이트를 하게 될 때 GCC Go를 추가해주시면 감사하겠습니다.
mixnuts 5년 전
GCCGO 8 (Go 1.10.1과 Compatible)부터는 기존의 GCCGO에 있던 문제점이 다 해결되었습니다.
따라서 pypy 처럼 GCC Go로 성능의 향상을 볼 수 있습니다. 다음 번 컴파일러 업데이트를 하게 될 때 GCC Go를 추가해주시면 감사하겠습니다.