-
Rust newtype with guarantees코딩Coding/Rust❤️Optimization❤️ 2023. 4. 21. 09:41728x90
https://github.com/greyblake/nutype
Philosophy
Nutype embraces the simple idea: the type system can be leveraged to track the fact that something was done, so there is no need to do it again.
If a piece of data was once sanitized and validated we can rely on the types instead of sanitizing and validating again and again when we're in doubt.
반응형'코딩Coding > Rust❤️Optimization❤️' 카테고리의 다른 글
Rust❤️History of the Borrow Checker (0) 2023.04.26 rust-unofficial/awesome-rust❤️A curated list of Rust code and resources (0) 2023.04.25 In computing, a virtual address space (VAS)가상 주소 공간 (0) 2023.04.23 Rust Data Modelling WITHOUT OOP (0) 2023.04.22 How fast can you count to 16 in Rust? (0) 2023.04.14 Restructuring Patterns (0) 2023.04.14 Strings in Rust💪 (0) 2023.04.14 Ditch your Favorite Programming Paradigm (0) 2023.04.07