go 1.19 adds native support for loongarch-爱游戏官网平台

search...
isa: loongarch
support
about loongson
邮箱登录
点击图片刷新
忘记密码
点击图片刷新
08-08 2022

go 1.19 adds native support for loongarch

on august 2, 2022, the golang community released go 1.19 and announced support for the loongarch instruction set architecture (isa) in the release news, making loongarch one of the architectures supported by the community alongside x86 and arm.

official announcement of the community

go, or golang, is a statically typed, compiled, and concurrent programming language that has a function of garbage collection. it was created in 2009 and now is dubbed the "c language of the 21st century". it has many advantages such as easy deployment, high concurrency, elegant language design, and good performance. currently, the go language enjoys high popularity among communities both inside and outside of china, with many famous open-source projects like kubernetes, etcd, docker, and prometheus being developed in go.

native support from the golang community implies that the loongarch64 architecture will develop in sync with the community. the support facilitates the migration of various cloud-native projects, microservice architectures, and devops platforms to loongarch. this marks a solid step forward in constructing the loongarch ecosystem and highlights china's contribution to the innovative development of international open-source software.

in may 2021, loongson technology submitted a loongarch support plan to the golang community. in august 2021, loongson submitted the complete source code of loongarch to the community. since then, the company has maintained close communication with the community and conducted detailed reviews, in-depth discussions, and multiple rounds of revisions and iterations on the source code of loongarch64 with their developers. in may 2022, the code passed the community's technical review and entered the main development branch. as a result, loongarch has become a new isa natively supported by the golang community.

in addition to the golang compiler, significant subprojects such as net, sys, and tool within the golang community have also added support for loongarch (see the figure below), laying the foundation for a smooth migration of go-developed projects from other architectures to loongarch.

net and sys have already incorporated support for loongarch.

going forward, loongson's development team will maintain close communication with the golang community and broader developer groups to enhance the support for loongarch. loongson welcomes all developers to jointly build the loongarch ecosystem and create a more vibrant and open-source world.

网站地图