On Tue, Nov 27, 2018, 1:13 AM Paolo Bonzini <firstname.lastname@example.org wrote:
On 27/11/18 06:42, Liguori, Anthony via Kata-hypervisor wrote:
On a personal note, I absolutely love Rust! I think the language was
made for this purpose.
Yes, it's very interesting. I hope to introduce Rust in QEMU too, and I'd love to discuss with you (also based on your QEMU background) what you think is the best way to hook Rust and C together.
Go the other direction -- use the C as spec, and build up the Rust to meet it.
Don't marry C and Rust unless you have a use case that requires it.
A while ago I looked at https://github.com/crossbeam-rs/crossbeam-epoch, and it seemed like it could be adapted to become an RCU implementation and/or a wrapper for QEMU's RCU. This would be very important since RCU is used for several central data structures in QEMU (e.g. the memory regions).
Kata-hypervisor mailing list Kataemail@example.com http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-hypervisor