News for hackers. Stuff that matters.
Re:Why the developers who use Rust love it so much by ncmncm on Saturday June 06, 2020 @07:49AM (#23438511)
It is absolutely true.

The language features that make C++ libraries powerful are wholly inaccessible from Rust, and will remain so. Rust will only ever be able to use parts of C++ libraries specifically cut down or bowdlerized for access by foreign languages.

Much of the power of C++ libraries is in their ability to direct the compiler's treatment of the calling code.

You cannot write an equivalent of std::tie in Rust, or call it.

Re:Why the developers who use Rust love it so much by zozbot234 on Saturday June 06, 2020 @09:01AM (#23438889)
Rust supports proc macros that can "direct the compiler" in arbitrary ways.
Re:Why the developers who use Rust love it so much by ncmncm on Saturday June 06, 2020 @07:19PM (#23443219)
Rust macros know nothing about types, and anyway C++ libraries define no Rust macros.