Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wished they made the ecosystem as easy as Go to install on Linux. Last time I "tried" to get into F# (The lang looks really good). I was lost between mono and .net and the other 1000000 gazillion libraries I had to install to get a basic dev-env. After giving up half my SSD in storage, I still had env issues. :/


Nowadays it's pretty straight forward. Just run `sudo snap install dotnet-sdk --classic`, install plugins for fsharp for vscode and you're good to go.


Worth noting that snap installs aren't supported in the vscode tooling for F#. There's an open issue and I have a handle on some of the core problems, but they invalidate a ton of assumptions we have.

The safer route is to install the non-snap-based versions.

(I maintain this tooling, for what it's worth)


Thanks for working on this tooling. Your efforts are much appreciated.


Can you link to the open issue? I want to subscribe to it.


What's the --classic flag for? Just curious


Classic confinement (no sandboxing) because an IDE needs to access tons of stuff from your system (the compilers, your projects, etc).


Ah, thank you!


You can follow this guide for installing on your distro of choice: https://docs.microsoft.com/en-us/dotnet/core/install/linux

Unless you have a reason to only use LTS releases, install .NET 5. I suppose this doc could clarify that 3.1 is an LTS and .NET 5 is a "current" (but newer and better).


My experience is the opposite, with .NET Core I can manage multiple versions of the SDK with my linux package manager and not an external tool. Then in each project I specify which SDK I want to use and what dotnet tools to install.


It's become a lot easer with the .NET 5 release from a couple months back.

https://devblogs.microsoft.com/dotnet/announcing-net-5-0/


Isn't F# essentially just OCaml on .NET? Wouldn't OCaml be easier to get running?


In the same way that Objective-C is just C++ on OS X.

https://news.ycombinator.com/item?id=25989061


Same, but it’s much better now. The best combination in my experience is:

- .Net Core 5

- VS Code

- Ionide


literally yesterday I installed the above from nothing and was trying out some F# for fun and profit code within moments...amazing how far the tooling has come from even 2 years ago




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: