mixnuts   5년 전

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를 추가해주시면 감사하겠습니다.

startlink   5년 전

gccgo는 2018년 8월부터 추가는 되어 있으나, 시간/메모리 측정이 정확하지 않아 비활성화 상태입니다.

언제 활성화 될지는 알 수 없습니다.

댓글을 작성하려면 로그인해야 합니다.