niyue opened a new issue, #37848:
URL: https://github.com/apache/arrow/issues/37848

   ### Describe the enhancement requested
   
   # Description
   Gandiva currently employs MCJIT as its internal JIT engine. However, LLVM 
has introduced a newer JIT API known as ORC v2/LLJIT, which presents several 
advantages over MCJIT:
   
   * Active Maintenance: ORC v2 is under active development and maintenance by 
LLVM developers. In contrast, MCJIT is not receiving active updates and, based 
on indications from LLVM developers, is slated for eventual deprecation and 
removal.
   * Modularity and Organization: ORC v2 boasts a more organized and modular 
structure, granting users the flexibility to seamlessly integrate various JIT 
components.
   * Thread-Local Variable Support: ORC v2 natively supports thread-local 
variables, enhancing its functionality.
   * Enhanced Resource Management: When compared to MCJIT, ORC v2 provides a 
more granular approach to resource management, optimizing memory usage and code 
compilation.
   
   In my project, I've experimented with this migration and got it to work in a 
prototype. However, transitioning Gandiva to this new API is a substantial 
undertaking. I'm keen to gauge the community's interest in migrating to this 
new JIT engine API and would greatly appreciate any feedback or insights. Thank 
you.
   
   
   
   
   
   ### Component(s)
   
   C++ - Gandiva


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to