go lang

go 1.5 발표

'김용환' 2015. 6. 3. 00:44



http://talks.golang.org/2015/gogo.slide#1



1.5 전 버전에는 go 내부 구조는 c로 개발되었으나, 1.5는 모두 언어의 내부 시스템을 go로 구현했다고 했다. 또한 다양한 기능이 추가되었다. 


Big changes

All made easier by owning the tools and/or moving to Go:

  • linker rearchitecture
  • new garbage collector
  • stack maps
  • contiguous stacks
  • write barriers

The last three are all but impossible in C:

  • C is not type safe; don't always know what's a pointer
  • aliasing of stack slots caused by optimization

(Gccgo will have segmented stacks and imprecise (stack) collection for a while yet.)