Language interoperability #2508
Replies: 8 comments 6 replies
-
@kgpai has started looking into Python bindings and there were discussions in the past with the Intel team about generalizing the Java bindings from Gluten, but we haven't discussed about Rust yet (though it would be nice to support). Is it something you would be interested in contributing? |
Beta Was this translation helpful? Give feedback.
-
@pedroerp If there is some architectural guidence on how to go about providing language bindings then I can do rust bindings. I think currently the language bindings are happening outside the velox and I don't know how are they implementing. If there is some structure from velox team then other language bindings can flurish. |
Beta Was this translation helpful? Give feedback.
-
@kesavkolla Once we have the python bindings out ; you can probably use that as a reference for rust . We are still working on the api's and trying to determine the public / private interface , so its hard to provide guidance on bindings just yet. |
Beta Was this translation helpful? Give feedback.
-
@kgpai I understand that. In general we should be using something similar to Arrow C interface. This will give seemless interactions of data between programming language to native C. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to develop WASI layer for velox? That way we can integrate velox into any programming language. Today we have to work with C/C++ in native programming language integrations. If there is a WASI compatible layer then people can use in any programming language. I hope runtimes like wasmer or wasmtime can work with very low overhead. |
Beta Was this translation helpful? Give feedback.
-
Is there any movement on this front? Is there any easy path that developers can use velox from other programming languages? |
Beta Was this translation helpful? Give feedback.
-
Hi Kesav, Firstly, Apologies for the delayed response. Atm I am not aware of an plans to add WASI layer for Velox. You are welcome to contribute this by creating an issue and detailing the design etc. We have started with python bindings for Velox and have created PyVelox with rudimentary bindings (atm only expression eval and simple flat vectors) though we plan to add a lot more to this in the immediate short term. |
Beta Was this translation helpful? Give feedback.
-
Hi there! I’m interested in using Velox in Rust as well and will be looking on implementing bindings. Would love to work on them alongside the core Velox team and contribute them directly to Velox if that would be the wish of the team. Is this something others would be willing to work on alongside myself and my team? Any tips other than inspire ourselves from PyVelox? |
Beta Was this translation helpful? Give feedback.
-
Is there any plan to provide other programming language bindings for velox? I am looking for rust bindings so that I can use velox in rust.
Beta Was this translation helpful? Give feedback.
All reactions