r/fsharp • u/knickuhs • Apr 29 '26
r/fsharp • u/[deleted] • Nov 11 '24
What's new in F# 9 - F# Guide - .NET
r/fsharp • u/chriswoodruff • Oct 24 '24
JetBrains Makes Rider Free for Non-Commercial Use – A Game-Changer for F# Devs!
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 • u/phillipcarter2 • Nov 09 '21
F# 6 is officially here!
r/fsharp • u/kincade1905 • Jun 28 '25
question How freaking amazing is this?
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 • u/ManningBooks • Apr 18 '24
meta New book! F# in Action by Isaac Abraham
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 • u/MaximRouiller • Mar 19 '20
Announcing F# 5 preview 1 | .NET Blog
r/fsharp • u/Jwosty • Feb 14 '25
meta Sergey Tihon's F# Weekly is coming back to r/fsharp
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 • u/Toldoven • Sep 22 '24
First impressions + Roast my first F# code
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 • u/rommsen • 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
r/fsharp • u/statuek • Jun 07 '20
meta Welcome to /r/fsharp!
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 • u/bengobeil • Feb 16 '21
Announcing a new series: Building a Stock Market Monitoring System with F#
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 • u/jonas1ara • Mar 06 '26
I ported microgpt – Andrej Karpathy's elegant, dependency-free, single-file GPT implementation – to #fsharp.
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:
| Argument | Default | Description |
|---|---|---|
--n_embd | 16 | Embedding dimension |
--n_layer | 1 | Number of transformer layers |
--block_size | 8 | Context length (max tokens per forward pass) |
--num_steps | 10000 | Training steps |
--n_head | 4 | Number of attention heads |
--learning_rate | 0.01 | Initial learning rate (linearly decayed) |
--seed | 42 | Random 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 50000Great exercise to understand LLMs from first principles in a functional-first .NET language.
r/fsharp • u/existentialnonormie • Dec 24 '25
misc Today I learned about Computation Expression.
r/fsharp • u/phillipcarter2 • Jan 31 '20
The .NET team is hiring an F# developer in Prague
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 • u/rymdkraftverkab • May 01 '19
Hitler reacts to functional programming
r/fsharp • u/samirdahal • Jun 06 '25
Hey guys, I am a C# guy, learning F#, I made a basic calculator within 40 Lines of code : D
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!