EFI Application in Rust


#1

Hi guys,

I’m going to have to write a UEFI OS loader soon. I have done it once before but I was wondering if I should do it in Rust this time. So I wanted to know if anyone of you has done something like this in production and, if yes, how did it go. Are there any pitfalls to watch out for etc.? Any information will be highly appreciated :slight_smile:

I do know that there is this blog by Brian Holk where he shows a fundamental way of achieving it. And there are a few crates or libraries like this which I suppose I can leverage, but I wanna know if anyone has had a real world experience of doing it and having the code run in production.

Thanks :slight_smile:


#2

I’m not aware of any production uses, but I’ve heard of people writing bare metal raspberry pi code in rust.

Also maybe useful (though not EFI, I believe):

https://os.phil-opp.com/ : Phill Oppman’s rust kernel
https://github.com/redox-os/bootloader : redox (complete OS in Rust) has a bootloader


#3

Thanks @juleskers :slight_smile:. I’ll take a look at those links.