Akka.net: Add NetCore support for FSharp projects

Created on 4 Jul 2017  路  17Comments  路  Source: akkadotnet/akka.net

F# was not updated for NetCore, because we have two problems
FSharp.Community.Linq does not support NetCore
FSharp.Quotations.Evaluator which could do the same does not support NetCore as well

Also Akka.FSharp.Tests does not compile at all

@tjaskula @Horusiath

akka-fsharp netcore up for grabs

Most helpful comment

We鈥榬e planning to release 1.3.6 shortly, so it should be available once it鈥檚 up on nuget.

CC @aarontheweb

All 17 comments

It looks like we may need another quotation expression evaluator. There are few others with various degree of speed:

  1. Unquote which is more useful in tests.
  2. QuotationCompiler which is pretty great, but as far as I know, it brings whole FCS as a depdendency.

@tjaskula anything, you'd add here? Ofc we could also roll our own if no other option will be valid.

@Horusiath Both of them without NetStandard support.
FSharp.Quotations.Evaluator supports PCL, so it would be easy to convert it to NetStandard

@Horusiath Yeah, I think for now FSharp.Quotations.Evaluator would be the easiest one to convert.
Rolling our own I would consider as last ressort.
I'm on this issue, you can assign it to me. I keep you posted.

FYI, I'll be converting to .NET Core FSharp.Quotations.Evaluator.

@heynickc has been working on this here and it's a bit of a tire fire: https://github.com/akkadotnet/akka.net/pull/2941

Looks like FSharp.Quotations.Evaluator hasn't merged @tjaskula's PR yet, which is a bummer. We'll have to do a separate release to get .NET Standard support for the F# API at a later date (1.3.1)

any progress on this ?

FSharp.Quotations.Evaluator had some issues compiling with .NET Core. I'll have to check it out again and I'll keep you posted.

@tjaskula I鈥檝e created a pull request for FSharp.Quotations.Evaluator which solve the compile issues. Hopefully it can be merged soon!

FSharp.Quotations.Evaluator has a new nuget package targetting netstandard2.0 now

Just found this. I did some similar work when I noticed the FSharp.Quotations.Evaluator release to see how feasible a netstandard fsharp release was. I'm currently running the tests from a netcoreapp2.0 only entrypoint and I think I might be seeing more issues.

My branch is here, feel free to take anything that's useful.
https://github.com/kennethito/akka.net/commit/dd122b73711e3879fc33241acd201c84819f73ad

I was additionally seeing the following problems

@tjaskula Now that #3369 is merged can this issue be closed and can a new Akka.FSharp release be created? Or are there more hurdles to overcome?

Of course. However I'm not allowed to do anything but commenting.

We鈥榬e planning to release 1.3.6 shortly, so it should be available once it鈥檚 up on nuget.

CC @aarontheweb

As a normal user, does this mean that we will have support for F# and .NET Core in this next release?

@mariomeyrelles yup

Akka.Persistence.FSharp was not included? Looks like it targets net45 only? Any recommendations for that one?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

IgorFedchenko picture IgorFedchenko  路  6Comments

Aaronontheweb picture Aaronontheweb  路  6Comments

mariosangiorgio picture mariosangiorgio  路  3Comments

oberdannunes picture oberdannunes  路  4Comments

carol-braileanu picture carol-braileanu  路  4Comments