Saturday, November 21, 2009

Utilizing multi-core in “Go” programming language

 
 

Sent to you by Sparkie via Google Reader:

 
 

via dzone.com: latest front page by CodeJustin on 11/21/09

Today, Google announced the brand-new programming language, called "Go". - golang.org This is a very impressive language for system researchers like me. It has pretty nice support for threading and networking. At first, I wrote the code to use "goroutine", a light-weight thread prepared in Go. It only consumes several kilobytes per thread, so the programmer can create thousands of threads with littile overhead. This is very useful in writing networking codes (HTTPServer, ProxyServer, Crawler, etc.). I never want to write event-based server in C/C++.


 
 

Things you can do from here:

 
 

No comments: