In both cases, you cannot simply take a random ISO C, ISO C++ or Rust crates code and hope it will work without a single code change in such environment.
That being said, I do think it would have been nice if the author had chosen a more interesting benchmark, but alas...