Nojaf Blog Homepage

Published

Tags

Running JetBrains Rider in WSL 2

Intro Want to run JetBrains Rider in your WSL environment? I recently navigated this process and want to share my insights. With WSL2’s support for GUI apps, this is now possible, though not without some hurdles. Download Rider EAP Here’s how to start: Download the installation file for the Linux EAP version in Windows. Extract the files to using these commands: Launching Rider Launch Rider with the rider.sh script: Troubleshooting Rider didn’t launch for me: I encountered an error related to libXrender.so.1. It turns out I was missing some rendering…

Published

Tags

Unleashing Parallel Processing in Your F# Compiler

Intro Hey there, let’s cut to the chase: the dotnet SDK release brings some feature flags that can turbocharge your F# compiler. In this post, I’m shining a spotlight on three of these gems that you absolutely need to give a spin. Setup First things first, you need the latest SDK ( and beyond). Then, let’s tweak some to fine-tune the F# compiler in MSBuild. Just drop this snippet into your or file: (sample) Want to double-check if it’s working? Run and spot the extra compiler flags in : But what magic do these flags weave, you ask? They sprinkle…

Published

Tags

Fantomas 6: The Legendary Formatter

Introduction Early this year we announced our plans for Fantomas 6. We are happy to announce that we have wrapped up the development of version 6 and a preview is now available on NuGet. What’s new? Fantomas 6 is a major release and contains a lot of new features and improvements. In this post we will highlight some of the most important changes. Parallel formatting Fantomas 6 is now able to format multiple files in parallel. This is a huge improvement for large projects. This happens out of the box and you don’t have to do anything to benefit from this…

Published

Tags

My F# compiler scripts

Intro For the last year, I’ve been working quite extensively in the dotnet/fsharp codebase. I’ve picked up a couple of habits and created some helper scripts along the way. This is some stuff that works for me and it might be insightful for you. Or not. In this blog post, I’m going over some of my frequently used scripts. Some are general purpose, others are very specific to the F# compiler codebase. PowerShell profile I’ve always been a Windows guy and thus is my go-to. ( is cross-platform though) Having multiple terminal windows open is the norm and I…

Published

Tags

The oak sleeps in the acorn

Introduction We launched Fantomas v5 in September, and it was the first version to ship with a custom F# parser and an improved syntax tree. Many view it as a big technical achievement – I know its launch was a point of personal pride. Release party Because version 5 was a big deal, I decided to organize a grand release party where we talked about how v5 came to be, what exactly changes for end-users and I wrapped it up with a well-deserved glass of champagne. The project is in a good state. We have a brand new documentation website, I onboarded a new co…