摘要:
Functional Dependencies There is a design theory for relations that lets use examine a design carefully and make improvements based on a few simple pr 阅读全文
摘要:
Handling concurrent programming safely and efficiently is another of Rust's major goals. For simplicity's sake, we'll refer to many of the problems as 阅读全文
摘要:
Unsafe Rust So far, you can see that Rust has a strict memory safety guarantee at compile time. However, sometimes this safety guarantee can be annoyi 阅读全文
摘要:
A pointer is a general concept for a variable contains an address in memory. Smart pointers are data structures that not only act like a pointer but a 阅读全文
摘要:
Hash Tables The hash table is a main memory data structure, in such a structure there is a hash function that takes a search key as an argument and co 阅读全文
摘要:
How to Write Tests Tests are functions that verify that the non test code is functioning in the expected manner. The bodies of test functions typicall 阅读全文
摘要:
An index is any data structure that takes the value of one or more fields and finds the records with that value quickly. Basics Indexes can be "dense" 阅读全文
摘要:
In Rust, generics is a tool for establishing abstract stand ins for concrete types or other properties. When we're writing code, we can express the be 阅读全文
摘要:
Reference and Borrowing In Rust, we use sign to refer a variable, so as in C++. Reference can be used as a constant parameter passed to functions, whi 阅读全文
摘要:
Error handling requires you to acknowledge the possibility of an error and take some action before your code crashes. This requirement makes your prog 阅读全文