“Burn the witch!”, they yell
This is written in Rust because I personally believe that writing security critical components that we would ship with the operating system in C is a massive disservice to our users. Go also doesn’t really have a good story to do interoperability with core C system components like this (the Go runtime is massive and as of writing this post the entire PAM module I’ve written is smaller than the Go runtime, even with a statically compiled copy of libcurl).
Source: The Surreal Horror of PAM – Xe
You can already see C fanbois off in the distance carrying pitchforks and torches