F#.NET tutorials and examples

F# for Technical Computing

Read this full-color book to learn Microsoft's latest .NET functional programming language, with hundreds of awesome examples covering everything from interactive data dissection to easy-to-use visualization with Windows Presentation Foundation and high-performance parallel programming.

This book contains hundreds of source code examples and dozens of diagrams that elucidate the power of functional programming to explain how the F# programming language is the ideal tool for scientists and engineers wanting to collate, analyse and visualise their data easily and efficiently.

Learn more...

The F# Journal

Subscribe to the F#.NET Journal today and read over 70 fascinating articles on the new F# programming language from Microsoft:

  • Watch tutorial videos to get to grips with the development environment quickly and easily.
  • Learn how to create stunning visualizations from the F# interactive mode.
  • Study the complete source code of working programs.
  • Use our source code starter packs to kick off your own projects.
  • Cut-n-paste any or all of the F# code from the journal into your own work at no extra cost!

All included when you subscribe to the F# Journal for under £10 per month.

Learn more...

Tutorial: Rule 30 cellular automaton

Learn how to create simple graphics with this F# demo:

  • Windows Forms.
  • Bitmaps.
  • Functional programming.
  • Complete with source code and Visual Studio 2005 project.

Read more...

Tutorial: Minimal DirectX demo

Learn DirectX and F# programming with this simple 3D demo.

  • Lighting, perspective and mouse control.
  • Renders to a GUI window.
  • Only 100 lines of code.
  • Handles device losses and resets.
  • Complete with source code and Visual Studio 2005 project.

Read more...

Tutorial: Ray Tracer

Learn F# programming with this simple ray tracer.

  • Renders over 80,000 spheres in only a few seconds!
  • Only 200 lines of code.
  • Renders to a GUI window.
  • Multithreaded to leverage dual cores.
  • Complete with source code and Visual Studio 2005 project.

Read more...

Tutorial: Sudoku Solver

Solve Sudoku puzzles and learn F# programming with this example.

  • Only 160 lines of code.
  • Renders to a GUI window.
  • Editing the puzzle automatically spawns a new solver thread.
  • Complete with source code and Visual Studio 2005 project.

Read more...