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.
[ Parent
| on HN ]
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.