You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is anyone actually using the Job<_> overloads available throughout Felicity? Please let me know. I am considering removing them.
Felicity uses Hopac for performance reasons. When I made the switch from F#'s Async<_> to Hopac's Job<_> long ago, I also made overloads accepting Job<_> throughout Felicity, but I have never used them myself; I only use the Async<_> overloads.
The way I see it, Felicity's primary problem at the moment is too many overloads. This manifests itself in two ways:
When using Felicity, there may be problems where F#'s overload resolution can't find a unique overload, meaning that type annotations are needed and things get more verbose.
When developing Felicity, I have to add a lot of overloads for all API additions.
Since the Job<_> overloads are named distinctly from the Async<_> ones, the first point is not relevant here; it is the second point above that would improve by removing the Job<_> overloads.
Furthermore, this would make Hopac an implementation detail, meaning that I could switch it out if I found anything better. (Not sure what that would be or if it will ever be relevant; I just tried switching to F#'s native task CE, but the performance was 3x worse.)
The text was updated successfully, but these errors were encountered:
Is anyone actually using the
Job<_>
overloads available throughout Felicity? Please let me know. I am considering removing them.Felicity uses Hopac for performance reasons. When I made the switch from F#'s
Async<_>
to Hopac'sJob<_>
long ago, I also made overloads acceptingJob<_>
throughout Felicity, but I have never used them myself; I only use theAsync<_>
overloads.The way I see it, Felicity's primary problem at the moment is too many overloads. This manifests itself in two ways:
Since the
Job<_>
overloads are named distinctly from theAsync<_>
ones, the first point is not relevant here; it is the second point above that would improve by removing theJob<_>
overloads.Furthermore, this would make Hopac an implementation detail, meaning that I could switch it out if I found anything better. (Not sure what that would be or if it will ever be relevant; I just tried switching to F#'s native
task
CE, but the performance was 3x worse.)The text was updated successfully, but these errors were encountered: