I cannot express how relieved it makes me feel that some of the platform setup code includes an init() function which calls another function called really_init(). See dear Code Reviewer, it’s not just me who names goofy stuff like that, honest!
It’s real neat that Rust just handles this for us. If this happened to me I probably would not even know how to begin to debug this.
Not ignoring SIGPIPE is actually a pretty reasonable thing to do too. Unfortunately, there are some trade offs associated with either choice: https://github.com/rust-lang/rust/issues/62569
I cannot express how relieved it makes me feel that some of the platform setup code includes an
init()
function which calls another function calledreally_init()
. See dear Code Reviewer, it’s not just me who names goofy stuff like that, honest!In reference to ignoring SIGPIPE:
Not ignoring SIGPIPE is actually a pretty reasonable thing to do too. Unfortunately, there are some trade offs associated with either choice: https://github.com/rust-lang/rust/issues/62569
This article is amazing, and some of the other pieces on Rust on that blog are pretty insightful!