-
Notifications
You must be signed in to change notification settings - Fork 229
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
Support for multithreading #28
Comments
What's the current plan for this? |
There are currently no plans to support multithreaded LLVM. It's still something that we should explore in the future, but single-threaded LLVM is proving to be difficult and time consuming enough as it is to get right |
Do you have any rough idea as to how you would go about it? I'm working on a language right now and may be able to help if there is time. |
No clue. I think the first step is information. I have no idea what LLVM's multithreading mode does concretely. Does |
It seems that it is a compile time gate in llvm https://llvm.org/doxygen/group__LLVMCCoreThreading.html |
Is there a work-around at the moment to reuse the jit compiled function from a different thread? |
Edit: It appears EE has its own lock |
IIRC LLVM supports multithreading. We should support this at some point, if possible. It will likely have it's own set of obstacles. Any
Rc
types will likely need to be changed toArc
and our existing memory model may or may not need to be further reworked. This is for the far future, so I am marking it as v0.3.0 for now.The text was updated successfully, but these errors were encountered: