What does HackerNews think of wayland-rs?

Rust implementation of the wayland protocol (client and server).

Language: Rust

#113 in Rust
> Seriously, lisp?

Sure, why not? This is a Wayland client, not the server (aka, compositor). But there's little technical reason not to make the compositor in Lisp either, other than the time commitment. If you want Rust clients and compositors, they do exist. If you don't know how to find them, here's one that turned up on Google: http://way-cooler.org/

Some more Rust/Wayland stuff:

https://github.com/Smithay/wayland-rs

I think the author is confusing something here

> The reference implementation of the protocol (Weston and it's associated libraries) is written in C. That means you could wrap the C code with Rust, which several people have done already [1] However, I get the impression that the results are not very 'rustic', meaning it's like you are coding C from Rust, instead of writing real Rust code.

> To address the problems of dealing with the existing native Wayland implementations, a couple of the Rust Wayland developers have joined together to build a new Wayland implementation in pure Rust called wlroots [2]

[1] https://github.com/Smithay/wayland-rs [2] https://github.com/swaywm/wlroots

wlroots is written in C whereas wayland-rs - a Rust implementation of the wayland protocol (client and server) is written in - Rust.

I'm not familiar with either project, but this just stood out immediately when looking at the Github pages.

Would you consider releasing parts of this as standalone crates on crates.io? I ask because there are many different things developers would like to do with KVM that might not be the same as the goals of ChromiumOS.

Also, the Wayland stuff looks cool but I'm not sure how you are managing the buffers with just the wl protocol.

There is a Wayland crate for Rust that also has support for generating protocol from the xml descriptions, not sure if you used that there.

The library is here: https://github.com/Smithay/wayland-rs and the part you would want is the `wayland-scanner` crate in that repo.

This seems like a good follow on to the work done in Go and python a while back at Google, though it would be cool to support the virtio p9fs as a root filesystem.

And, I know you can't say anything about this, but I'm happy to see the arm support in there, maybe it's possible that Google supports a fully virtualized Android device with the ability to run first class Linux, ChromeOS, etc. even on locked bootloader devices.

It would even be possible to keep a tiny resident e911-compliant dialer persistant as part of a lock screen.

Anyway, awesome work, I might have to revive kvmd at some point.