Advanced concurrency mode for the Go language

Source: Internet
Author: User
This is a creation in Article, where the information may have evolved or changed. a big advantage of the go language is the built-in goroutine mechanism, which makes it easy for developers to write concurrent programs.  

at last year's Google I/O Conference, Rob Pike, a member of the Go Language development team, introducedconcurrency mode for Go . Now the language hasReached the 1.1 version , performance and security are better than ever. on I/O 2013 this month, team members Sameer Ajmani brought a more advanced speech on the Go language concurrency model to help developers gain a deeper understanding of the concurrency programming issues of the go language.  

You can use this slide to see :Https://talks.golang.org/2013/advconc.slide (using the left and RIGHT arrow keys to page, click on the code page of the Run button to run the code directly, you can also directly modify the code)

on the slide, Sameer describes how to detect and avoid deadlocks, race conditions (race conditions), and shows the implementation of the concurrency deadline (deadlines) and task cancellation (cancellation) . If you want to elevate your go programming skills to a level, it is highly recommended that you look at this slide.

the slide is based onPresent tool making, where code run functionality is based onGo Playground , specifically visibleSource .
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.