You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Python ecosystem, the PyO3 project has been a game changer by allowing developers to seamlessly interact with complex data structures between the Python runtime and Rust.
This opened the door for popular libraries that can bring a lot of optimizations into the Python ecosystem.
In order to provide a similar experience in the JavaScript world, libraries like Polars use the NAPI wrapper napi-rs.
Since current FFI does not support passing complex data types "as-is" without a client-side serialize/deserialize code, I was thinking a helper library should already exist, but couldn't find anything.
Is someone aware of anything like that that we can use with Deno?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In the Python ecosystem, the PyO3 project has been a game changer by allowing developers to seamlessly interact with complex data structures between the Python runtime and Rust.
This opened the door for popular libraries that can bring a lot of optimizations into the Python ecosystem.
In order to provide a similar experience in the JavaScript world, libraries like Polars use the NAPI wrapper napi-rs.
Since current FFI does not support passing complex data types "as-is" without a client-side serialize/deserialize code, I was thinking a helper library should already exist, but couldn't find anything.
Is someone aware of anything like that that we can use with Deno?
Beta Was this translation helpful? Give feedback.
All reactions