align-toparrow-leftarrow-rightbackbellblockcalendarcamerachatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-crosscrosseditfacebookglobegoogleimagesinstagramlocation-pinmagnifying-glassmailmoremuplabelShape 3 + Rectangle 1outlookpersonplusImported LayersImported LayersImported Layersshieldstartwitteryahoo

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

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.

Join or login to comment.

  • Jack F.

    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.

    January 18, 2012

  • A former member
    A former member

    Talk was interesting. I enjoyed coding the solution.

    January 18, 2012

  • Paul K.

    Nice to see an end-to-end example of a real F# solution.

    January 18, 2012

  • Art S.

    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

    January 18, 2012

  • Paul K.

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

    January 17, 2012

20 went

Our Sponsors

  • ThoughtWorks

    A perfect space for our hands-on F# dojos in SF

  • OpenTable

    An awesome venue for our presentations!

People in this
Meetup are also in:

Start the perfect Meetup for you

We'll help you find just the right people

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy