Browse by Tags

All Tags » Parallelisation » C# (RSS)

Revisiting randomness

Almost every Stack Overflow question which includes the words "random" and "repeated" has the same basic answer. It's one of the most common "gotchas" in .NET, Java, and no doubt other platforms: creating a new random...

Iterating atomically

The IEnumerable<T> and IEnumerator<T> interfaces in .NET are interesting. They crop up an awful lot, but hardly anyone ever calls them directly - you almost always use a foreach loop to iterate over the collection. That hides all the calls...

Recent activities

It's been a little while since I've blogged, and quite a lot has been going on. In fact, there are a few things I'd have blogged about already if it weren't for "things" getting in the way. Rather than writing a whole series...

Benchmarking IO: buffering vs streaming

I mentioned in my recent book review that I was concerned about a recommendation to load all of the data from an input file before processing all of it. This seems to me to be a bad idea in an age where Windows prefetch will anticipate what data you need...
Posted by skeet | 24 comment(s)

Book Review: C# 2008 and 2005 Threaded Programming: Beginner's Guide by Gastón Hillar

Update (19th March 2009) Debate around this review is getting heated. I stand by all the points I make about the text, but I'd like to clarify a few things: If there are any ad hominem comments in the review against the author, please ignore them...
Posted by skeet | 28 comment(s)

DotNetRocks interview

Last Monday evening I had a chat with the guys from DotNetRocks , and today the show has gone live . I wouldn't claim to have said anything particularly earth-shattering, and regular readers will probably be familiar with many of the themes anyway...

Parallel Extensions June CTP

Either my timing is great or it's lousy - you decide. Yesterday I posted about parallelising Conway's Life - and today the new CTP for the Parallel Extensions library comes out! The bad news is that it meant I had to run all the tests again.....
Posted by skeet | 5 comment(s)
Filed under: ,

More parallelisation fun: Conway's Game of Life

Okay, so I've probably exhausted the Mandelbrot set as a source of interest, at least for the moment. However, every so often someone mentions something or other which sounds like a fun exercise in parallelisation. The latest one is Conway's Game...
Posted by skeet | 3 comment(s)
Filed under: ,

Mandelbrot revisited - benchmark edition

I've had fun with the Mandelbrot set in this blog before, using it as an example of an embarrassingly parallelisable problem and demonstrating Parallel LINQ with it. This morning, over breakfast, I described the problem to Christian Brunschen , a...
Posted by skeet | 11 comment(s)

Visualising the Mandelbrot set with LINQ - yet again

I've been thinking about ranges again, particularly after catching a book error just in time, and looking at Marc's generic complex type . It struck me that my previous attempts were all very well, and demonstrated parallelisation quite neatly...
Posted by skeet | 3 comment(s)

A cautionary parallel tale: ordering isn't simple

A little while ago, I wrote about my silly project to test Parallel LINQ - a Mandelbrot generator . In the last week, two things have happened to make this more of a reality. Firstly, the December CTP of Parallel FX has been released. Secondly, my old...
Posted by skeet | 4 comment(s)
Filed under: , ,

LINQ to Silliness: Generating a Mandelbrot with parallel potential

I've been writing about LINQ recently, and in particular I've written a small amount about Parallel LINQ . (Don't get excited - it's only about a page, just to mention it as a sort of "meta-provider" for LINQ.) I was wondering...
Posted by skeet | 2 comment(s)