-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use FCS nuget package #2573
Use FCS nuget package #2573
Conversation
3b618a2
to
49ad5ff
Compare
@alfonsogarciacaro Looks good to me. It was never a goal in itself to maintain a fork of FCS for .NET, it was only to overcome the transitional period when FCS was released less often and from a downstream repo. For That said, I need to update the forks soon, do you have a preference which |
@alfonsogarciacaro What does the performance looks like after switching to |
I spent some time trying to see if we could parallelize the build or release memory for already compiled files. But this didn't yield positive results. I haven't properly measured compilation as it's now, I just run it once on a big project and the first impression was the speed was more or less the same, but I need to check how watch compilations behave. |
@ncave These are the numbers I got when compiling fable standalone. I triggered the watch compilation by touching illib.fs which is at the top of the file list.
So the numbers are very similar. Maybe we could improve the watch compilation for files on top of the list by checking only the dirty files instead of the whole project, but that would be a different PR :) |
95add1f
to
6010ca3
Compare
de7bae1
to
0ffa0d7
Compare
0ffa0d7
to
0f54c30
Compare
@ncave You're probably already into it, but I already tried to fix fcs-fable (better to hide whitespace to see the diff, I just added
However, when trying to build Fable.Standalone I still get this error:
Not sure if it rings a bell. It'd be nice to be able to merge this with fable-standalone working, but we can also wait until fcs-fable is updated to keep it in sync with Fable.Cli. |
@alfonsogarciacaro I was waiting for F# 6 and .NET 6 to officially drop before I start on fcs-fable, I guess I'll have to start now that it is released. |
@ncave If I'm understanding correctly latest improvements in the F# compiler, FCS already does some similar caching to service_slim so may be it's a good opportunity to use the Nuget package directly and reduce the work of maintaining a fork. Only thing is we still need to maintain/update fcs_fable for the repl and fable-compiler-js... and by "we" I mean "you" ;) What do you think?