Go 1.18 Arrives with 20% Improved Performance

Go 1.18 is now generally available as a production release, with the much-anticipated generics features.

Go is an open-source programming language aimed at being simple, reliable, and efficient. It was originally designed at Google in 2007. What made Go popular is the fact that it is a general-purpose language directed at creating backends.

Go 1.18 arrives seven months after Go 1.17. It’s a big update, with improvements to the language, toolchain implementation, runtime, and libraries.

Go 1.18, which is available for download from go.dev as of March 15, adds support for generic code utilizing parameterized types. Generics have been dubbed the most significant enhancement to the Go programming language since its 2012 introduction. It was also Go programmers’ most-requested feature.

Additional support for some of the more sophisticated general use cases will be included in subsequent editions.

Go 1.18 is the first major language to include fuzzing as part of its standard toolchain. Fuzzing, like generics, has been in development for a long time and is now available in the Go ecosystem.

For those of you unaware, fuzzing is the process of running random data against your test in order to uncover vulnerabilities or inputs that cause it to crash. This fuzzing guide might assist you in getting started with this new capability.

Go 1.18 includes a new workspace mode that makes working with many modules a breeze. With multi-module workspaces, you can tell the Go command that you’re writing code in multiple modules at the same time and easily build and run code in those modules.

Last but not least, the expansion of Go 1.17’s register ABI calling convention to Apple M1, ARM64, and PowerPC64 architectures has resulted in up to a 20% increase in CPU speed in Go 1.18.

For more information, you can refer to the Go.dev blog and the release notes.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 68%

Leave a Reply

Your email address will not be published. Required fields are marked *