{"id":286238,"date":"2017-05-12T15:45:04","date_gmt":"2017-05-12T11:45:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=286238"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2017-05-12T11:45:04","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=286238","title":{"rendered":"\u041d\u043e\u0432\u044b\u0439 Rust-\u043c\u0438\u0442\u0430\u043f \u0443\u0436\u0435 18 \u043c\u0430\u044f \u0432 \u041b\u041a: \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0435 \u2013 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u043e"},"content":{"rendered":"<p>18 \u043c\u0430\u044f \u0432 \u043c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u043e\u043c \u043e\u0444\u0438\u0441\u0435 \u00ab\u041b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u0438\u0438 \u041a\u0430\u0441\u043f\u0435\u0440\u0441\u043a\u043e\u0433\u043e\u00bb \u043f\u0440\u043e\u0439\u0434\u0451\u0442 \u0442\u0440\u0435\u0442\u044c\u044f \u043f\u043e \u0441\u0447\u0435\u0442\u0443 \u0432\u0441\u0442\u0440\u0435\u0447\u0430 \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u0435\u0439 \u0438 \u043f\u0440\u043e\u0444\u0438, \u043f\u0438\u0448\u0443\u0449\u0438\u0445 \u043a\u043e\u0434 \u043d\u0430 Rust. \u0413\u043e\u0441\u0442\u0435\u0439 \u043d\u0430\u0448\u0435\u0433\u043e \u043c\u0438\u0442\u0430\u043f\u0430 \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430 \u0436\u0434\u0451\u0442 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0438 \u043d\u0430\u0441\u044b\u0449\u0435\u043d\u043d\u0430\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0441 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435\u043c \u0441\u0430\u043c\u044b\u0445 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432: \u043c\u044b \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u041e\u041e\u041f \u0432 Rust \u0438 \u043e \u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u0445, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0440\u0430\u0441\u043a\u0440\u043e\u0435\u043c \u0432\u0441\u0435 tips&#038;tricks \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u043e\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u0439.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/ac5\/a3c\/824\/ac5a3c82465f4392bfb7f161b2216aca.jpg\"\/><br \/>  <a name=\"habracut\"><\/a><br \/>  \u0415\u0441\u043b\u0438 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435, \u0442\u043e \u0432\u0430\u0441 \u0436\u0434\u0443\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0434\u043e\u043a\u043b\u0430\u0434\u044b.<\/p>\n<ul>\n<li><b>\u0415\u0441\u0442\u044c \u043b\u0438 \u041e\u041e\u041f \u0432 Rust?<\/b> \u041c\u0438\u0445\u0430\u0438\u043b \u041f\u0430\u043d\u043a\u043e\u0432, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u00ab\u041b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u0438\u0438 \u041a\u0430\u0441\u043f\u0435\u0440\u0441\u043a\u043e\u0433\u043e\u00bb, \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u0442 \u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u043e\u0432 \u041e\u041e\u041f \u0432 Rust: \u0438\u043d\u043a\u0430\u043f\u0441\u0443\u043b\u044f\u0446\u0438\u044f, \u0441\u043e\u043a\u0440\u044b\u0442\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0431\u0441\u0443\u0434\u0438\u043c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u044e\u0449\u0438\u0435 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435. <\/li>\n<li><b>\u0422\u043e\u043d\u043a\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 FFI.<\/b> \u041f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u043e\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0432 Rust \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0431\u0440\u0435\u0441\u0442\u0438 \u043d\u0430 \u043a\u0443\u0447\u0443 \u043f\u043e\u0434\u0432\u043e\u0434\u043d\u044b\u0445 \u043a\u0430\u043c\u043d\u0435\u0439. \u041a\u0430\u043a \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u0432\u043b\u0430\u0434\u0435\u043d\u0438\u0435 \u0438 \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u043a\u0430 \u0437\u0430\u0438\u043c\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0439 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u00ab\u043d\u0430\u0440\u0443\u0436\u0443\u00bb? \u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 drop flags \u0438 \u043a\u0430\u043a \u043e\u0441\u0432\u043e\u0431\u043e\u0436\u0434\u0430\u0442\u044c \u043f\u0430\u043c\u044f\u0442\u044c? \u041a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u043e \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438 \u0438 \u0432 \u0447\u0435\u043c \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 String, CStr \u0438 CString? \u041d\u0430 \u044d\u0442\u0438 (\u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e) \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043e\u0442\u0432\u0435\u0442\u0438\u0442 \u041d\u0438\u043a\u0438\u0442\u0430 \u0411\u0430\u043a\u0441\u0430\u043b\u044f\u0440, Rust-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 MaidSafe. <\/li>\n<li><b>RustCrypto \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u044b.<\/b> \u0412\u043c\u0435\u0441\u0442\u0435 \u0441 \u0410\u0440\u0442\u0451\u043c\u043e\u043c \u041f\u0430\u0432\u043b\u043e\u0432\u044b\u043c (\u0430\u0441\u043f\u0438\u0440\u0430\u043d\u0442 \u0421\u043a\u043e\u043b\u0442\u0435\u0445\u0430 \u0438 \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c Rust) \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a: ring, openssl, rustls, ed25519-dalek \u0438 \u0434\u0440\u0443\u0433\u0438\u0445. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c\u0441\u044f \u043d\u0430 RustCrypto: \u0435\u0433\u043e \u0438\u0441\u0442\u043e\u0440\u0438\u0438, \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0430\u0445, \u0446\u0435\u043b\u044f\u0445 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f.<\/li>\n<\/ul>\n<p>  \u041d\u0430\u043f\u043e\u043c\u043d\u0438\u043c, \u0447\u0442\u043e \u043f\u0435\u0440\u0432\u044b\u0439 \u043c\u0438\u0442\u0430\u043f \u043f\u043e Rust \u0441\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u043f\u043e\u0447\u0442\u0438 \u0433\u043e\u0434 \u043d\u0430\u0437\u0430\u0434: \u0442\u043e\u0433\u0434\u0430 \u043c\u044b \u0438\u0437\u0443\u0447\u0438\u043b\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044b, \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c\u044b\u0435 \u0432 \u044f\u0437\u044b\u043a\u0435, \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043b\u0438 \u0435\u0433\u043e \u0441 C++, \u043e\u0431\u0441\u0443\u0434\u0438\u043b\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432. \u041d\u0430 \u0432\u0442\u043e\u0440\u043e\u043c \u043c\u0435\u0440\u043e\u043f\u0440\u0438\u044f\u0442\u0438\u0438 \u2013 \u043e\u0441\u0435\u043d\u044c\u044e 2016 \u2013 \u0433\u043e\u0432\u043e\u0440\u0438\u043b\u0438 \u043e futures \u0432 Rust \u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0432 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447\u0430\u0445, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0430 \u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u0430. \u0412 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0442\u043e\u0440\u044b \u043e\u0431\u0435\u0449\u0430\u044e\u0442 \u0435\u0449\u0435 \u0431\u043e\u043b\u0435\u0435 \u0443\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u043e\u0433\u0440\u0443\u0436\u0435\u043d\u0438\u0435 \u0432 \u0433\u043b\u0443\u0431\u0438\u043d\u044b Rust \u043f\u043e\u0434 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e\u043c \u043d\u0430\u0448\u0438\u0445 \u0438 \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u043d\u044b\u0445 \u044d\u043a\u0441\u043f\u0435\u0440\u0442\u043e\u0432.<\/p>\n<p>  \u0412 \u043e\u0431\u0449\u0435\u043c, \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u043c\u0441\u044f 18 \u043c\u0430\u044f \u0432 19:00 \u0432 \u0448\u0442\u0430\u0431-\u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0435 \u00ab\u041b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u0438\u0438 \u041a\u0430\u0441\u043f\u0435\u0440\u0441\u043a\u043e\u0433\u043e\u00bb \u0432 \u041c\u043e\u0441\u043a\u0432\u0435! \u041f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0435\u0439 \u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043e\u0431\u0440\u0430\u0449\u0430\u0439\u0442\u0435\u0441\u044c <a href=\"http:\/\/events.kaspersky.com\/event\/rust3?utm_source=hb\">\u0441\u044e\u0434\u0430<\/a>.<br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habrahabr.ru\/post\/328500\/\"> https:\/\/habrahabr.ru\/post\/328500\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>18 \u043c\u0430\u044f \u0432 \u043c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u043e\u043c \u043e\u0444\u0438\u0441\u0435 \u00ab\u041b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u0438\u0438 \u041a\u0430\u0441\u043f\u0435\u0440\u0441\u043a\u043e\u0433\u043e\u00bb \u043f\u0440\u043e\u0439\u0434\u0451\u0442 \u0442\u0440\u0435\u0442\u044c\u044f \u043f\u043e \u0441\u0447\u0435\u0442\u0443 \u0432\u0441\u0442\u0440\u0435\u0447\u0430 \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u0435\u0439 \u0438 \u043f\u0440\u043e\u0444\u0438, \u043f\u0438\u0448\u0443\u0449\u0438\u0445 \u043a\u043e\u0434 \u043d\u0430 Rust. \u0413\u043e\u0441\u0442\u0435\u0439 \u043d\u0430\u0448\u0435\u0433\u043e \u043c\u0438\u0442\u0430\u043f\u0430 \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430 \u0436\u0434\u0451\u0442 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0438 \u043d\u0430\u0441\u044b\u0449\u0435\u043d\u043d\u0430\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0441 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435\u043c \u0441\u0430\u043c\u044b\u0445 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432: \u043c\u044b \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u041e\u041e\u041f \u0432 Rust \u0438 \u043e \u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u0445, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0440\u0430\u0441\u043a\u0440\u043e\u0435\u043c \u0432\u0441\u0435 tips&#038;tricks \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u043e\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u0439.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/ac5\/a3c\/824\/ac5a3c82465f4392bfb7f161b2216aca.jpg\"\/>  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-286238","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/286238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=286238"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/286238\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=286238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=286238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=286238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}