F# for the C# Developer - F#, the .NET Runtime, and Aesthetics
summary
Shows concrete IL/C# results from real F# code using SharpLab and decompilation: F# top-level modules compile to public static classes, a 35-line F# discriminated-union example becomes ~1,878 lines of C# (~5,000 IL), and F# performance hits the same upper bound as C# thanks to the .NET JIT and .NET 8. Demonstrates practical tools and patterns: type aliases, result/option types (FluentResults), discriminated unions, the pipeline operator, and when to prefer LINQ or total functions to reduce bugs.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 1:11Talk goals and FP overview
- 2:12Languages on hardware-math spectrum
- 4:42F# as .NET language and compilation
- 8:56F# constructs and .NET runtime translation
- 12:07Practical takeaways for C# devs
- 14:36Type aliases in domain modeling
- 15:40LINQ as functional design pattern
- 18:12Static functions and composability
- 21:22Function shapes in composition
- 27:25Total vs partial functions and safety
- 34:53Discriminated unions vs enums
- 39:51Function shapes significance
- 45:31Map, bind, and FP patterns
- 52:22Performance, aesthetics, and FP future
- 56:37Be awesome with FP today
- 59:05Category theory and monads simplified
- 1:00:00Q&A








