Hi Ayush!

I had a decent look at your proposal, and I have some questions (note that you can always re-submit proposals until April 19th):

1) How are you planning to reconcile the cargo build system with EDK2's build system?

2) If you go ahead with cargo, will the new Rust code require a lot of tiny crates? I'm personally not very enthusiastic about having lots of dependencies all over the place,
especially somewhere Tianocore doesn't control. I've seen Rust crates that were integrated into an operating system (https://fuchsia.googlesource.com/fuchsia/+/refs/heads/main/third_party/rust_crates/),
where they essentially maintain their own versions of the crate, with the "proper" build system that the project uses.

3) How much of std are you going to implement? Note that traditionally, EDK2, like a lot of this firmware/kernel/bootloader code, doesn't actually implement much of the standard library (and that's the reasoning behind edk2-libc).

4) Do you have any idea of what DXE driver you're going to implement? Do you have any experience writing drivers?

5) Any plans for generation of C <-> Rust bindings? Does https://github.com/rust-lang/rust-bindgen work out of the box?

Best regards,
Pedro 

On Mon, Apr 4, 2022 at 6:18 PM Ayush Singh <ayushdevel1325@gmail.com> wrote:
Hello everyone, I am a 2nd-year University Student from India. I am
interested in applying for adding Rust support to EDK2. I have already
introduced myself to the mailing list earlier
(https://edk2.groups.io/g/devel/message/87637) and have even submitted
some patches for the edkii-rust branch in edk2-staging (which were not
merged since that branch seems to be abandoned now).
- https://edk2.groups.io/g/devel/message/87753
- https://edk2.groups.io/g/devel/message/87754
- https://edk2.groups.io/g/devel/message/87755
- https://edk2.groups.io/g/devel/message/87756

Anyway, since no mentor has been listed for this project, I was
wondering who should I discuss the proposal with? Normally, I think
one is supposed to discuss the proposal details with a mentor in form
of a google doc or something before submitting an application. So
should I directly start by submitting a proposal through the GSoC
application portal? Or is there someone I should contact first?

Ayush Singh







--
Pedro Falcato