Main Content

Bumblebee: an Artificial Bee Colony algorithm in F#

About the Talk

February 21, 2013 2:00 PM

Seattle, WA

Seattle, WA

Sometime in 2010, after years of C# development, I discovered F#, and found programming in a functional style both tricky and fun. Inspired by an article on Artificial Bee Colony algorithms, an optimization algorithm that mimics the intelligent foraging behaviour of honey bee swarms, I decided as a learning project to convert it from C# into an F# library, Bumblebee, which is available open-source at In this talk, I want to do 4 things: 1) cover the basics of Artificial Bee Colony algorithms, and illustrate what problems it can help solve, 2) solve a problem together with Bumblebee, and use it as a F# primer, 3) open the hood and discuss some of the design aspects (making the API both F# and C# friendly, using the Task Parallel Library for parallelism, using OO and functional styles together, unit testing...) 4) share my learning experience transitioning from a C#-mindset to thinking F#.

This talk should be particularly relevant for C# developers who are F#-curious. Knowing F# beforehand is not required, but a certain comfort with functional concepts, like LINQ in C#, will definitely help.

Ratings and Recommendations

This Talk hasn't been rated yet. Sign In to rate Talks.

comments powered by Disqus