Re:Fable: F# to JavaScript Transpiler
by enricosada on Thursday May 26, 2016 @06:58AM
(#11777002)
F# on .NET Core works now with released rc2.
just go to http://dot.net and download .NET Core SDK.
Tested on supported ubuntu/osx/docker/win
for example ubuntu 14.04 is https://www.microsoft.com/net/core#ubuntu
if you dont want to use installers, just unzip the binaries packages from https://www.microsoft.com/net/download#core and add that directory to PATH
after that
- mkdir hello && cd hello
- dotnet new --lang fsharp
- dotnet restore
- dotnet run
> .NET Core is coming to Linux soon and will give you another option for compiler/runtime which will be good.
I think it's already here?
https://www.infoq.com/news/2016/04/fsharp-dotnetcore-linux-m...
I am enjoying learning and using both Elm and F# at the minute, but finding a webserver to link them has not been straight forward.
Suave, or Nancy seem to have a lots of opaque boilerplate, and I've not found anything with a similar learning curve to more familiar Python webservers.
Have you any suggestions for an F# webserver?
.NET Core is coming to Linux soon and will give you another option for compiler/runtime which will be good. Performance will be better, but mono has been working fine for me so far.