Google has announced the release of the programming language Go 1.24 after six months of development. Developed in collaboration with the community, Go 1.24 combines the high performance of compiled languages with the ease of writing code and error protection typically found in script languages. The project code is distributed under the BSD license.
The syntax of Go is based on elements of the C language with some influences from other languages. The code is concise, easily readable, and compiled into separate binary executable files without the need for a virtual machine. Performance is enhanced with integrated runtime components for profiling, debugging, and problem identification.
Go was originally designed for multi-threaded programming and efficient operation on multi-core systems. It offers tools for organizing parallel computations and interaction between parallel methods, as well as built-in protection against boundary errors and support for garbage collection.
In the latest release of Go 1.24, several changes have been made:
- Full support for generalized type aliases, allowing for parametricized types.
- Runtime optimizations leading to a 2-3% reduction in processor load, including a new implementation of the “MAP” operation and improved memory utilization for small objects.
- Addition of tracking mechanisms for Go modules in the command line tools.
- Inclusion of the -json option in the “Go Build” and “Go Install” commands for output in JSON format.
- Introduction of the Goauth environment for setting authentication parameters for restricted module access.