Skip to content
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

llvm-12 #364

Open
jfaure opened this issue Sep 22, 2021 · 6 comments
Open

llvm-12 #364

jfaure opened this issue Sep 22, 2021 · 6 comments

Comments

@jfaure
Copy link
Contributor

jfaure commented Sep 22, 2021

llvm-hs-9 is the latest version indexed on hackage, why are we so far behind?

@luc-tielen
Copy link
Contributor

@jfaure probably because Haskell has a smaller community, and thus libraries like these can lag behind..

@juhp
Copy link

juhp commented Oct 5, 2021

It would certainly be great to have new release(s) on Hackage :-)

@andrew-wja
Copy link
Member

As @luc-tielen says, the number of people contributing to llvm-hs is tiny compared to the number of people contributing to LLVM, so we are naturally going to be slower at releasing new versions. LLVM has changed a lot since LLVM 9, and there's quite a bit to be done to bring bindings up to date.

The LLVM official Ocaml and C bindings don't actually expose all of the C++ API, and they are also part of the LLVM project, so there is more attention and effort being applied to keep them up to date. Our FFI layer directly provides bindings to things that the C API doesn't expose, in addition to wrapping the C API for other things, so we have a decently large maintenance burden when something changes.

We have a milestone tracking the things that need to be fixed so we can push llvm-hs-12.0.0 to hackage, so if anyone feels like having a stab at some of those issues, it would be very welcome!

@luc-tielen
Copy link
Contributor

Also @andrew-wja, I've contacted the Haskell Foundation about potentially getting some funding for this library. I think LLVM is very important for Haskell because it's often used for compilers, so it makes sense (imo) to have proper support for these bindings.
Haven't heard back from them yet though.

@cwgoes
Copy link

cwgoes commented Nov 3, 2021

If funding is the bottleneck here, we (Heliax) can also perhaps help. Who should I get in touch with?

@myShoggoth
Copy link

If funding is the bottleneck here, we (Heliax) can also perhaps help. Who should I get in touch with?

Me! Email me at andrew@haskell.foundation and we can discuss how to make this happen. Any other companies for whom this is important, please do the same. We can pool resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants