3 ms·
Possibly dumb q, but potential useful to other languages?
by asplake 5y ago
Possibly dumb q, but potential useful to other languages?
- kibwen 5y agoIt looks like the goal of this project is to allow Rust code to avoid having to use FFI to call C code. In order to be useful to non-Rust languages, this project would either have to expose a C-compatible interface for FFI (which somewhat defeats the point of trying to avoid C), or else the other language would need to natively support Rust FFI (which would be a large amount of ongoing labor, since Rust doesn't have a stable ABI).
- clhodapp 5y agoI believe that it would open the door to writing a Linux-only libc in Rust, which could be cool
- nicoburns 5y agoThere is in fact already a library that does that https://github.com/redox-os/relibc https://github.com/redox-os/relibc