{"id":102632,"date":"2021-12-16T15:36:47","date_gmt":"2021-12-16T13:36:48","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/pervyj-stabilnyj-reliz-komponovshhika-mold-razvivaemogo-razrabotchikom-llvm-lld"},"modified":"2021-12-16T15:36:47","modified_gmt":"2021-12-16T13:36:48","slug":"pervyj-stabilnyj-reliz-komponovshhika-mold-razvivaemogo-razrabotchikom-llvm-lld","status":"publish","type":"post","link":"https:\/\/prohoster.info\/ro\/blog\/news\/pervyj-stabilnyj-reliz-komponovshhika-mold-razvivaemogo-razrabotchikom-llvm-lld","title":{"rendered":"Prima versiune stabil\u0103 a leg\u0103torului Mold, dezvoltat de dezvoltatorul LLVM lld","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Rui Ueyama, autorul leg\u0103torului LLVM lld \u0219i al compilatorului chibicc, a prezentat prima versiune stabil\u0103 a noului leg\u0103tor de \u00eenalt\u0103 performan\u021b\u0103 Mold, care dep\u0103\u0219e\u0219te semnificativ viteza de legare a fi\u0219ierelor obiect comparativ cu leg\u0103torii GNU gold \u0219i LLVM lld. Proiectul este considerat preg\u0103tit pentru implement\u0103ri func\u021bionale \u0219i poate fi utilizat ca un \u00eenlocuitor transparent mai rapid pentru GNU linker pe sistemele Linux. Printre planurile pentru urm\u0103toarea versiune important\u0103 se num\u0103r\u0103 finalizarea suportului pentru platforma macOS, dup\u0103 care va \u00eencepe lucrul la adaptarea Mold pentru Windows.      <\/p>\n<p>Mold este scris \u00een limbajul C++ (C++20) \u0219i este distribuit sub licen\u021ba AGPLv3, care este compatibil\u0103 cu GPLv3, dar nu este compatibil\u0103 cu GPLv2, deoarece necesit\u0103 publicarea modific\u0103rilor atunci c\u00e2nd se dezvolt\u0103 servicii de re\u021bea. Aceast\u0103 alegere se explic\u0103 prin dorin\u021ba de a ob\u021bine finan\u021bare pentru dezvoltare \u2014 autorul este dispus s\u0103 v\u00e2nd\u0103 drepturile de autor pentru re-licen\u021biere sub o licen\u021b\u0103 permisiv\u0103, cum ar fi MIT, sau s\u0103 ofere o licen\u021b\u0103 comercial\u0103 separat\u0103 pentru cei care nu sunt de acord cu AGPL.      <\/p>\n<p>Mold suport\u0103 toate func\u021bionalit\u0103\u021bile linker-ului GNU \u0219i se deosebe\u0219te printr-o performan\u021b\u0103 foarte ridicat\u0103 \u2014 legarea se efectueaz\u0103 cu o vitez\u0103 de doar dou\u0103 ori mai lent\u0103 dec\u00e2t copierea simpl\u0103 a fi\u0219ierelor cu utilitarul cp. De exemplu, pentru a construi Chrome 96 (cu o dimensiune a codului de 1,89 GB) legarea executabilelor cu debuginfo pe un computer cu 8 nuclee folosind GNU gold dureaz\u0103 53 de secunde, LLVM lld \u2014 11,7 secunde, iar Mold doar 2,2 secunde (de 26 de ori mai repede dec\u00e2t GNU gold). La legarea Clang 13 (3,18 GB) \u00een GNU gold sunt necesare 64 de secunde, \u00een LLVM lld \u2014 5,8 secunde, iar \u00een Mold \u2014 2,9 secunde. Pentru legarea Firefox 89 (1,64 GB) \u00een GNU gold sunt necesare 32,9 secunde, \u00een LLVM lld \u2014 6,8 secunde, iar \u00een Mold \u2014 1,4 secunde.      <center><img decoding=\"async\" alt=\"Prima versiune stabil\u0103 a leg\u0103torului Mold, dezvoltat de dezvoltatorul LLVM lld\" src=\"\/wp-content\/uploads\/2021\/12\/75a435a5a9f8a62eb2d0485dccc6abc1.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/center>    <\/p>\n<p>Reducerea timpului de linkare permite \u00eembun\u0103t\u0103\u021birea semnificativ\u0103 a confortului dezvolt\u0103rii proiectelor mari prin scurtarea a\u0219tept\u0103rii \u00een timpul gener\u0103rii fi\u0219ierelor executabile \u00een timpul depan\u0103rii \u0219i test\u0103rii modific\u0103rilor. Motivul cre\u0103rii lui Mold a fost iritarea cauzat\u0103 de necesitatea de a a\u0219tepta finalizarea link\u0103rii dup\u0103 fiecare modificare \u00een cod, precum \u0219i eficien\u021ba sc\u0103zut\u0103 a linker-elor existente pe sisteme multicore \u0219i dorin\u021ba de a experimenta o arhitectur\u0103 de linkare complet diferit\u0103, f\u0103r\u0103 a recurge la modele excesiv de complicate, cum ar fi linkarea incremental\u0103.    <\/p>\n<p>Performan\u021ba ridicat\u0103 a link\u0103rii fi\u0219ierelor executabile dintr-un num\u0103r mare de fi\u0219iere obiect preg\u0103tite de compilator \u00een Mold este ob\u021binut\u0103 prin utilizarea de algoritmi mai rapizi, paralele activi ale opera\u021biunilor \u00eentre nucleele CPU disponibile \u0219i aplicarea unor structuri de date mai eficiente. De exemplu, \u00een Mold este implementat\u0103 tehnica execut\u0103rii calculului intensiv simultan cu copierea fi\u0219ierelor, \u00eenc\u0103rcarea anticipat\u0103 a fi\u0219ierelor obiect \u00een memorie, utilizarea unor h\u0103r\u021bi hash rapide la rezolvarea simbolurilor, scanarea tabelelor de relocare \u00eentr-un fir de execu\u021bie separat \u0219i deduplicarea sec\u021biunilor repetitive din fi\u0219ierele diferite.<br \/>\n<br \/>Sursa: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=56358\">opennet.ro<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>Rui Ueyama, \u0430\u0432\u0442\u043e\u0440 \u043a\u043e\u043c\u043f\u043e\u043d\u043e\u0432\u0449\u0438\u043a\u0430 LLVM lld \u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 chibicc, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u043b\u0438\u0437 \u043d\u043e\u0432\u043e\u0433\u043e \u0432\u044b\u0441\u043e\u043a\u043e\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u043e\u0432\u0449\u0438\u043a\u0430 Mold, \u0437\u0430\u043c\u0435\u0442\u043d\u043e \u043e\u043f\u0435\u0440\u0435\u0436\u0430\u044e\u0449\u0435\u0433\u043e \u043f\u043e \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u043a\u043e\u043c\u043f\u043e\u043d\u043e\u0432\u0449\u0438\u043a\u0438 GNU gold \u0438 LLVM lld. \u041f\u0440\u043e\u0435\u043a\u0442 \u043f\u0440\u0438\u0437\u043d\u0430\u043d \u0433\u043e\u0442\u043e\u0432\u044b\u043c \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0432\u043d\u0435\u0434\u0440\u0435\u043d\u0438\u0439 \u0438 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u043e\u043b\u0435\u0435 \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0439 \u0437\u0430\u043c\u0435\u043d\u044b GNU linker \u043d\u0430 Linux-\u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445. \u0418\u0437 \u043f\u043b\u0430\u043d\u043e\u0432 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":102633,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-102632","post","type-post","status-publish","format-standard","has-post-thumbnail","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=\"Rui Ueyama, \u0430\u0432\u0442\u043e\u0440 \u043a\u043e\u043c\u043f\u043e\u043d\u043e\u0432\u0449\u0438\u043a\u0430 LLVM lld \u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 chibicc, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u043b\u0438\u0437 \u043d\u043e\u0432\u043e\u0433\u043e \u0432\u044b\u0441\u043e\u043a\u043e\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u043e\u0432\u0449\u0438\u043a\u0430 Mold, \u0437\u0430\u043c\u0435\u0442\u043d\u043e \u043e\u043f\u0435\u0440\u0435\u0436\u0430\u044e\u0449\u0435\u0433\u043e \u043f\u043e \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432.\" \/>\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\/pervyj-stabilnyj-reliz-komponovshhika-mold-razvivaemogo-razrabotchikom-llvm-lld\" \/>\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\u0435\u0440\u0432\u044b\u0439 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u043b\u0438\u0437 \u043a\u043e\u043c\u043f\u043e\u043d\u043e\u0432\u0449\u0438\u043a\u0430 Mold, \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u043c LLVM lld | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"Rui Ueyama, \u0430\u0432\u0442\u043e\u0440 \u043a\u043e\u043c\u043f\u043e\u043d\u043e\u0432\u0449\u0438\u043a\u0430 LLVM lld \u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 chibicc, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u043b\u0438\u0437 \u043d\u043e\u0432\u043e\u0433\u043e \u0432\u044b\u0441\u043e\u043a\u043e\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u043e\u0432\u0449\u0438\u043a\u0430 Mold, \u0437\u0430\u043c\u0435\u0442\u043d\u043e \u043e\u043f\u0435\u0440\u0435\u0436\u0430\u044e\u0449\u0435\u0433\u043e \u043f\u043e \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/ro\/blog\/news\/pervyj-stabilnyj-reliz-komponovshhika-mold-razvivaemogo-razrabotchikom-llvm-lld\" \/>\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-12-16T13:36:48+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2021-12-16T13:36:48+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\udd47Prima versiune stabil\u0103 a linker-ului Mold, dezvoltat de dezvoltatorul LLVM lld | ProHoster","description":"Rui Ueyama, autorul linker-ului LLVM lld \u0219i compilatorului chibicc, a prezentat prima versiune stabil\u0103 a noului linker performant Mold, care dep\u0103\u0219e\u0219te semnificativ viteza de legare a fi\u0219ierelor obiect.","canonical_url":"https:\/\/prohoster.info\/ro\/blog\/news\/pervyj-stabilnyj-reliz-komponovshhika-mold-razvivaemogo-razrabotchikom-llvm-lld","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\u0435\u0440\u0432\u044b\u0439 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u043b\u0438\u0437 \u043a\u043e\u043c\u043f\u043e\u043d\u043e\u0432\u0449\u0438\u043a\u0430 Mold, \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u043c LLVM lld | ProHoster","og:description":"Rui Ueyama, \u0430\u0432\u0442\u043e\u0440 \u043a\u043e\u043c\u043f\u043e\u043d\u043e\u0432\u0449\u0438\u043a\u0430 LLVM lld \u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 chibicc, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u043b\u0438\u0437 \u043d\u043e\u0432\u043e\u0433\u043e \u0432\u044b\u0441\u043e\u043a\u043e\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u043e\u0432\u0449\u0438\u043a\u0430 Mold, \u0437\u0430\u043c\u0435\u0442\u043d\u043e \u043e\u043f\u0435\u0440\u0435\u0436\u0430\u044e\u0449\u0435\u0433\u043e \u043f\u043e \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432.","og:url":"https:\/\/prohoster.info\/ro\/blog\/news\/pervyj-stabilnyj-reliz-komponovshhika-mold-razvivaemogo-razrabotchikom-llvm-lld","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-12-16T13:36:48+00:00","article:modified_time":"2021-12-16T13:36:48+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"102632","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":"default","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-12-16 13:37:05","updated":"2022-10-01 04:27:59","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\/102632","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=102632"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/102632\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/media\/102633"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/media?parent=102632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/categories?post=102632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/tags?post=102632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}