r/fsharp • • Apr 29 '26

I built a Game Boy emulator in F#

135 Upvotes

r/fsharp • • Nov 11 '24

What's new in F# 9 - F# Guide - .NET

Thumbnail
learn.microsoft.com
121 Upvotes

r/fsharp • • Nov 14 '23

Announcing F# 8

Thumbnail
devblogs.microsoft.com
119 Upvotes

r/fsharp • • Oct 24 '24

JetBrains Makes Rider Free for Non-Commercial Use – A Game-Changer for F# Devs!

116 Upvotes

JetBrains just announced a big shift for Rider, making it free for non-commercial use starting October 24. Whether you're a student learning, a developer creating open-source projects, or a hobbyist tinkering with game development, you can now use the full version of Rider without a subscription. This is a significant move, especially for those of us who code outside of work on side projects or are diving into game dev with Unity or Unreal Engine.

This isn't a watered-down version of Rider, either. You get the full set of features, including the powerful DataGrip functionality for databases and a free trial of AI services that can take your projects to the next level. Whether you're working on .NET apps or experimenting with game engines, it's worth checking out if cost has been a barrier for you before.

If you've been on the fence about trying Rider, why not give it a try?

https://blog.jetbrains.com/blog/2024/10/24/webstorm-and-rider-are-now-free-for-non-commercial-use/


r/fsharp • • Nov 09 '21

F# 6 is officially here!

Thumbnail
devblogs.microsoft.com
106 Upvotes

r/fsharp • • Oct 19 '21

What's new in F# 6

Thumbnail
devblogs.microsoft.com
104 Upvotes

r/fsharp • • Jun 28 '25

question How freaking amazing is this?

100 Upvotes

Okay, I am very noob to F#, fairly used C# before. I am reading F# in action book.I am so blown away by simple Quality of life features. For example,

let ageDescription =
        if age < 18 then "Child"
        elif age < 65 then "Adult"
        else "OAP"

Here, since EVERYTING(not literally) evaluates to value, I can simply do compuation using if/else and assign that to variable. Not nested if/else, no mutation of variable inside different branches, just compute this logic and give me back computed value.
It's beautiful. I love it.
Gosh, I am having so much fun, already.
Thanks for reading this nonsensical post. :)


r/fsharp • • Nov 08 '22

Announcing F# 7

Thumbnail
devblogs.microsoft.com
96 Upvotes

r/fsharp • • Apr 18 '24

meta New book! F# in Action by Isaac Abraham

94 Upvotes

Hello,

I'm sorry for advertising, but we have just released a new book that I wanted to share with the community. Please remove the post if you don't find value in it.

F# in Action is based on author and Microsoft F# MVP Isaac Abraham’s years of experience working with developers as an F# consultant. By reading this book, you'll learn practical F# development skills that enable you to explore #dotNET libraries and packages more efficiently. You'll also improve your .NET skills for data analysis and exploration by using scripts. Additionally, F#'s "light touch" approach to functional programming ensures that you'll write error-free code without the complexity associated with traditional functional programming.

The book is written for readers comfortable with any OO or FP language. Prior .NET knowledge is not required! Check it out here.

Thank you.

Cheers,


r/fsharp • • Mar 19 '20

Announcing F# 5 preview 1 | .NET Blog

Thumbnail
devblogs.microsoft.com
84 Upvotes

r/fsharp • • Dec 04 '20

Fable 3.0 released

Thumbnail
fable.io
80 Upvotes

r/fsharp • • Feb 14 '25

meta Sergey Tihon's F# Weekly is coming back to r/fsharp

78 Upvotes

Looks like the u/fsharpweekly bot hasn't posted in a while. I believe I have fixed it now, so those posts should start flowing again!

That is all. As you were.


r/fsharp • • Nov 10 '20

Announcing F# 5 | .NET Blog

Thumbnail
devblogs.microsoft.com
76 Upvotes

r/fsharp • • Sep 22 '24

First impressions + Roast my first F# code

75 Upvotes

Since my previous post, I've been actively learning F#. And I like it a lot. I got used to syntax immediately, just like that bird meme.

Now, I can see how features that felt unfamiliar at first make a lot of sense in the context of this language.

It's so concise and readable. The whole implementation of my RPC protocol with client and server logic included is 308 lines of code (no comments or blanks). I feel the equivalent code in Rust would be at least 1500 LOC if not more. (Not a fair comparison for obvious reasons, but it's just the language I'm most familiar with.)

I was familiar with many FP concepts from other languages for a long time now. But, this is the first time using certain concepts does not feel awkward.

