In most mainstream programming languages, concurrency and multithreading can add complexity and make code harder to read. The designers of Go decided that concurrency should be built in from the beginning, making it easy to manage many threads of execution while still avoiding the difficulty of shared memory management. Go does not expose traditional threads, but instead introduces the concept of goroutines—these are akin to lightweight threads, but it's possible to have several thousand at the same time. Shared memory is normally the main communication mechanism for concurrent applications, but in Go communication is used to share instead—this built-in feature is called channels. In addition to these language features, Go has a sync package within the standard library that provides tools for further concurrency management...
United States
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine