News for hackers. Stuff that matters.
Re:Porting Rust's Std to Rustix by samhw on Tuesday January 04, 2022 @07:41AM (#29794091)
This looks fantastic. In fact, in the best possible way, it looks boring. I'm amazed that this wasn't always how it was implemented. I hope this can be upstreamed into std.
Re:Porting Rust's Std to Rustix by sanxiyn on Tuesday January 04, 2022 @08:28AM (#29794445)
It was mostly to save time. You need libc path to support macOS anyway, and by using libc you can share most code between macOS and Linux (and BSDs). Once that is done, I think Linux-only syscall path was not justified then.

Now I think Rust has enough resource to try this.

Re:Porting Rust's Std to Rustix by samhw on Tuesday January 04, 2022 @09:54AM (#29795385)
Interesting, thanks for the detail! That makes perfect sense as a rationale. I'm glad the Rust team now has enough time to refine these things - thanks for all your work :)