3 ms·
Rust won't magically fix every vulnerability and someone would have to pay a team of engineers to rewrite everything.
by mkopec 3y ago
Rust won't magically fix every vulnerability and someone would have to pay a team of engineers to rewrite everything.
- jeroenhd 3y ago> someone would have to pay a team of engineers to rewrite everything A partial effort has already been made a while back: https://github.com/tianocore/edk2-staging/tree/edkii-rust https://github.com/tianocore/edk2-staging/tree/edkii-rust However, this uses uefi-rs, which is incompatible with TianoCore's BSD+Patent licensing, and therefore cannot be used as reference material, as the wiki page states: https://github.com/tianocore/tianocore.github.io/wiki/Tasks-Add-Rust-Support-to-EDK-II https://github.com/tianocore/tianocore.github.io/wiki/Tasks-... More recent efforts have also been mentioned in the mailing list: https://edk2.groups.io/g/devel/search?p=recentpostdate%2Fsticky%2C%2C%2C20%2C2%2C0%2C0&q=Rust https://edk2.groups.io/g/devel/search?p=recentpostdate%2Fsti... Rust also has a basic standard library implementation now: https://github.com/rust-lang/rust/pull/105861 https://github.com/rust-lang/rust/pull/105861
- the_panopticon 3y agoSome of the challenges in adding Rust to EDKII are described in https://cfp.osfc.io/osfc2020/talk/SLFJTN/ https://cfp.osfc.io/osfc2020/talk/SLFJTN/. There is some more recent work in this space described in https://microsoft.github.io/mu/WhatAndWhy/rust/ https://microsoft.github.io/mu/WhatAndWhy/rust/, too.