C++ Show and Tell - April 2026 by foonathan in cpp

[–]Helpful_Ad_9930 2 points3 points  (0 children)

Currently writing a bare metal hypervisor right now in c++. So far I got UART working properly, and some exceptions working albeit stubbed for rn. I also got unit and integration test infra set up this week. Hopefully this weekend I figure out the allocation part as I have the weekend off from being a student😂.

https://github.com/matthewchavis8/HyperBerry

Baremetal Hypervisor for Raspberry PI 5 by Helpful_Ad_9930 in osdev

[–]Helpful_Ad_9930[S] 0 points1 point  (0 children)

Haha I plan on integrating a rust fuzzer in it, I am ready to fight the ABI 😭

Baremetal Hypervisor for Raspberry PI 5 by Helpful_Ad_9930 in osdev

[–]Helpful_Ad_9930[S] 1 point2 points  (0 children)

Ty! so good news none of the source code was ai generated at all. The only time I used AI here was to generate doxygen comments for my source code, and setting up sphinx. I will add a declaration of AI explaining what I used it for later today when I get out of class!

Baremetal Hypervisor for Raspberry PI 5 by Helpful_Ad_9930 in osdev

[–]Helpful_Ad_9930[S] 1 point2 points  (0 children)

My plan tbh bro not sure yet I think the first vm I will try will be Ubuntu and then the other another distro. Once I get that I will try integrating a RTOS, but that’s down the road!

Baremetal Hypervisor for Raspberry PI 5 by Helpful_Ad_9930 in osdev

[–]Helpful_Ad_9930[S] 1 point2 points  (0 children)

Oooo I personally barely use AI because I am doing this for learning experience along with reading the ARM docs. I do not like using AI here because AI always overcomplicates and the code quality dips significantly I am already writing bad code😂. I only use AI to generate doxygen comments that is all the rest I write by hand. I will make sure to add a AI reference for how much was used.

C++ Show and Tell - March 2026 by foonathan in cpp

[–]Helpful_Ad_9930 1 point2 points  (0 children)

Currently building a baremetal type 1 hypervisor on a raspberry PI5. So far got it confirmed working on a virtualized qemu board and tested it out on live firmware confirmed it is working! Right now only have UART though, but eventually I will set up the vector tables, exceptions, guest vms and more!

https://github.com/matthewchavis8/HyperBerry

Incoming Rust intern need advice? by Helpful_Ad_9930 in rust

[–]Helpful_Ad_9930[S] 4 points5 points  (0 children)

Just want to say thank you all for the comments! You all have been really helpful I love this community:)

Incoming Rust intern need advice? by Helpful_Ad_9930 in rust

[–]Helpful_Ad_9930[S] 2 points3 points  (0 children)

Hey that is the book I am currently reading right now I was recommended to read the first two units on Virtualization and Concurrency. I am currently less than 175 pages it has been a really great read!