GIL for Go

560 views
Skip to first unread message

Amnon

unread,
Apr 1, 2021, 11:40:42 AM4/1/21
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.

satyendra singh

unread,
Apr 1, 2021, 11:54:05 AM4/1/21
to Amnon, golang-nuts
Hilarious 🤣

Thanks and regards,
Satyendra

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/6b9935db-cc50-4f6e-9d6a-424d193694cdn%40googlegroups.com.

Artur Vianna

unread,
Apr 1, 2021, 11:54:09 AM4/1/21
to Amnon, golang-nuts
April 1st? You got me good on that last one

Eric S. Raymond

unread,
Apr 1, 2021, 8:07:31 PM4/1/21
to Amnon, golang-nuts
Amnon <amn...@gmail.com>:
> An exciting announcement from the Go team this morning!

PK, that was a pretty good AFJ. You actually achieved weak level 2 on me.

Explanation of level 2 (and others) here:

http://esr.ibiblio.org/?p=3084
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>


Reply all
Reply to author
Forward
0 new messages