Amnon
unread,Apr 1, 2021, 11:40:42 AM4/1/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
An exciting announcement from the Go team this morning!
The upcoming release of Go 1.17 (due in September) will include GIL for Go,
As the Pythonistas among us know, GIL is Python’s Global Interpreter Lock, which
has been included in even the earliest versions of Python, but is missing from Go
until now. This has been a constant source of complaints from python programmers
transitioning to the world of Go. With the addition of the Global Interpreter Lock
into Go’s runtime scheduler, Go will finally reach feature parity with Python on this
important feature. The introduction of the GIL and the implicit serialisation of all Goroutines will eliminate a whole range of possible race conditions and synchronisation bugs.
The inventor of the Python language Guido tweeted that after a two decades it is great to see Go finally catching up in this key area. He expressed his hope that Go will soon introduce Subinterpreters, which provide a simple, elegant and intuitive solution to the problem of achieving concurrency.
In a related announcement the Go team also
announced that future versions of Go will introduce Type Annotations, and get rid of
the pesky squiggly braces, and instead transition to indentation based blocks.