From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vs1-f48.google.com (mail-vs1-f48.google.com [209.85.217.48]) by mx.groups.io with SMTP id smtpd.web10.1195.1649276141436313957 for ; Wed, 06 Apr 2022 13:15:41 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=By/6KkLH; spf=pass (domain: gmail.com, ip: 209.85.217.48, mailfrom: pedro.falcato@gmail.com) Received: by mail-vs1-f48.google.com with SMTP id j14so1633060vsq.1 for ; Wed, 06 Apr 2022 13:15:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HP70cLmTGT0yiaqpel6rpQbDPFG/RTr9e9JNXfF7Ivo=; b=By/6KkLHbw1g8R6wcgNSo6LZMPBeQh6n51IenZ1ZGsGPAuQ9+OV9ruFIFc33li2xgP NxpRLn0nXlpPPqs/Rh1V1mBgZFDRe87IslfJEfFDFST0zlE4XDUvxOTKxPX7+ALDCZzx +B7ialtSfloV47OfU+IvDDRwGO0nPBQalNobY8HR5w8OwxEjlIHdsan8TfWsOT/p6Du7 NP3Fqbytx3FPZc+0fZZqnTidqQnqP4lmwkGupmZ5z02kFHuHI3QVDQ0OuiAD0xJJxtfJ 0VnzWiSLxuHL+RSXBalWUwb6xRdXMygvJZmRG9Fy+4Nqcf0OnkRHYhgz6XPIFD4LQB8Y 5ffQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HP70cLmTGT0yiaqpel6rpQbDPFG/RTr9e9JNXfF7Ivo=; b=JNBIGMPZTYIToySO+9A9ouCf09HKhBDgnn6pewwInaOvLHirgpT49E6e9tQCE6S/c/ zDLwRDvWz+FRfKi25DVXM5+dOKcHL634Wjs+hBgr1B0cGZ877v8drMrmTcsbriZ3+znF 8YzwhK30x9QvIynb8XgvKDMrBrc9Zjc4w2X6+tNTS3dVBhrxz/tupNKQmNX/qGn679zF JxsIBdrPRSqdrxExdrVWRtUaq8uIeO9giM9oIBF4Fzj6wwGE0B9qIDeJvDiBiKWX2edG ePR3qKoWzKqg7GqEpZbzxVt0gBizR+gvlnsXVgQ93hBsXmTMWaVHGyP3OUH+eKteJiRW S4AQ== X-Gm-Message-State: AOAM531RIFMkQqsQBRabB3ncwZhirEocVXlt0ERVuKxL/VgiEANX0POo F/3D9bxGEnQdN2UlkjB2WZWxyKtdwVJd+udai1PkG/4EHLUH/A== X-Google-Smtp-Source: ABdhPJzEqSSMK+iueUyAOW/4AxdZ5QRwpYIkEHZvxIMqQ674/rHv0Cl58OoxSrB6zrZkjs8ilRVtzBzxprjeM53L6io= X-Received: by 2002:a67:d38f:0:b0:327:e8fe:b672 with SMTP id b15-20020a67d38f000000b00327e8feb672mr3617412vsj.62.1649276140221; Wed, 06 Apr 2022 13:15:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Pedro Falcato" Date: Wed, 6 Apr 2022 21:15:28 +0100 Message-ID: Subject: Re: [edk2-devel] Applying for GSoC 2022: Add Rust Support to EDK II To: edk2-devel-groups-io , ayushdevel1325@gmail.com Cc: Bret Barkelew , Nate DeSimone , =?UTF-8?Q?Marvin_H=C3=A4user?= Content-Type: multipart/alternative; boundary="0000000000007978f605dc020678" --0000000000007978f605dc020678 Content-Type: text/plain; charset="UTF-8" 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 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 --0000000000007978f605dc020678 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Ayush!

I had a decent look at your p= roposal, and I have some questions (note that you can always re-submit prop= osals until April 19th):

1) How are you=C2=A0plann= ing to reconcile the cargo build system with EDK2's build system?
=

2) If you go ahead with cargo, will the new Rust code r= equire a lot of tiny crates? I'm personally not very enthusiastic about= having lots of dependencies=C2=A0all over the place,
especially = somewhere Tianocore doesn't control. I've seen Rust crates that wer= e integrated into an operating system (https://fuchsia= .googlesource.com/fuchsia/+/refs/heads/main/third_party/rust_crates/),<= /div>
where they essentially maintain their own versions of the crate, = with the "proper" build system that the project uses.
<= br>
3) How much of std are you going to implement? Note that trad= itionally, EDK2, like a lot of this firmware/kernel/bootloader code, doesn&= #39;t actually implement much of the standard library (and that's the r= easoning behind edk2-libc).

4) Do you have any ide= a of what DXE driver you're going to implement? Do you have any experie= nce writing drivers?

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

Best regards,
Pedro=C2=A0

On Mon, Apr 4, 2022 at 6:18 PM Ayush Singh <ayushdevel1325@gmail.com> wrote:
Hello everyone, I am a 2nd-year Un= iversity 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 h= ave 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
--0000000000007978f605dc020678--