duckdb-wasm icon indicating copy to clipboard operation
duckdb-wasm copied to clipboard

Polish rust bindings

Open ankoh opened this issue 4 years ago • 3 comments

Right now, we just implement the bare minimum for the shell. We should just maintain a rust crate for wasm bindings since that is useful on its own.

ankoh avatar Jul 05 '21 11:07 ankoh

It would be fantastic to be able to consume a Rust crate. Ideally, I'd be curious to leverage this with Yew.

maxcountryman avatar Jun 08 '22 03:06 maxcountryman

Sounds interesting. If you want to play around with it today, you could just copy over our rough wasm-bindgen bindings here: https://github.com/duckdb/duckdb-wasm/blob/master/packages/duckdb-wasm-shell/crate/src/duckdb/async_duckdb.rs Our web shell is written in rust and streams query results as arrow ipc streams into arrow-rs.

ankoh avatar Jun 08 '22 16:06 ankoh