abooij / sudbury

Haskell implementation of the wayland protocol
MIT License
89 stars 5 forks source link

Status of sudbury #13

Closed tdupes closed 8 years ago

tdupes commented 8 years ago

I was looking to make a window manager in Haskell for Wayland. Is Sudbury at a stage that it would be good for being used in such a project? I can't seem to find any documentation anywhere that would be useful for using the project.

abooij commented 8 years ago

I wouldn't say so. For server-side applications, the only thing sudbury offers is encoding and decoding byte streams into appropriate wayland packets. But I think much more than this can be done: the packets should automatically get relevant protocol metadata attached, and we should support a strongly typed callback mechanism (in which wayland packets of a certain type are processed by appropriate callbacks).

tdupes commented 8 years ago

Ohh ok I see. Would Hayland be better to use? Does it provide anymore functionality then this project?

abooij commented 8 years ago

I don't believe hayland is a useful direction of development: it doesn't allow access to the wayland protocol, it doesn't present utilities for writing window managers (but maybe one could write libweston bindings), it doesn't present a nice API for graphical programs, it doesn't present a nice API for debuggers.