January 17, 2012 6:30 PM - 20 attended

Bumblebee: Writing a F# Library for the C# Developer

Microsoft (map)

Selected By: Matt Harrington

 

Note: we will have pizza and drinks. Please RSVP so we know how much to order.

Sometime in 2010, after years of C# development, Mathias Brandewinder discovered F#, and found programming in a functional style both tricky and fun.  Inspired by an article on Artificial Bee Colony algorithms, he decided as a learning project to convert it from C# into a F# library, Bumblebee, which is now available open-source at http://bumblebee.codeplex.com.

In this talk, he will share his experience transitioning from a C#-mindset to thinking F#, and some lessons learnt writing Bumblebee. We will:

  • briefly explain what an Artificial Bee Colony is,
  • go through a F# primer, using Bumblebee to solve fun problems,
  • look under the hood, and discuss the source code and the considerations that went into designing an API that would be friendly to both F# and C# users,
  • review the unit tests, written using FsUnit, which illustrate some of the benefits of adopting a functional style

 

Bio

Mathias Brandewinder has been writing software in C# for 7+ years, loving every minute of it, except maybe for a few release days. He is passionate about good design, TDD, and enjoys discussing about code and arguing about how to make it better. You can find his blog at http://www.clear-lines.com/blog, or follow him on Twitter @brandewinder.

 

  • Paul Keister
    Paul Keister

    At only $390, the class virtually pays for itself! After all, aren't basic HTML 5 skills a license to print money?

    Posted January 17 at 11:56 AM
  • You must be a member to post a comment. Join or login.

20 attended
4.50 4.505 (5 ratings)
  • Event Host
    Matt Harrington
    Organizer
  • Jack Fox
    Mathias worked through his clever solver with the audience, which was a lot of fun and educational. I downloaded BumbleBee today and kicked off a 1,000 city TSP on my desktop. It's a real tribute to MS' implementation of parallel tasks and Mathias' skill. Even though it's taking nearly 100% CPU on my 2 core desktop, it in no way interferes with everything else I am doing on my machine.
  • Ron Petty
    Talk was interesting. I enjoyed coding the solution.
    Checked-in
  • Paul Keister
    Nice to see an end-to-end example of a real F# solution.
  • Art Scott
    Mathias made it F#UN! He was all a buzzzz about F#. Sweet experience! And the group had good spirit and collaborated well. I hope Mathias will present again. Thanks
  • Mei
  • A former member

Pluralsight

Pluralsight offers video training for .NET.

Other nearby
Meetups
Why these groups?
x

The Meetup Groups shown here are topically similar to The San Francisco Bay Area F# User Group.

Groups are more likely to be displayed here if they:

  • have a Meetup scheduled
  • have a high rating
  • have a group photo
  • are "public" and not "private"
  • have shown they are likely to stick around (older than 30 days)
Find more Meetup Groups
near San Francisco

Log in

  • Not registered with us yet?
or

Log in to Meetup with your Facebook account.

Sign up

or

Join this Meetup Group even quicker with your Facebook account.

By clicking the "Sign up using Facebook" or "Sign up" buttons above, you agree to Meetup's Terms of Service