Edwardzcn 
  • 首页
  • 分类
  • select
    Computer Science Life Reading Life Essay Weekly Report
  • 标签
  • 友链
  • gallery
  • 关于
  •   
  •   

Rust学习——TRPL-Part8

Managing Growing Projects with Packages, Crates, and Modules 目前所写的程序都是 in one module in one file。随着项目的增长,可以通过将代码分解成多个module 和 多个file 来组织代码。本章将会涵盖所有这些概念。对于一个由一系列相互关联的包组合而成的超大型项目,Cargo 提供了 “工作空间” 这一功能,

2021-09-28
Computer Science Rust
Rust

Rust学习——TRPL-Part7

Enums and Pattern Matching Enums are a feature in many languages, but their capabilities differ in each language. Rust’s enums are most similar to algebraic data types(代数数据类型) in functional languages

2021-09-23
Computer Science Rust
Rust

Rust学习——TRPL-Part6

Using Structs to Structure Related Data Structs and enums are the building blocks for ccrating new types in your program's domain to take full advantage of Rust's compile time type checking. Definin

2021-09-22
Computer Science Rust
Rust

高级数据库系统——Data-Storage

Data Storage 回顾 DBMS,纵列-Storage,旁路-Transaction、ACID。 DBMS 的设计十分考虑底层存储设备的特性(思考:SSD->NVM)。 Disk Structure Storage(Memory) Hierarchy 分割线 主/外存 按字节寻址与否:CPU 直接访问按字节寻址设备,按位存取,无法直接访问块设备 易失性:掉电数据是

2021-09-18
Computer Science 高级数据库系统
数据库

Rust学习——TRPL-Part5

Understanding Ownership Rust中最独特的性质,保证内存使用的安全性(不需要GC)。 Ownership is Rust’s most unique feature, and it enables Rust to make memory safety guarantees without needing a garbage collector. What Is Own

2021-09-17
Computer Science Rust
Rust
1…910111213…107

搜索

Hexo Fluid
冀ICP证18024730号 | police-icon 湘公网安备43010402000641号