-
Notifications
You must be signed in to change notification settings - Fork 58
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
cmm / min ghc version / uniform APIS #252
Comments
tldr; cmm :) |
I have approximately zero experience with bundling CMM in Haskell libraries, so I doubt I can be much help here. If it works, however, that would be a huge win. I think it would justify the price tag of requiring a lower bound on GHC of >=7.8 (if it does come to that). |
I know @ekmett has experience with bunding cmm with haskell. Perhaps he may have some insight into how we should approach this/the doability of it? |
@chessai i'm comfortable with cmm :), i'm happy to do the hacking @chessai / @RyanGlScott what i could use some help with is
|
(i want to make sure we have a coherent list to track so i dont lose the plot) |
It's quite straightforward to calculate the list of functions that satisfy (1)—just look at everything that's guarded behind
There's also some functions that are exported on all versions of GHC that As for (2), I'm not sure if we've ever deliberately chose not to add something because of a dependency on new GHC features. |
@RyanGlScott @andrewthad
I'm thinking that it'd be nice to avoid having ghc version conditional apis, and I then realized most of the operation differences are out of line CMM primops.
ghc/ghc@5f48b24 makes em think >=7.8 ghc lower bound on build plans would be induced if we wanna do high level / sane CMM hackery , not sure, though explicit ABI / low level cmm may be needed depending on how we want large / bulk operations to interact with the scheduler
The text was updated successfully, but these errors were encountered: