Category Archives: F#

Simplifying State with Async (with XNA/WPF examples)

Now, let me start this post by saying I love XNA/Monogame. XNA was Microsoft’s first (and currently last) attempt to have a first class managed framework for writing games. Luckily the excellent Monogame project has picked up Microsoft’s slack and … Continue reading

Posted in Async, F#, Monogame, XNA | Tagged , , , , | 13 Comments

It just works(™)!

I was recently a guest on the .NET Rocks podcast and one of the things that came up was this notion in F# of “if it compiles – it works”. Given the constraints of time on the show (and technical … Continue reading

Posted in C#, F#, thought | 4 Comments

Book Review: F# for Quantitative Finance

I was recently given the opportunity to review the book F# for Quantitative Finance by Johan Astborg.  Disclaimer: I work in the finance industry, but I don’t do “Quant stuff” for a living. I’m not going to review the correctness of the … Continue reading

Posted in F#, Review | Tagged , | 1 Comment

Building a C# compiler in F#

A little over a year ago I wrote a post about Roslyn. Recently (after seeing Mads Torgersen‘s excellent NDC-london talk) I was inspired to attempt to write my own mini-C# compiler to address some of the missing features in C#. … Continue reading

Posted in C#, Compiler, F# | 4 Comments

Desktop class performance on a mobile phone?

I recently bought an iPhone 5S (this is partly why I’ve taken a short detour from the platform game – this will resume in my next post!). Once again Apple have managed to create hype around a new CPU which … Continue reading

Posted in Android, benchmarking, F#, iOS, Mono, performance | Tagged , , , , , | 2 Comments

A Platform game in F# and SpriteKit – Part 7 – DSLs baby!

So far our (1) level is fairly painful code to look at – admittedly SpriteKit and F# take something that could have been horrific and simply make it tedious. Today we change that. DSL According to Wikipedia a DSL is … Continue reading

Posted in F#, iOS | Tagged , , , | 1 Comment

A Platform game in F# and SpriteKit – Part 6 – Death

If there’s one thing we can all be certain of in life, it’s death. And so the same rule must apply to our dude. It’s been good knowing you little guy. F# shines again The last few posts have been … Continue reading

Posted in F#, iOS | Tagged , , , | 1 Comment