英文:
Is there a specification or standard for Rust?
问题
关于Rust是否有规范或标准,类似于JavaScript的ECMAScript规范吗?
我找到了https://github.com/rust-lang/reference,并且上面写着:
本文档不是规范性文件。它可能包含与rustc本身相关的细节,不应被视为Rust语言的规范。我们打算未来会制定这样的文档,但目前这是我们拥有的内容。
英文:
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.
答案1
得分: 5
不,Rust尚未标准化,也没有完整的规范。有关更多信息,请参阅Rust库团队的Mara Bos在这篇出色的博文中:https://blog.m-ou.se/rust-standard/
英文:
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/
答案2
得分: 2
不,但目前尚未接受的RFC提出了这个: https://github.com/rust-lang/rfcs/pull/3355。然而,它并没有像C++那样提出一个标准,例如,阅读Mara的博客文章以了解为什么。
英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论