Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » F#

Awesome F# - Decision Trees – Part II

In my previous post I went over the theory behind the ID3 algorithm . Now that we got all that painful math out of the way, let’s write some code! Here is an implementation of the algorithm in F#. (It is also attached to this blog post, download it via
Posted by ChrSmith | 3 Comments
Filed under: , ,

Attachment(s): ID3.fsx

Upcoming F# Talks

Recently legendary Cambridge research Don Syme presented an Introduction to F# at JAOO Aarhus in Denmark. From what I’ve heard the talk went really well, and the slide deck is a great way to pick up the F# language (or give an intro-level presentation
Posted by ChrSmith | 2 Comments

Grotesque F# Code - I

Recently a friend came to me in a mild panic about some massive refactoring he needed to do to an F# code base. The code he had was very complicated and maintenance was a pain. After only a few seconds scanning through the code I certainly could see that
Posted by ChrSmith | 8 Comments
Filed under: , ,

F# for Architects: Hitting the sweet spot

When I was at DevLink last week I gave a talk designed to specifically identify why and when you should use F#. I was going to post the slides, but then I realized that they are in the form of a ‘presentation deck’ rather than a ‘reading deck’. So rather
Posted by ChrSmith | 4 Comments
Filed under: ,

Attachment(s): F# for Architects - Released.pptx

F# Scripting Zen – Bulk Updating Testcases

As the F# team is busy working to finish up Visual Studio 2010 , one task left to complete is to localize the compiler, so that on a Japanese machine the error messages will be in Japanese. While I’m sure a few Ugly American Programmers might question
Posted by ChrSmith | 2 Comments
Filed under: , , ,

F# Community Roundup

There’s plenty going on in the F# community these days, I figured I’d provide a shameless plug for few blog posts or videos I especially liked. Toronto F# Study Group If you live in Soviet Canuckistan and are in the Toronto area, Justin Lee is hosting
Posted by ChrSmith | 1 Comments

Idiomatic F# – Functional vs. Imperative

Our story begins with this guy, Stuart Bowers, sipping functional programming cool aid out of a kickass mug from Cafe Press . Stuart is a developer on Amalga and full-time F# developer at Microsoft. The world is at a loss because this man does not blog...
Posted by ChrSmith | 11 Comments
Filed under: ,

F# and the PFX Round 1

I’m currently working on a chapter for Programming F# titled Asynchronous and Parallel Programming which should turn out pretty well. Anyways, I have an example that was too awesome not to blog. In this post I’ll show how to use the Parallel Extensions
Posted by ChrSmith | 11 Comments
Filed under: , ,

Deep Fried F#

Episode 24: Chatting about F# with Chris Smith and Dustin Campbell “Get your code on!” Being the international media sensation that I am, back at PDC Dustin Campbell and I recorded a podcast for Deep Fried Bytes . The podcast turned out awesome. Well,

Speech Recognition is gun and easy!

Evidently Microsoft ninjaed a new assembly into the .NET framework with the 3.0 release called System.Speech.dll. If adding speech recognition or speech synthesis to your applications sounds like fun, read on. Step 1: Train your computer The first step
Posted by ChrSmith | 4 Comments
Filed under: , ,

F# No Longer Vaporware

REDMOND, WA - Sadly, after nearly four years of stringing developers along with Microsoft's longest touted non-product, F# was accidentally checked into the Visual Studio 2010 source tree Microsoft sources report. This mistake killed what would have been

F# Zen - ROT13

Below is a primitive implementation of ROT13 / Ceasar Cipher in F#. In short it is a simple encryption algorithm that works by 'shifting' each letter 13 places. So an 'a' becomes an 'n', a 'b' becomes an 'o', and so on. To decrypt the text you simply
Posted by ChrSmith | 12 Comments
Filed under: ,

F# Elevator Pitch

At the PDC I spent about eight hours a day for a full week answering the same question again and again: “What is F# and why should I use it.” While I would love to give a long and nuanced answer to this, in order to achieve a high throughput you need
Posted by ChrSmith | 6 Comments
Filed under: ,

Due out Next Year – Programming F# by Chris Smith

I’d like to announce that for the past few months I’ve been secretly working on a book for O’Reilly titled Programming F# . My aim is to provide the one-stop-shop for learning the breadth of the F# language. A special thanks goes out to Nate LaMartina,

MSBuild tasks for Lex and Yacc

While I am thrilled about all the new features we've put into the F# CTP, perhaps the thing I'm most excited about are the MSBuild tasks for Lex and Yacc. You heard that right. If you want to use fslex.exe of fsyacc.exe as part of your project, you can
Posted by ChrSmith | 5 Comments
Filed under: , , ,

Attachment(s): MegaCalc-v1.0.zip
More Posts Next page »
 
Page view tracker