swaywm / wlroots

A modular Wayland compositor library
https://gitlab.freedesktop.org/wlroots/wlroots/
MIT License
2.15k stars 340 forks source link

use RPC to make wlroots language agonistic #2004

Closed unmellow closed 4 years ago

unmellow commented 4 years ago

so I read this and, thought RPC in the style of what Raph Levien did with xi-editor would be a good way to allow people to write compositors in whatever language they want. I wrote a little more about it in an issue I posted for smithay It might be possible or even a better idea to just have a wrapper on your currant API so as to not break compatibility with current compositors but if you want this to be even more ubiquitous there needs to be a solution to cross language compositors

emersion commented 4 years ago

We're not interested in having this upstream. The Way Cooler post-mortem post explains a few reasons why this isn't desirable.

Compositors can implement RPC if they want to, and there are various wlroots bindings available for other languages.