Is there a specification or standard for Rust?

303 Views Asked by At

Is there a specification or standard for Rust? Kind of like the ECMAScript specification for JavaScript?

I found https://github.com/rust-lang/reference, and it says:

This document is not normative. It may include details that are specific to rustc itself, and should not be taken as a specification for the Rust language. We intend to produce such a document someday, but this is what we have for now.

2

There are 2 best solutions below

0
Jonas Fassbender On

No, Rust is not standardized and doesn't have a complete specification as of yet. Read more about it in this great blog post by Mara Bos from Rust's library team: https://blog.m-ou.se/rust-standard/

0
Chayim Friedman On

No, but there's not-yet-accepted RFC for that: https://github.com/rust-lang/rfcs/pull/3355. However, it doesn't suggest a standard like C++'s, for example, read Mara's blog post for an explanation why.