Parallelization in F#

In my last post I was writing about parallelizing loops with Parallel.For in C#. Today I though it would be nice to try that in F#. So, here is the benchmarking of the matrix multiplication and the bubblesort algorithm in F4. Matrices Multiplication I started with a create_matrix function that creates and randomly initializes a…

ParallelFX Saves!

After the MVP Summit in Seattle, I started to dig into the Parallel FX framework (currently under a CTP available here). In just a few words, the framework is composed of: Task Parallel Library (TPL), that provides means to manage task (i.e. units of execution), and exposes a TPL API, represented by the static function…

Visual C++ 2008 Feature Pack Refresh

A new installation kit for the Visual C++ 2008 Feature Pack has been released. It’s recommended to uninstall the original pack (version 9.0.30304.0) and install the new one. The new feature pack is available at the Download Center. Before you install, make sure you read the note from the System Requirements paragraph; there is an…

Pictures from the MVP Global Summit

The MVP Global Summit ended today. It has been a great week here at Seattle and Redmond. There were 1753 MVPs present at the summit and 1000 Microsoft employees from the product developing teams were involved in the event, delivering presentations, talking about the things they do for the next versions of their products and,…

MVP Global Summit 2008

Today starts the MVP Global Summit in Seattle and at Microsoft’s campus in Redmond. I have arrived yesterday in Seattle, one day later than planned because I lost my connection flight in New York. At least after spending the second part of Saturday waiting in lines (one hour at the Customs, two hours waiting at…

Output Formatting with std::copy

I had to do some output formatting in C++ for showing the content of a buffer. Take for instance this buffer:

I wanted the output to be like this:

The simples way to do it is like this:

That for loop achieves the goal. But then, I though, why not using std::copy?…

F# Resources

Here is a list of, what I consider, good F# resources. Hopefully you’ll find them helpful. Official Documentation Official F# page at Microsoft Research F# manual informal F# documentation Forums and Wikis F# wikicontains articles, tips and sample code hubFSa very good forum focused on F# Blogs Don Syme’s Blog: the blog of F#’s creator…

CategoriesF#

April Fools Day

As it became a tradition, Google made a few April Fool’s Day jokes. Here is a list of the best ones: Virgle, http://www.google.com/virgle/index.html AdSense for conversations, http://adsense.blogspot.com/2008/04/introducing-adsense-for-conversations.html GMail Custom Time (this one rocks!), http://mail.google.com/mail/help/customtime/index.html Google Calendar Wake up Kit, http://www.google.com/googlecalendar/new_wakeup.html Google Books Search Smell, http://booksearch.blogspot.com/2008/04/google-book-search-now-smells-better.html Google Weblogs, http://buzz.blogger.com/2008/04/announcing-google-weblogs-beta.html Google Talkabout, http://googletalk.blogspot.com/2008/03/google-talk-goes-green.html Microsoft did a very…