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

Any plans of llvmlite migration? #8

Open
sowani opened this issue Aug 30, 2017 · 6 comments
Open

Any plans of llvmlite migration? #8

sowani opened this issue Aug 30, 2017 · 6 comments

Comments

@sowani
Copy link

sowani commented Aug 30, 2017

One of bitey dependencies - llvm-py (https://github.com/llvmpy/llvmpy) is now deprecated and is replaced with llvmlite (https://github.com/numba/llvmlite). Are there any plans to migrate bitey from llvm-py to llvmlite? Thanks!

@dabeaz
Copy link
Owner

dabeaz commented Aug 30, 2017

Oh. I didn't have any specific plans, but that's a good idea.

@sowani
Copy link
Author

sowani commented Aug 31, 2017

Thanks! I will explore the migration to llvmlite.

@dabeaz
Copy link
Owner

dabeaz commented Aug 31, 2017

I've been using llvmlite in my compilers course. Switching from llvmpy was relatively straightforward if my memory serves. Bitey is a bit unusual in what it does so I don't know if that will also be the case or not. However, making this work with llvmlite would be great as it comes shipped by default with Anaconda.

@dabeaz
Copy link
Owner

dabeaz commented Sep 3, 2017

I took a brief look at llvmlite. It can almost be used for bitey--almost. It's missing the ability to get argument types and result types from the functions in imported LLVM bitcode modules. This makes migration impossible at the moment. However, it might be possible to explore some workarounds. Perhaps an upstream patch to llvmlite to make it work.

@flying-sheep
Copy link

Should be there by now, no? function.ftype?

@dabeaz
Copy link
Owner

dabeaz commented Apr 1, 2019

I can't look at it right this moment, but if this is something that got added and someone thinks they can make it work, I'd definitely be interested! Bitey is not large so I'd encourage some playing around.

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

3 participants