{"id":99807,"date":"2021-04-15T10:22:39","date_gmt":"2021-04-15T08:22:39","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/podderzhka-rust-dlya-yadra-linux-stolknulas-s-kritikoj-torvaldsa"},"modified":"2021-04-15T10:22:39","modified_gmt":"2021-04-15T08:22:39","slug":"podderzhka-rust-dlya-yadra-linux-stolknulas-s-kritikoj-torvaldsa","status":"publish","type":"post","link":"https:\/\/prohoster.info\/ro\/blog\/news\/podderzhka-rust-dlya-yadra-linux-stolknulas-s-kritikoj-torvaldsa","title":{"rendered":"Suportul pentru Rust \u00een kernelul Linux s-a confruntat cu critici din partea lui Torvalds","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Linus Torvalds a revizuit patch-urile pentru implementarea posibilit\u0103\u021bii de a crea drivere \u00een limbajul Rust pentru kernelul Linux \u0219i a exprimat unele observa\u021bii critice.    <\/p>\n<p>Cele mai mari controverse le-a st\u00e2rnit posibila ie\u0219ire \u00een panic\u0103() \u00een situa\u021bii de eroare, de exemplu, \u00een cazul insuficien\u021bei de memorie, c\u00e2nd opera\u021biile de alocare dinamic\u0103 a memoriei, inclusiv cele din interiorul kernelului, pot e\u0219ua. Torvalds a declarat c\u0103 o astfel de abordare este fundamental inacceptabil\u0103 \u00een kernel \u0219i, \u00een cazul \u00een care acest aspect nu este \u00een\u021beles, ar putea respinge complet (totally NAKed) orice cod care va \u00eencerca s\u0103 utilizeze o astfel de abordare. Pe de alt\u0103 parte, dezvoltatorul implicat \u00een patch-uri a recunoscut problema \u0219i consider\u0103 c\u0103 poate fi rezolvat\u0103.    <\/p>\n<p>O alt\u0103 problem\u0103 a fost \u00eencercarea de a utiliza calcule cu virgul\u0103 mobil\u0103 sau tipuri de 128 de bi\u021bi, ceea ce nu este acceptabil \u00een medii precum nucleul Linux. Aceasta s-a dovedit a fi o problem\u0103 mai serioas\u0103, deoarece \u00een prezent biblioteca de baz\u0103 (core) Rust este indivizibil\u0103 \u0219i reprezint\u0103 un blob mare - nu exist\u0103 posibilitatea de a solicita doar anumite func\u021bionalit\u0103\u021bi, \u00eempiedic\u00e2nd utilizarea unor func\u021bionalit\u0103\u021bi problematice. Solu\u021bia problemei poate necesita modific\u0103ri \u00een compilatorul Rust \u0219i \u00een bibliotec\u0103, av\u00e2nd \u00een vedere c\u0103 \u00een acest moment echipa nu are o strategie pentru a implementa modularitatea bibliotecilor limbajului.    <\/p>\n<p>\u00cen plus, Torvalds a remarcat c\u0103 exemplul de driver furnizat - este inutil \u0219i a sugerat s\u0103 fie prezentat un driver care s\u0103 rezolve una dintre problemele reale.        <\/p>\n<p>Ad\u0103ugare: Compania Google a anun\u021bat implicarea sa \u00een ini\u021biativa de promovare a suportului Rust \u00een kernelul Linux \u0219i a prezentat aspecte tehnice privind fezabilitatea implement\u0103rii Rust pentru a combate problemele care apar din erorile \u00een gestionarea memoriei. Google consider\u0103 c\u0103 Rust este deja preg\u0103tit s\u0103 se al\u0103ture limbajului C pentru dezvoltarea componentelor kernelului Linux. Articolul include, de asemenea, exemple de utilizare a limbajului Rust pentru dezvoltarea driverelor kernelului, \u00een contextul utiliz\u0103rii lor \u00een platforma Android (Rust fiind recunoscut ca limbaj oficial pentru dezvoltarea Android).     <\/p>\n<p>Se men\u021bioneaz\u0103 c\u0103 Google a preg\u0103tit un prototip ini\u021bial al unui driver scris \u00een Rust pentru mecanismul de interac\u021biune \u00eentre procese Binder, care va permite o compara\u021bie detaliat\u0103 a performan\u021bei \u0219i securit\u0103\u021bii implement\u0103rilor Binder \u00een C \u0219i Rust. \u00cen forma actual\u0103, munca nu este finalizat\u0103, dar practic toate abstrac\u021biile de baz\u0103 ale func\u021bionalit\u0103\u021bii nucleului, necesare pentru func\u021bionarea Binder, au fost preg\u0103tite cu straturi pentru utilizarea acestor abstrac\u021bii \u00een codul scris \u00een Rust.<br \/>\n<br \/>Sursa: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=54970\">opennet.ro<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041b\u0438\u043d\u0443\u0441 \u0422\u043e\u0440\u0432\u0430\u043b\u044c\u0434\u0441 \u043f\u0440\u043e\u0432\u0451\u043b \u0440\u0435\u0446\u0435\u043d\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0430\u0442\u0447\u0435\u0439 c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u0432 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust \u0434\u043b\u044f \u044f\u0434\u0440\u0430 Linux, \u0438 \u0432\u044b\u0441\u043a\u0430\u0437\u0430\u043b \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f. \u041d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u043f\u0440\u0435\u0442\u0435\u043d\u0437\u0438\u0438 \u0432\u044b\u0437\u0432\u0430\u043b\u0430 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u0445\u043e\u0434\u0430 \u0432 panic() \u0432 \u043e\u0448\u0438\u0431\u043e\u0447\u043d\u044b\u0445 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f\u0445, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u043d\u0435\u0445\u0432\u0430\u0442\u043a\u0438 \u043f\u0430\u043c\u044f\u0442\u0438, \u043a\u043e\u0433\u0434\u0430 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u0438, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u044f\u0434\u0440\u0430, \u043c\u043e\u0433\u0443\u0442 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044c\u0441\u044f \u043e\u0448\u0438\u0431\u043a\u043e\u0439. \u0422\u043e\u0440\u0432\u0430\u043b\u044c\u0434\u0441 \u0437\u0430\u044f\u0432\u0438\u043b, \u0447\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 [&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-99807","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041b\u0438\u043d\u0443\u0441 \u0422\u043e\u0440\u0432\u0430\u043b\u044c\u0434\u0441 \u043f\u0440\u043e\u0432\u0451\u043b \u0440\u0435\u0446\u0435\u043d\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0430\u0442\u0447\u0435\u0439 c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u0432 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust \u0434\u043b\u044f \u044f\u0434\u0440\u0430 Linux, \u0438 \u0432\u044b\u0441\u043a\u0430\u0437\u0430\u043b \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f.\" \/>\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\/podderzhka-rust-dlya-yadra-linux-stolknulas-s-kritikoj-torvaldsa\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2.1\" \/>\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\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 Rust \u0434\u043b\u044f \u044f\u0434\u0440\u0430 Linux \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0430\u0441\u044c \u0441 \u043a\u0440\u0438\u0442\u0438\u043a\u043e\u0439 \u0422\u043e\u0440\u0432\u0430\u043b\u044c\u0434\u0441\u0430 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041b\u0438\u043d\u0443\u0441 \u0422\u043e\u0440\u0432\u0430\u043b\u044c\u0434\u0441 \u043f\u0440\u043e\u0432\u0451\u043b \u0440\u0435\u0446\u0435\u043d\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0430\u0442\u0447\u0435\u0439 c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u0432 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust \u0434\u043b\u044f \u044f\u0434\u0440\u0430 Linux, \u0438 \u0432\u044b\u0441\u043a\u0430\u0437\u0430\u043b \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/ro\/blog\/news\/podderzhka-rust-dlya-yadra-linux-stolknulas-s-kritikoj-torvaldsa\" \/>\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=\"2021-04-15T08:22:39+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2021-04-15T08:22:39+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\udd47Suportul Rust pentru nucleul Linux s-a confruntat cu critici din partea lui Torvalds | ProHoster","description":"Linus Torvalds a revizuit patch-urile pentru implementarea posibilit\u0103\u021bii de a crea drivere \u00een limbajul Rust pentru kernelul Linux \u0219i a exprimat unele observa\u021bii critice.","canonical_url":"https:\/\/prohoster.info\/ro\/blog\/news\/podderzhka-rust-dlya-yadra-linux-stolknulas-s-kritikoj-torvaldsa","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\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 Rust \u0434\u043b\u044f \u044f\u0434\u0440\u0430 Linux \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0430\u0441\u044c \u0441 \u043a\u0440\u0438\u0442\u0438\u043a\u043e\u0439 \u0422\u043e\u0440\u0432\u0430\u043b\u044c\u0434\u0441\u0430 | ProHoster","og:description":"\u041b\u0438\u043d\u0443\u0441 \u0422\u043e\u0440\u0432\u0430\u043b\u044c\u0434\u0441 \u043f\u0440\u043e\u0432\u0451\u043b \u0440\u0435\u0446\u0435\u043d\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0430\u0442\u0447\u0435\u0439 c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u0432 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust \u0434\u043b\u044f \u044f\u0434\u0440\u0430 Linux, \u0438 \u0432\u044b\u0441\u043a\u0430\u0437\u0430\u043b \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f.","og:url":"https:\/\/prohoster.info\/ro\/blog\/news\/podderzhka-rust-dlya-yadra-linux-stolknulas-s-kritikoj-torvaldsa","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":"2021-04-15T08:22:39+00:00","article:modified_time":"2021-04-15T08:22:39+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"99807","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-04-15 08:37:16","updated":"2022-10-05 03:08:46","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\/99807","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=99807"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/99807\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/media?parent=99807"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/categories?post=99807"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/tags?post=99807"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}