Google releases Go programming language v1.11 and publishes Go 2 Draft Designs

“Go” is a programming language created by Google. It’s a new open-source programming language which is used to build reliable and efficient softwares.

Recently in the event of “GopherCon 2018“, they unveiled the “Go 2” drafts video that clearly hinted the release of its new version 1.11.

The previous version (1.0) had some stability issues, which are expected to fixed in this new release. It also offers an early “Modules” system for dependency management and web assembly support. By this developers will be able to compile ‘Go programs’ into a binary format which are compatible with four major web browsers such as Opera, Mozilla Firefox, Safari and of course Google Chrome.

Although other features are also expected to be more refined and compatible with future versions. However, you can get more insights into feature improvements in this official Release note.

Considering the flaws of previous versions, Google at its “GopherCon 2018” event has also unveiled their three very early design drafts. What are those? watch this video.

Now some of you might be thinking what is Generics support? well, it’s an ability to write a function that doesn’t need to know exactly what types are being used. Whereas the other two drafts have to deal with error handling.

One draft has introduced to provide new handling benefits such as new “handle/check” system. This system is able to create and reuse error handling blocks which is practically the best solution for error handling in any programming language. Whereas the third draft design is equipped with the facility to read errors wrapped or nested in other errors. This makes the information format to be both correct and sensible.

At last these designs are publically shared to discuss and decide if any or all of the improvements should be implemented in the language or not. One more thing which is stressed here is that they would like to maintain full compatibility between the Go 1.x and “Go 2” code. More information is expected in near future, so stay tuned for that.

Also ReadWhat is programming | Introduction | How to begin?

Leave a Comment