Rust 程序设计语言 简体中文版 1.85.0
Hello, world!。 如果你更熟悉动态语言,如 Ruby、Python 或 JavaScript,则可能不习惯将编译和运行分为两 个单独的步骤。Rust 是一种 预编译静态类型(ahead-of-time compiled)语言,这意味着你可 以编译程序,并将可执行文件送给其他人,他们甚至不需要安装 Rust 就可以运行。如果你给 他人一个 .rb、.py 或 .js 文件,他们需要先分别安装 R v0.1.0 (file:///projects/ownership) error[E0499]: cannot borrow `s` as mutable more than once at a time --> src/main.rs:5:14 | 4 | let r1 = &mut s; | ------ first mutable borrow occurs Billion Dollar Mistake” 中曾经说到: 118/562Rust 程序设计语言 简体中文版 I call it my billion-dollar mistake. At that time, I was designing the first comprehensive type system for references in an object-oriented language0 码力 | 562 页 | 3.23 MB | 8 天前3
共 1 条
- 1