Go (Golang) officially supports a new platform: what has changed?
The Go (Golang) language development team continues to actively expand the ecosystem. In the latest release Go 1.23, long-awaited news arrived: the language now officially supports a new hardware platform. We are talking about the LoongArch architecture (64-bit version), developed by the Chinese company Loongson. This is a significant step for the community, as LoongArch becomes the third fully supported RISC architecture in Go after AMD64 and ARM64.
Why is this important for developers?
Adding support for LoongArch opens up new opportunities for developers working with embedded systems, server solutions, and high-performance computing. Here are the key advantages:
- Hardware independence. Developers can now compile Go code for devices based on LoongArch without using third-party tools or emulators.
- Performance improvement. Native support allows the Go compiler to generate optimized machine code, increasing program execution speed by up to 15-20% compared to emulation.
- Market expansion. LoongArch is actively being adopted in government and educational institutions in China, as well as in Internet of Things (IoT) projects.
- Ease of cross-compilation. Now it is enough to specify
GOOS=linux GOARCH=loong64to build a binary file for this platform.
Technical details and limitations
Support for LoongArch is implemented at the Tier 2 level — this means that all basic language features (goroutines, garbage collection, standard library) work stably, but there may be minor delays in updates for specific packages. In the current version of Go 1.23, only the 64-bit version of the architecture (loong64) is supported; 32-bit variants are not yet planned. It is also worth noting that working with graphics libraries and some drivers may require additional configuration.
How will this affect the community?
The Go team's decision to add support for LoongArch is not just a technical update, but a strategic step. It demonstrates the language's desire to remain a cross-platform leader in the era of hardware diversification. For Russian-speaking developers, this is especially relevant in light of the growing interest in Russian and Chinese processor architectures. You can already find open-source projects in Go that are being tested on LoongArch, including web servers, databases, and DevOps tools.
To get started with the new platform, simply download the latest version of Go from the official website and run the command:
GOARCH=loong64 go build main.go
Stay tuned for updates on pythonlib.ru — we will publish detailed guides on compiling and debugging applications for LoongArch, as well as performance reviews.
Subscribe to our news to be the first to know about important changes in the world of Go and other programming languages!