News for hackers. Stuff that matters.
Re:Porting dl.google.com from C++ to Go by bigdubs on Friday July 26, 2013 @09:36PM (#6111496)
Tasks are still OS threads, though they get lumped into a threadpool so a lot of the overhead is mitigated (in most cases).
Re:Porting dl.google.com from C++ to Go by balakk on Friday July 26, 2013 @10:07PM (#6111591)
The async/await model does not create new threads.

http://msdn.microsoft.com/en-us/library/vstudio/hh191443.asp...

TPL(Task parallel library) does use additional threads, and that's a different programming model.

The async/await model in C# is essentially from F#'s async workflows:

http://msdn.microsoft.com/en-us/library/dd233250.aspx

Re:Porting dl.google.com from C++ to Go by bigdubs on Friday July 26, 2013 @10:48PM (#6111686)
I realize that, what I was referring to was the old model (TPL), which wasn't terrible to begin with.
Re:Porting dl.google.com from C++ to Go by test-it on Saturday July 27, 2013 @02:04PM (#6113788)
The "new" model is just syntactic sugar over the "old" TPL, so you're wrong anyway ;-)