{"id":55358,"date":"2020-01-18T00:00:00","date_gmt":"2020-01-17T21:00:00","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli"},"modified":"2020-02-18T14:03:28","modified_gmt":"2020-02-18T11:03:28","slug":"razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli","status":"publish","type":"post","link":"https:\/\/prohoster.info\/ro\/blog\/news\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli","title":{"rendered":"Dezvoltatorul framework-ului Rust actix-web a \u0219ters repository-ul \u00een urma h\u0103r\u021buirii.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Autorul framework-ului web scris \u00een limbajul Rust <noindex><a rel=\"nofollow\" href=\"https:\/\/crates.io\/crates\/actix-web\">actix-web<\/a><\/noindex> a \u0219ters <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/actix\/actix-web\">repository<\/a><\/noindex> dup\u0103 ce a fost aspru criticat pentru &#171;utilizarea incorect\u0103&#187; a limbajului Rust. Framework-ul actix-web, pachetul cu care a fost desc\u0103rcat de peste 800 de mii de ori, permite integrarea func\u021bionalit\u0103\u021bii unui server \u0219i client HTTP \u00een aplica\u021biile scrise \u00een Rust, fiind concentrat pe atingerea performan\u021bei maxime. <noindex><a rel=\"nofollow\" href=\"https:\/\/www.techempower.com\/benchmarks\/\">lider<\/a><\/noindex> \u00een multe teste de framework-uri web.<\/p>\n<p>Cu pu\u021bin timp \u00eenainte de incident, \u00een issues pe GitHub a fost raportat\u0103 o comportare nedefinit\u0103 (Undefined Behaviour) \u00een codul serverului actix-web, ap\u0103rut\u0103 \u00eentr-un bloc executat \u00een modul <noindex><a rel=\"nofollow\" href=\"http:\/\/rustbook.ru\/ch19-01-unsafe-rust.html\">unsafe<\/a><\/noindex> (care permite efectuarea de ac\u021biuni nesigure cu pointere). Autorul actix-web nu a \u00eendep\u0103rtat blocul unsafe, dar a ref\u0103cut apelul acestui bloc pentru a evita apari\u021bia comport\u0103rii nedefinite. Propunerile de a elimina unsafe au fost respinse de autor, care a invocat pierderea posibil\u0103 de performan\u021b\u0103 \u0219i a afirmat c\u0103 nu folose\u0219te unsafe f\u0103r\u0103 necesitate \u0219i este \u00eencrez\u0103tor \u00een siguran\u021ba blocurilor care func\u021bioneaz\u0103 \u00een acest mod.<\/p>\n<p>Un membru al echipei RustSec, care a descoperit comportarea nedefinit\u0103, nu a fost de acord \u0219i a sugerat c\u0103 utilizarea multor blocuri unsafe \u00een actix-web este injustificat\u0103. Dup\u0103 aceasta, el a publicat<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/medium.com\/@shnatsel\/smoke-testing-rust-http-clients-b8f2ee5db4e6\">articol<\/a><\/noindex> un articol despre inacceptabilitatea utiliz\u0103rii unsafe, \u00een care, printre altele, s-a men\u021bionat c\u0103 tehnica folosit\u0103 \u00een actix-web pentru manipularea pointerelor (mai multe pointere mutable c\u0103tre acelea\u0219i date) poate duce la vulnerabilit\u0103\u021bi de tip use-after-free \u0219i nu respect\u0103 paradigma de dezvoltare \u00een Rust. <\/p>\n<p>Dup\u0103 <noindex><a rel=\"nofollow\" href=\"https:\/\/www.reddit.com\/r\/rust\/comments\/epoloy\/ive_smoketested_rust_http_clients_heres_what_i\/\">discu\u021bii<\/a><\/noindex> articolul pe <noindex><a rel=\"nofollow\" href=\"https:\/\/www.reddit.com\/r\/rust\/\">Reddit<\/a><\/noindex>, \u00een issues pe GitHub <noindex><a rel=\"nofollow\" href=\"https:\/\/words.steveklabnik.com\/a-sad-day-for-rust\">au ap\u0103rut<\/a><\/noindex> troluri \u0219i autorul actix-web a fost supus <noindex><a rel=\"nofollow\" href=\"https:\/\/gist.github.com\/pcr910303\/d7722a26499d0e9d2f9034a06f2433b4\">unui val de critici<\/a><\/noindex> \u0219i insulte pentru folosirea gre\u0219it\u0103 a Rust. Autorul nu a rezistat presiunii psihologice, <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/actix\/actix-web\">a \u0219ters repository-ul<\/a><\/noindex> \u0219i <noindex><a rel=\"nofollow\" href=\"https:\/\/twitter.com\/fafhrd91\/status\/1218135374339301378\">Jurnalistul Bloomberg Jason Schreier<\/a><\/noindex>, ceea ce a dus la \u00eencetarea sa cu Open Source.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Sursa: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52208\">opennet.ro<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0410\u0432\u0442\u043e\u0440 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust web-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043d\u0430 \u043d\u0435\u0433\u043e \u043e\u0431\u0440\u0443\u0448\u0438\u043b\u0430\u0441\u044c \u043a\u0440\u0438\u0442\u0438\u043a\u0430 \u0437\u0430 &#171;\u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435&#187; \u044f\u0437\u044b\u043a\u0430 Rust. \u0424\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a actix-web, \u043f\u0430\u043a\u0435\u0442 \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0431\u044b\u043b \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d \u0431\u043e\u043b\u0435\u0435 800 \u0442\u044b\u0441\u044f\u0447 \u0440\u0430\u0437, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c http-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u043f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u043d\u0430 \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u0435 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438 \u043b\u0438\u0434\u0438\u0440\u0443\u0435\u0442 \u0432\u043e \u043c\u043d\u043e\u0433\u0438\u0445 \u0442\u0435\u0441\u0442\u0430\u0445 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-55358","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0410\u0432\u0442\u043e\u0440 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust web-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/ro\/blog\/news\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"ro_RO\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a Rust-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0438\u0437-\u0437\u0430 \u0442\u0440\u0430\u0432\u043b\u0438 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0410\u0432\u0442\u043e\u0440 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust web-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/ro\/blog\/news\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-01-17T21:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-18T11:03:28+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Dezvoltatorul framework-ului Rust actix-web a \u0219ters repository-ul din cauza h\u0103r\u021buirii | ProHoster","description":"Autorul framework-ului web scris \u00een limbajul Rust actix-web a \u0219ters","canonical_url":"https:\/\/prohoster.info\/ro\/blog\/news\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"ro_RO","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a Rust-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0438\u0437-\u0437\u0430 \u0442\u0440\u0430\u0432\u043b\u0438 | ProHoster","og:description":"\u0410\u0432\u0442\u043e\u0440 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust web-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b","og:url":"https:\/\/prohoster.info\/ro\/blog\/news\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-01-17T21:00:00+00:00","article:modified_time":"2020-02-18T11:03:28+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"55358","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 19:45:29","updated":"2022-09-30 12:43:21","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/55358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/comments?post=55358"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/55358\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/media?parent=55358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/categories?post=55358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/tags?post=55358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}