Rust表示将创建官方规范,涉及编辑器、版本定义、语义界线等

2023.11.15,Rust在其官方博客中,发表了一篇博文,来说明Rust规范制定,将涉及哪些内容。

文章开头就说明,规范是根据RFC 3355的需求而决定制作的。RFC即Request For Comments的简称,意即征求意见。

规范将由Eric(Rust参考维护者)、Felix(Rust语言团队)、Joel(Rust基金会)、Mara(RFC作者)共同启动。

A few months ago, by accepting RFC 3355, the decision was made to start working on an official specification for the Rust language. Eric (maintainer of the Rust Reference), Felix (Rust language team), Joel (Rust Foundation) and Mara (author of the RFC) have been working together to get this effort started.

然后文章将说明Rust迄今已经做的工作和即将完成的其他计划。

编辑

首先是规范的编辑人Editor,文章表示,规范的协调和编辑将委托给Rust基金会,也就是Joel,这是作为内部人选的方案,Rust官方原本是有物色其他人选,但被拒绝了,所以才在内部遴选。

而Joel原本就是在做相关工作,且在行业标准和技术编辑方面经验丰富,是个合适的人选。

As part of the hiring effort for this role by the Foundation, we interviewed a few interested candidates with relevant experience. Because an offer to a candidate was eventually rejected, the Foundation opted to consider internal options as an alternative. The Foundation's Director of Technology, Joel, came forward as a willing candidate for the position as part of his existing job. Eric, Felix, and Mara were quickly on board with the idea of having Joel as the Specification Editor due to his vast experience with industry standards and technical editing and his proximity to the Rust project.

团队

其次,是规范的制作团队。规范不是一个人可以完成的,必然需要团队的合作。所以Rust官方将组建规范的制定团队,其初步团队是:

  • Felix Klock(领导)
  • Mara Bos(领导)
  • Joel Marcey(成员,编辑)
  • Eric Huss(成员)

相关利益人

Rust官方列了一个相关利益的清单,包括规范的专家和消费者,这些人会担任顾问和审查者。

相关利益人清单:

  • 所有Rust语言团队成员
  • 类型团队的一或多名代表
  • 操作语义团队的一或多名代表
  • Ferrocene的一或多名代表(高保证/可用性,如汽车行业)
  • 形式方法研究与开发的一或多名代表
  • 操作系统研发的一或多名代表(Rust for Linux,Windows)

授权和批准

简而言之,规范团队只负责编写规范,但Rust的主要权利还是在其他团队手里,如语言团队和库API团队。但为了编写过程的效率和顺利进行,所以会安排一个中间协调的人(如Felix),以保证规范编写过程与其他团队能够充分协调,不至于出现"打架"的情况。

目标

Rust官方表示,之所以编写规范,就是为了创造一个权威的参考,用于明确哪些文本是有效的Rust,以及其行为方式。

  1. 为所有的Rust版本提供给定程序语义的规范性界限
  2. 为特定版本的Rust提供语义的细节性描述和符合规范的实例

博文原址:https://blog.rust-lang.org/inside-rust/2023/11/15/spec-vision.html

相关推荐
花褪残红青杏小1 小时前
Rust图像处理第8节-暗角 & 复古胶片特效:四周衰减中心高亮
rust·webassembly·图形学
独孤留白17 小时前
从C到Rust:Rust 的 Trait 不是Interface,那是什么?
rust
花褪残红青杏小1 天前
Rust图像处理第7节-马赛克像素化:分块取平均色实现打码风格
rust·webassembly·图形学
doiito2 天前
【Agent Harness】Gliding Horse 设计细节 -- 不跟风开发自己的AI Agent
架构·rust·agent
doiito2 天前
【Agent Harness】Gliding Horse 核心设计理念,不跟风开发自己的AI Agent
ai·rust·架构设计·系统设计·ai agent
花褪残红青杏小2 天前
Rust图像处理第6节- 均值模糊 & 中值模糊:3×3 邻域的两种经典玩法
rust·webassembly·图形学
子兮曰2 天前
前端工具链的「Rust 化」:一场没有赢家的军备竞赛?
前端·后端·rust
星栈2 天前
写 Dioxus Demo 不难,难的是把它写成项目
前端·rust·前端框架
mCell2 天前
【锐评】桌面端技术营销:别拿跑分当工程判断
前端·rust·electron
武子康3 天前
调查研究-201 Rust 里的 dev build 和 release build:为什么同一份代码性能差这么多?
后端·架构·rust