The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral
feelite wrote:threading will one day become like the gc: most of the time you don't care because it just works.
Only you really know what you want your program to do, and thus which can be executed before or after something else. Or concurrently, for the topical matter. There is not a good way for the compiler to break the below sample into several threads executed out-of-order behind the scenes and expect them to work.
using (StreamWriter sw = new StreamWriter("TestFile.txt")) { // Add some text to the file. sw.Write("This is the "); sw.WriteLine("header for the file."); sw.WriteLine("-------------------"); // Arbitrary objects can also be written to the file. sw.Write("The date is: "); sw.WriteLine(DateTime.Now); }
feelite wrote:instruction prefetch and pipelining used in cpu and gpu
Something that should be highly relevant, though I haven't got the time to read it to confirm.
yes, that's what I was referring to.
"concurrency for everybody". CCR first appeared in PDC 05 with a very candid overview by the researcher
Justin Lee's recent UG talk on concurrency has renewed my interest in this area.
The existing Parallel extensions by Microsoft targetted at .NET FW 3.5 is currently a June 08 CTP
http://www.microsoft.com/downloads/details.aspx?FamilyId=348F73FD-593D-4B3C-B055-694C50D2B0F3&displaylang=en
it is indeed interesting how all this will play out. hopefully more languages (other than C#) get more widespread usage in the .NET framework, like Ruby, maybe we'll even have .NET versions of Erlang and Haskell!
http://devpinoy.org/blogs/cruizer