Nick Cameron: New tutorial - arrays and vectors in Rust
|
|
Воскресенье, 12 Апреля 2015 г. 04:36
+ в цитатник
I've just put up a new tutorial on Rust for C++ programmers:
arrays and vectors. This covers everything you might need to know about array-like sequences in Rust (well, not everything, but at least some of the things).
As well as the basics on arrays, slices, and vectors (
Vec), I dive into the differences in representing arrays in Rust compared with C/C++, describe how to use Rust's indexing syntax with your own collection types, and touch on some aspects of dynamically sized types (DSTs) and fat pointers in Rust.
http://featherweightmusings.blogspot.com/2015/04/new-tutorial-arrays-and-vectors-in-rust.html
-
Запись понравилась
-
0
Процитировали
-
0
Сохранили
-