logoalt Hacker News

rspeele • today at 8:27 AM • 0 replies • view on HN

A language is only as memory safe as its runtime and external library interop calls. There are many more lines of code written in C executing when running a Python, Ruby, or PHP program than an equivalent Rust program.

Obviously Rust still makes plenty of calls to code that was written in C like libc or the operating system hosting it. But the other 3 do that and have tons of C in their runtime and stdlib on top of it.