logoalt Hacker News

Spivakyesterday at 8:27 PM1 replyview on HN

I mean I get the sentiment but Rust won't save you against division by zero, it'll just panic at runtime like every other language.


Replies

Gigachadyesterday at 11:07 PM

From a security perspective, panic at runtime is not that bad for security. Much better than continuing to run with undefined behavior. If someone sends a malformed video in and it crashes the ffmpeg process you can just log it and restart it. Vs potentially exploiting the system.