On 5 May 2017 at 09:53, Pekka Paalanen <ppaala...@gmail.com> wrote: > What could you do then, if you don't want to wrap the C implementation > of libwayland... > > Borrowing the idea from Daniel Stone from whom I heard it first, the > only other option is to reimplement libwayland *including* its C ABI in > Rust. You need to completely throw away the C implementation of > libwayland and replace that with your own libwayland-*.so built with > Rust. Then you will get libEGL calling into your implementation and it > will be the sole implementation, which should let things work.
This is exactly the approach I am taking with sudbury [1] (written in Haskell, see also my 1st of April RFC). The client side is up and running, and while I am aware of the further complications on the server side, I think these are solvable. [1] https://github.com/abooij/sudbury _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel