nikomatsakis / rust-design-axioms

Discovering and describing Rust's design axioms
https://nikomatsakis.github.io/rust-design-axioms/
Other
66 stars 3 forks source link

There seem to be priorities that supersede making rust suitable for all code that aren't reflected #14

Open xurtis opened 9 months ago

xurtis commented 9 months ago

I feel as though the historic efforts of interoperability aren't reflected here and would seem to be superseded by the current form of the axiom of versatility, that suggests this is primarily done as an effort to make it possible to do everything in Rust itself.

I think that the true versatility of Rust is shown when you can use as little of it as you need to reap the benefits you are after.

The Rust project and the projects around it have invested greatly in ensuring that Rust plays nicely with other languages, with minimal developer effort, to an impressive degree:


Rust complements code in others systems so it is interoperable. The language and tools provide clear boundaries, which can function as interfaces to other languages, and features that avoid runtime dependencies.

Rust provides benefits in a broad range of contexts, so it is versatile. You can use Rust to write low-level code, where it can precisely manage architectural and systems concerns, and at high level, where ergonomic abstractions can deal with problems in their conceptual form, and anywhere in-between.