go1.18

Posted by 夏泽民

https://tip.golang.org/doc/go1.18



go1.17

Posted by 夏泽民

在以往的 Go 版本中,Go 的调用约定简单且几乎跨平台通用,其原因在于选用了基于 Plan9 ABI 的堆栈调用约定,也就是函数的参数和返回值都是通过堆栈上来进行传递。



go-spew

Posted by 夏泽民

github.com/davecgh/go-spew/spew



范型

Posted by 夏泽民

Go 1.17中你就可以使用泛型了 编译的时候需要加-gcflags=-G=3参数,而当前master分支,默认已经支持泛型,不需要加-G=3参数了。



fuzzing

Posted by 夏泽民

安全也是Go语言设计者们在语言设计伊始就为Go设定的一个重要目标。在语言层面,Go提供了很多“安全保障”特性,比如:



Search

Popular posts

Anything in here will be replaced on browsers that support the canvas element

Recent posts

This blog is maintained by 夏泽民

Get in touch with me at [email protected]

Subscribe to our mailing list

* indicates required