Thanks Xuanwo! Looking forward to the possibility of iceberg-cpp integration with the C FFI!
Best, Gang On Tue, Feb 18, 2025 at 3:21 PM Renjie Liu <liurenjie2...@gmail.com> wrote: > Hi: > > Thanks Xuanwo for raising this. > > As xuanwo mentioned, rust implementation + c binding will provide a good > foundation for cross lang implementation of iceberg spec, including cpp > implementation. > > Looking forward to see more opinions from community! > > On Tue, Feb 18, 2025 at 2:52 PM Xuanwo <xua...@apache.org> wrote: > >> Hello everyone >> >> I have started a PoC to introduce C FFI for Iceberg Rust. This will allow >> users to interact with Iceberg Rust through the C ABI, enabling them to >> integrate Iceberg support into their existing C or C++ codebase. >> >> You can view the PR here: https://github.com/apache/iceberg-rust/pull/966 >> >> As asked by Manu Zhang: >> >> > Just curious how would this interface work with iceberg-cpp? Will there >> be collaboration or duplication? >> >> There is some duplication for specific use cases, such as when users only >> need a C ABI, which both the iceberg-rust C binding and iceberg-cpp can >> provide—although neither of them is fully functional at the moment. >> >> However, I started this C binding with the intention of fostering >> collaboration: >> >> The iceberg-rust C binding exposes a C ABI, unlocking significant >> potential for broader community engagement with languages like Lua, Swift, >> Zig, PHP, and more. >> iceberg-cpp could leverage our C binding for certain components like file >> I/O and catalog management. >> >> This C FFI is still in its very early stages, and I'm looking forward to >> your feedback, especially from friends on the iceberg-cpp project. >> >> Thank you! >> >> Xuanwo >> >> https://xuanwo.io/ >> >