[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] is anybody experimenting with the idea of rust code in
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] is anybody experimenting with the idea of rust code in QEMU? |
Date: |
Tue, 21 May 2019 16:48:12 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 21/05/19 16:39, Peter Maydell wrote:
> Hi; I have on my todo list the idea of some experimentation/prototyping
> of whether being able to write some components of QEMU in Rust would
> be (a) feasible (b) beneficial (c) fun to play around with even if
> it is likely that it doesn't go anywhere :-)
>
> I know Paolo has had a look at how you might write some makefiles
> to integrate rust into a C program (https://github.com/bonzini/rust-and-c/).
> Has anybody else been doing anything in this general area ?
I have a version of QEMU's RCU that can be called from Rust code with a
nice API (https://github.com/bonzini/rust-rcu-qemu). The idea was to
continue with a port of the memory API, and then to use rust-vmm's
virtio code.
Paolo
> (I went to two good talks locally recently about rust-vmm and Amazon's
> 'firecracker' VMM by Andreea Florescu and Diana Popa -- I
> definitely plan to look at rust-vmm as part of this.)
>
> thanks
> -- PMM
>