For example, currying, partial application, and function composition are so much fun in F#. And it feels so awkward to use in a language not designed for it.

Forced compilation order is also an amazing feature. It gives you a headache in the moment. But, when you figure out the solution — you realize that it saved you from making a terrible design decision.

C# interop is seamless.

So, the verdict is that F# is amazing. I'm sold on using it for my project.

Yesterday I finished a prototype for a TCP-based game server integrated with a C# Godot client. I welcome you to roast it.

https://github.com/Toldoven/FSharpRPCGodot

I went through a lot of iterations and it feels quite clean and idiomatic, but I'm sure there are a lot of things I missed not being familiar with the language.


r/fsharp • • Mar 15 '20

In order to stay in sane in those crazy times we decided to start an F# online meetup. On thursday we are happy to have Scott Wlaschin as our first speaker talking about property based testing. For the future we have plans to create live panel discussions to allow a real meetup experience. Be safe

Thumbnail
youtube.com
75 Upvotes

r/fsharp • • Jun 07 '20

meta Welcome to /r/fsharp!

74 Upvotes

This group is geared towards people interested in the "F#" language, a functional-first language targeting .NET, JavaScript, and (experimentally) WebAssembly. More info about the language can be found at https://fsharp.org and several related links can be found in the sidebar!


r/fsharp • • Aug 14 '18

Announcing F# 4.5

Thumbnail
blogs.msdn.microsoft.com
71 Upvotes

r/fsharp • • Feb 16 '21

Announcing a new series: Building a Stock Market Monitoring System with F#

70 Upvotes

Hello everyone,

After getting many suggestions on making real world examples, I have decided to reignite an old passion of mine and build a stock market monitoring system, completely using F#. Many people have requested an end-to-end real life example, so I am really excited to get this out. First video is very introductory, just talking about the what and why.

Enjoy :)


r/fsharp • • Nov 03 '20

Dark's new backend will be in F#

Thumbnail
blog.darklang.com
69 Upvotes

r/fsharp • • Mar 06 '26

I ported microgpt – Andrej Karpathy's elegant, dependency-free, single-file GPT implementation – to #fsharp.

68 Upvotes

Karpathy's original (~200 LOC Python) is a masterpiece for learning transformers, autograd, and training loops without frameworks.

Martin Škuta elevated it significantly in C# with serious .NET optimizations: SIMD vectorization (System.Numerics.Vector<double>), iterative backward pass to avoid recursion limits, zero-allocation hot paths, and loop unrolling.

Building on that optimized foundation, I created a functional F# version that keeps the same performance while embracing F# idioms:

- Immutability by default + expressive pipelines (|>) for readable data flow

- Strong type inference, concise syntax, no boilerplate

- Explicit mutable only where needed

- Stack-allocated structs and idiomatic collections

Fully single-file: https://gist.github.com/jonas1ara/218e759c330aeb5fc191b8f2c631dc07

Run it instantly with dotnet fsi MicroGPT.fsx

You can customize the model and training with these arguments:

ArgumentDefaultDescription
--n_embd16Embedding dimension
--n_layer1Number of transformer layers
--block_size8Context length (max tokens per forward pass)
--num_steps10000Training steps
--n_head4Number of attention heads
--learning_rate0.01Initial learning rate (linearly decayed)
--seed42Random seed for reproducibility

Example — larger model, more steps:

dotnet fsi MicroGPT.fsx --n_embd 64 --n_layer 4 --n_head 4 --block_size 16 --num_steps 50000

Great exercise to understand LLMs from first principles in a functional-first .NET language.


r/fsharp • • Dec 24 '25

misc Today I learned about Computation Expression.

Post image
68 Upvotes

r/fsharp • • Jan 31 '20

The .NET team is hiring an F# developer in Prague

68 Upvotes

We're hiring an additional engineer to work on the F# compiler and tools. As per the job description, the role is defined as such:

The .NET Team is looking for an engineer to work on the F# compiler and tools, adding new language features and building the tooling to make coding in F# a joy in Visual Studio, Visual Studio Code, Visual Studio for Mac, and Visual Studio Online.

If you're up for a fun challenge and working with a great team, the link is here: https://careers.microsoft.com/us/en/job/785811/Senior-Software-Engineer-NET-CORE-F


r/fsharp • • May 01 '19

Hitler reacts to functional programming

Thumbnail
youtube.com
67 Upvotes

r/fsharp • • Jun 06 '25

Hey guys, I am a C# guy, learning F#, I made a basic calculator within 40 Lines of code : D

Post image
66 Upvotes

I think this is a great start! Never knew it could be so much fun to do this way. Wish me luck guys.
Just 40 lines of code? Damn!