Comment by gpm

15 hours ago

> nor there is support for binary libraries.

This is a weird call-out because it's both completely incorrect and completely irrelevant to the larger point.

Rust absolutely supports binary libraries. The only way to use a rust library with the current rust compiler is to first compile it to a binary format and then link to it.

More so than C++ where header files (and thus generics via templates) are textual.

Cargo, the most common build system for rust, insists on compiling every library itself (with narrow exceptions - that include for instance the precompiled standard library that is used by just about everyone). That's just a design choice of cargo, not the language.

Rust does, Rust editions do not have a story for them.

  • The story is that it must not matter which edition a library was compiled with - it's the boundary layer at which different editions interoperate with eachother.

    • Provided everything is available in source code, there are no semantic changes on the boundary level, or standard library types being used on the library public API that changed across editions.

      1 reply →