{"id":170472,"date":"2026-05-06T12:25:14","date_gmt":"2026-05-06T10:25:14","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/avtor-platformy-bun-provodit-eksperiment-po-perepisyvaniyu-s-zig-na-rust"},"modified":"2026-05-06T12:25:14","modified_gmt":"2026-05-06T10:25:14","slug":"avtor-platformy-bun-provodit-eksperiment-po-perepisyvaniyu-s-zig-na-rust","status":"publish","type":"post","link":"https:\/\/prohoster.info\/ro\/blog\/news\/avtor-platformy-bun-provodit-eksperiment-po-perepisyvaniyu-s-zig-na-rust","title":{"rendered":"Autorul platformei Bun desf\u0103\u0219oar\u0103 un experiment de rescriere din Zig \u00een Rust","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Jarred Sumner, creator and lead developer of the Bun server-side JavaScript platform, has created a Git branch to rewrite Bun from Zig to Rust. The rewriting is being done with the help of the AI assistant Claude, for which a separate porting guide has been created. According to Jarred, this is currently just an experiment and not an official port, with a high likelihood that the project may not progress beyond this stage and the rewritten code may not be utilized.     <\/p>\n<p>The porting process is not yet complete, and at this stage, all interest in the project is focused on evaluating how functional the port will be, whether it will pass the test suite of the main project, and how difficult it will be to maintain the new code. Ultimately, a comparative testing of the Bun versions in Zig and Rust is planned.    <\/p>\n<p>Last December, the Bun project was acquired by Anthropic, which gives Jarred resources to involve advanced AI models like Claude in the porting. The Bun platform is used in Claude Code and Claude Agent SDK products, and Anthropic is interested in improving its quality and development. Bun is one of the most successful projects in Zig, but opinions among Zig and Bun developers diverge regarding the use of AI in the development process. The Zig project has imposed a strict ban on using large language models when preparing pull requests, issues, and comments (even translating non-English comments through AI is prohibited).     <\/p>\n<p>Introducerea unor astfel de restric\u021bii este explicat\u0103 de dezvoltatorii Zig prin experien\u021ba negativ\u0103 \u00een evaluarea cererilor de pull create prin AI, care consum\u0103 resurse \u0219i timp (de exemplu, se observ\u0103 modific\u0103ri inutile, halucina\u021bii AI \u0219i commit-uri umflate de 10.000 de linii). \u00cen plus, proiectul Zig se pozi\u021bioneaz\u0103 ca fiind orientat spre participan\u021bi, \u0219i nu doar la contribu\u021biile acestora \u00een dezvoltare \u2014 principalul obiectiv al accept\u0103rii cererilor de pull nu este ad\u0103ugarea de cod nou, ci ajutarea dezvolt\u0103rii noilor participan\u021bi.    <\/p>\n<p>Autorul Bun nu este de acord cu interdic\u021bia AI \u00een Zig \u0219i consider\u0103 c\u0103 AI-slop va r\u0103m\u00e2ne o nostalgie din anii 2025 \u0219i 2026, \u00een timp ce dezvoltarea software-ului open-source va evolua spre interzicerea accept\u0103rii codului de la oameni. Oamenii vor discuta probleme, vor stabili sarcini \u0219i priorit\u0103\u021bi, iar scrierea codului \u0219i trimiterea modific\u0103rilor \u00een depozite va deveni apanajul AI. Ca motiv pentru experimentele de rescriere \u00een Rust, se men\u021bioneaz\u0103 \u0219i dorin\u021ba de a rezolva problemele din Bun cauzate de scurgerile de memorie \u0219i politica neacceptabil\u0103 a Zig privind acceptarea modific\u0103rilor care afecteaz\u0103 compatibilitatea \u00een limbaj.          <\/p>\n<p>Din cauza interdic\u021biei de utilizare a AI, dezvoltatorii Bun sunt nevoi\u021bi s\u0103 sus\u021bin\u0103 propriul fork al instrumentului Zig, \u00een care, datorit\u0103 aplic\u0103rii AI, s-a reu\u0219it cre\u0219terea vitezei de compilare de patru ori prin paralelizarea analizei semantice \u0219i gener\u0103rii de cod. Totu\u0219i, potrivit comentariului unui dezvoltator Zig, motivul respingerii patch-urilor nu este AI-ul, ci faptul c\u0103 paralelizarea analizei semantice afecteaz\u0103 nu doar compilatorul, ci \u0219i limbajul \u00een sine \u2014 pentru a implementa func\u021bionalitatea propus\u0103 f\u0103r\u0103 erori \u0219i incompatibilit\u0103\u021bi, este necesar\u0103 modificarea limbajului Zig. \u00cen loc de paralelizare, dezvoltatorii Zig dezvolt\u0103 compilarea incremental\u0103, care, potrivit presupunerilor lor, va permite o cre\u0219tere exponen\u021bial\u0103 a vitezei de compilare.              <\/p>\n<p>Platforma JavaScript Bun se dezvolt\u0103 ca un echivalent de \u00eenalt\u0103 performan\u021b\u0103 al platformelor Node.js \u0219i Deno. Proiectul este dezvoltat av\u00e2nd \u00een vedere asigurarea compatibilit\u0103\u021bii cu aplica\u021biile server pentru Node.js \u0219i sus\u021bine cea mai mare parte a API-ului Node.js. Platforma include un set de instrumente pentru crearea \u0219i rularea aplica\u021biilor \u00een limbajele JavaScript \u0219i TypeScript, precum \u0219i un runtime pentru executarea aplica\u021biilor JavaScript f\u0103r\u0103 browser, un manager de pachete (compatibil cu NPM), un instrumentar pentru executarea testelor, un sistem de construire a pachetelor autonome \u0219i un strat pentru integrarea handler-elor scrise \u00een limbajul C. \u00cen ceea ce prive\u0219te performan\u021ba, Bun dep\u0103\u0219e\u0219te semnificativ Deno \u0219i Node.js (\u00een testele bazate pe framework-ul React, platforma Bun dep\u0103\u0219e\u0219te Deno de 2 ori \u0219i aproape de 5 ori Node.js). Pentru a executa JavaScript, este utilizat motorul JavaScript JavaScriptCore \u0219i componentele proiectului WebKit cu patch-uri suplimentare.                <\/p>\n<p>Sursa: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=65379\">opennet.ro<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0414\u0436\u0430\u0440\u0440\u0435\u0434 \u0421\u0430\u043c\u043d\u0435\u0440 (Jarred Sumner), \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c \u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 JavaScript-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Bun, \u0441\u043e\u0437\u0434\u0430\u043b Git-\u0432\u0435\u0442\u043a\u0443, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043b \u043a \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u044e Bun \u0441 \u044f\u0437\u044b\u043a\u0430 Zig \u043d\u0430 Rust. \u041f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u0435 \u0432\u0435\u0434\u0451\u0442\u0441\u044f \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 AI-\u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u0430 Claude, \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0435 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u043e \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e. \u041f\u043e \u0441\u043b\u043e\u0432\u0430\u043c \u0414\u0436\u0430\u0440\u0440\u0435\u0434\u0430 \u043f\u043e\u043a\u0430 \u044d\u0442\u043e \u043b\u0438\u0448\u044c \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442, \u0430 \u043d\u0435 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u0440\u0442, \u0438 \u0432\u044b\u0441\u043e\u043a\u0430 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c, \u0447\u0442\u043e \u0434\u0430\u043b\u044c\u0448\u0435 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u0434\u0435\u043b\u043e [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-170472","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=\"\u0414\u0436\u0430\u0440\u0440\u0435\u0434 \u0421\u0430\u043c\u043d\u0435\u0440 (Jarred Sumner), \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c \u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 JavaScript-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Bun, \u0441\u043e\u0437\u0434\u0430\u043b Git-\u0432\u0435\u0442\u043a\u0443, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043b \u043a \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u044e Bun \u0441 \u044f\u0437\u044b\u043a\u0430 Zig \u043d\u0430 Rust.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Erik Peterson\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/ro\/blog\/news\/avtor-platformy-bun-provodit-eksperiment-po-perepisyvaniyu-s-zig-na-rust\" \/>\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\u0410\u0432\u0442\u043e\u0440 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Bun \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u043f\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u044e \u0441 Zig \u043d\u0430 Rust | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0414\u0436\u0430\u0440\u0440\u0435\u0434 \u0421\u0430\u043c\u043d\u0435\u0440 (Jarred Sumner), \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c \u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 JavaScript-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Bun, \u0441\u043e\u0437\u0434\u0430\u043b Git-\u0432\u0435\u0442\u043a\u0443, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043b \u043a \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u044e Bun \u0441 \u044f\u0437\u044b\u043a\u0430 Zig \u043d\u0430 Rust.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/ro\/blog\/news\/avtor-platformy-bun-provodit-eksperiment-po-perepisyvaniyu-s-zig-na-rust\" \/>\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=\"2026-05-06T10:25:14+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-05-06T10:25:14+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\udd47 Creator of the Bun platform experiments with rewriting from Zig to Rust | ProHoster","description":"Jarred Sumner, creator and lead developer of the Bun JavaScript server platform, has created a Git branch to start rewriting Bun from Zig to Rust.","canonical_url":"https:\/\/prohoster.info\/ro\/blog\/news\/avtor-platformy-bun-provodit-eksperiment-po-perepisyvaniyu-s-zig-na-rust","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\u0410\u0432\u0442\u043e\u0440 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Bun \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u043f\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u044e \u0441 Zig \u043d\u0430 Rust | ProHoster","og:description":"\u0414\u0436\u0430\u0440\u0440\u0435\u0434 \u0421\u0430\u043c\u043d\u0435\u0440 (Jarred Sumner), \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c \u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 JavaScript-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Bun, \u0441\u043e\u0437\u0434\u0430\u043b Git-\u0432\u0435\u0442\u043a\u0443, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043b \u043a \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u044e Bun \u0441 \u044f\u0437\u044b\u043a\u0430 Zig \u043d\u0430 Rust.","og:url":"https:\/\/prohoster.info\/ro\/blog\/news\/avtor-platformy-bun-provodit-eksperiment-po-perepisyvaniyu-s-zig-na-rust","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":"2026-05-06T10:25:14+00:00","article:modified_time":"2026-05-06T10:25:14+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/170472","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\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/comments?post=170472"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/170472\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/media?parent=170472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/categories?post=170472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/tags?post=170472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}