cesium-native icon indicating copy to clipboard operation
cesium-native copied to clipboard

Explore Rust or other language bindings with Cesium Native

Open j9liu opened this issue 1 year ago • 4 comments

This isn't something we're going to start working on (at the time of writing), but it's an idea that has been mentioned once or twice by now, and there's no harm in writing this down for future's sake.

There has been interest in having Rust / C# / Python bindings for Cesium Native, and Rust especially. It would be a considerable effort and isn't on our immediate roadmap for now. But if there is growing community interest in this item, we could have deeper conversations of what this effort would look like.

j9liu avatar Nov 08 '24 18:11 j9liu

Just to add on to this as I scroll through our issues backlog, we could likely generate a Rust binding automatically using rust-bindgen.

Not much point at the moment putting in work on this, I think, considering how few Cesium Native users we have outside of first party developers. But some day.

azrogers avatar Mar 28 '25 18:03 azrogers

Is there a C header file for this that could be easily used by bindgen, or jextract for a java build?

jalexcole avatar Sep 03 '25 11:09 jalexcole

@jalexcole Not at the moment, but something like SWIG might be able to generate one.

azrogers avatar Sep 03 '25 15:09 azrogers

Swig might not work in the future due to deprecating JNI.

jalexcole avatar Sep 08 '25 15:09 jalexcole