上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
摘要: 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 阅读全文
posted @ 2021-02-28 01:07 kaleidopink 阅读(129) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2021-02-24 13:55 kaleidopink 阅读(120) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2021-02-14 00:31 kaleidopink 阅读(133) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2021-02-13 14:58 kaleidopink 阅读(109) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2021-02-08 01:11 kaleidopink 阅读(92) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2021-02-02 21:21 kaleidopink 阅读(139) 评论(0) 推荐(0)
摘要: 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" 阅读全文
posted @ 2021-01-31 23:47 kaleidopink 阅读(143) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2021-01-29 00:12 kaleidopink 阅读(177) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2021-01-28 16:08 kaleidopink 阅读(255) 评论(0) 推荐(0)
摘要: Error handling requires you to acknowledge the possibility of an error and take some action before your code crashes. This requirement makes your prog 阅读全文
posted @ 2021-01-27 16:25 kaleidopink 阅读(183) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页