F# in 20 Minutes - Part I

Edit: If you are interested in learning F#, let me take the opportunity to provide a shameless plug for my book Programming F#. Edit: Updated for the September CTP. Edit: While I certainly encourage you to read my blog, there is a great video we did for PDC titled An Introduction to Microsoft F# at https://channel9.msdn.com/pdc2008/TL11/…

66

A Java to x86 compiler written in F#

A little personal information about me, I’m currently working on a masters degree at the University of Washington. And a few weeks ago I completed taking a course in  Compiler Construction, where the course project was to build a simple Java compiler that generated x86 executables.   While most students chose to write their compilers…

9

How to debug compiler generated code

Edit 2/8/2010: Update for recent F# language changes   James Margetson recently showed me a great tip for debugging compiler generated code. Typically the problem is that using the Visual Studio debugger all you see is the x86 disassembly of the JIT-ed methods, but what you really need is the IL opcodes that F# compiled…

2

Introduction to F# Active Patterns

You may have heard of Active Patterns before – typically in conjunction with the words ‘awesome’ or ‘amazing’. Active Patterns are one of the more unique language features in F# and once you get a good feel for them one of the most powerful. This post will demonstrate Active Patterns from single-case and multi-case to…

4