Support compiled code through shared libraries #6974
frankmcsherry
started this conversation in
Technical musings
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Timely and differential dataflow have primitive support for loading shared libraries that can build dataflows. It is almost certainly undefined behavior in many ways, but it is possible that it is not undefined in that many ways.
The repo is https://github.com/TimelyDataflow/differential-dataflow/tree/master/server which may need to be tidied up.
The classes of issues include, but may not be limited to:
repr
anything, which would be deeply problematic except that Rust's linking requires consistency in layout.I'm sure there are other issues as well.
It may be that this issue involves a bit of advocacy with the Rust community, to try and get some attention paid to dynamic linking of Rust on Rust code. It may also be a terrible idea and we shouldn't do it, or perhaps we should use Graal, or perhaps ...
Beta Was this translation helpful? Give feedback.
All reactions