&gt; what percentage of a library like glibc would be spent in unsafe blocks?<p>Probably less than you think. What I think the limit is is that there are functions in glibc that present inherently unsafe interfaces. I&#x27;m not sure how many but it might be enough that writing libc in Rust is not that helpful.