News for hackers. Stuff that matters.
Re:Why the developers who use Rust love it so much by 9q9 on Sunday June 07, 2020 @06:36PM (#23451606)
Thanks!

The C FFI worries me because if I choose Rust for our project I'll need to interface a huge number of C / C++ libraries with the Rust core. OTOH, Mozilla seems to be doing fine mixing Rust with C++.

Re:Why the developers who use Rust love it so much by fluffything on Monday June 08, 2020 @03:14AM (#23454312)
Its not that it doesn't work, but rather that it is not guaranteed to work, and the design is basically a pile of duck tape. For example, you can use Rust arrays in a C FFI declaration, but that won't do what you think it does:

    extern "C" { fn foo(x: [u8; 42]); }
does not declare the C function

    void foo(uint8_t x[42]);