Re: amount of low level code needing unsafe blocks, its worth checking out this series that documents creating a bare metal kernel in rust that has lots of type safety and uses shockingly little assembly or unsafe:<p><a href="http:&#x2F;&#x2F;os.phil-opp.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;os.phil-opp.com&#x2F;</a>