Skip to content

Build/link to Rust iceberg-c library #45

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

Closed
wants to merge 1 commit into from
Closed

Conversation

lidavidm
Copy link
Member

@Xuanwo
Copy link
Member

Xuanwo commented Mar 18, 2025

Hi, @lidavidm, maybe we should link against the iceberg-rust cpp bindings? I'll prepare another PR to demonstrate how CXX works.

${ICEBERG_INCLUDES})
${ICEBERG_INCLUDES}
SHARED_LINK_LIBS
IcebergC::iceberg_c_shared
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to make iceberg library mainly interface-oriented and add a new iceberg-rust-cxx-binding library to plug in the implementation? It is still unclear to me the extent of plug-ability in this approach.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It depends on if we want to use Rust definitions for things like data types too, or if we just want to use it to implement talking to catalogs etc.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that leveraging rust library is a good approach to move fast. However, there are still users that don't have a rust toolchain, or do not want to add extra dependencies introduced by the rust library.

@lidavidm
Copy link
Member Author

For sure, I just wanted to prove that the CMake work I did on the other side works properly.

@lidavidm lidavidm closed this Apr 7, 2025
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

Successfully merging this pull request may close these issues.

3 participants