Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustix #135

Closed
joshka opened this issue Oct 5, 2024 · 3 comments · Fixed by #138
Closed

rustix #135

joshka opened this issue Oct 5, 2024 · 3 comments · Fixed by #138

Comments

@joshka
Copy link
Contributor

joshka commented Oct 5, 2024

Rustix (200M downloads) is a memory safe and I/O safe wrapper of many posix / unix / linux calls, with more idiomatic rust like bindings for errors and such. It can be replace usages of libc, nix, etc.

I'd suggest adding this in the system section, but not quite sure whether it's best to put it next to libc or nix. There's some overlap in both (and for sockets there's even overlap in the windows side of things).

@hniksic
Copy link
Contributor

hniksic commented Oct 5, 2024

rustix seems like an "obvious" alternative to nix. Another feature I'd mention is that it seems more efficient by default, as it compiles into Rust-only code that issues syscalls directly without the overhead of libc.

@nicoburns
Copy link
Owner

I feel like it probably ought to go next to (above) nix?

@hniksic
Copy link
Contributor

hniksic commented Oct 5, 2024

I feel like it probably ought to go next to (above) nix?

I concur. The two appear to be direct competitors.

joshka added a commit to joshka/blessed-rs that referenced this issue Oct 6, 2024
@joshka joshka mentioned this issue Oct 6, 2024
nicoburns pushed a commit that referenced this issue Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants