Rust integration #39
Replies: 4 comments
-
Sounds intriguing, you're looking for Rust<>Excel interop or something else? Would this conversation be better placed in the Discussions section rather? |
Beta Was this translation helpful? Give feedback.
-
Very much interested in this. Would you think to:
Least "combined" effort is Would there be appetite for |
Beta Was this translation helpful? Give feedback.
-
As for Rust<>Excel interop following crates exist: These provide support for developing XLLs with UDFs but unfortunately do not provide RTD or async (actually yes but less battle tested). |
Beta Was this translation helpful? Give feedback.
-
Sorry, it seems I don't get email updates when someone posts in a discussion! Of your 3 options, I think (3) is the least feasible since Excel's interfaces are in C/C++. I don't know rust well, but some google searching suggested (2) may also be difficult (at least there's no mainstream support), so I started on (1). I think a C interface could be created semi-automatically with SWIG but the C wrappers aren't part of the main branch, so could be buggy especially with modern C++. I started to manually create C wrappers, but it's going to be a long road! Would your priority be to get RTD support? (btw I don't see any RTD support in xladd which you linked to above) |
Beta Was this translation helpful? Give feedback.
-
I have some ideas for integrations with xlOil which would be a lot easier with Rust. I could go the pyIodide route but directly from C++ would be better.
I haven't used C++ in 25 years so I don't know anything about that side. Would be great if we could collaborate on this.
Beta Was this translation helpful? Give feedback.
All reactions