Files
Knowledge/0 编程/rust/rust 编程语言.md
T

37 lines
448 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## 擅长领域
- 高性能 Web Service
- WebAssembly
- 命令行工具
- 网络编程
- 嵌入式设备
- 系统编程
## 优点
- 性能高
- 安全性好
- 无所畏惧的并发
## 数据类型
#### 标量类型
- 整数
- 值溢出,debug 模式会panic ,release 模式不会
- 浮点类型
- 布尔
- 字符
#### 复合类型
- 元组 tuple
- 数组
## 所有权
- 每个值同时只能有一个所有者
### 引用
### 借用