{"id":170758,"date":"2026-05-16T00:24:29","date_gmt":"2026-05-15T22:24:29","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/utverzhdyon-perevod-javascript-platformy-bun-na-yazyk-rust"},"modified":"2026-05-16T00:24:29","modified_gmt":"2026-05-15T22:24:29","slug":"utverzhdyon-perevod-javascript-platformy-bun-na-yazyk-rust","status":"publish","type":"post","link":"https:\/\/prohoster.info\/ro\/blog\/news\/utverzhdyon-perevod-javascript-platformy-bun-na-yazyk-rust","title":{"rendered":"A fost aprobat\u0103 traducerea platformei JavaScript Bun \u00een limbajul Rust.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Jarred Sumner, creator and lead developer of the server-side JavaScript platform Bun, acknowledged the successful experiment of rewriting the project from Zig and Rust using the AI assistant Claude Code, and made the decision to transition Bun to Rust. The rewritten version in Rust has already been accepted into the project's main repository, and the code in Zig is scheduled for removal. Jarred also announced the hiring of employees to support Bun, who have over 5 years of experience in C\/C++ and Rust development.     <\/p>\n<p>Currently, a direct port from Zig to Rust has been implemented, which includes many blocks of unsafe code, utilizes the same architecture, the same data structures, and previous external libraries. It is noted that the Rust port has successfully passed the existing test suite on all platforms. In the process, several memory leaks and test failures have been resolved.     <\/p>\n<p>After building the version in Rust, the resulting executable file is 3-8 MB smaller compared to the version built in Zig. In performance tests, the Rust version was either faster or on par with the previous one. According to Jarred, the most important advantage of the Rust version is the ability to catch and prevent memory-related errors, the diagnosis of which has taken a significant amount of time from Bun developers in recent years.       <\/p>\n<p>The reason for rewriting in Rust was previously cited as the desire to address issues in Bun caused by memory leaks, disagreements with Zig authors regarding the use of AI for code writing, and the unacceptable policy of Zig regarding changes that break compatibility for large projects.         <\/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.<br \/>\n<br \/>Sursa: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=65448\">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, \u043f\u0440\u0438\u0437\u043d\u0430\u043b \u0443\u0441\u043f\u0435\u0448\u043d\u044b\u043c \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 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441 \u044f\u0437\u044b\u043a\u0430 Zig \u0438 Rust \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 AI-\u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u0430 Claude Code, \u0438 \u043f\u0440\u0438\u043d\u044f\u043b \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0435 Bun \u043d\u0430 \u044f\u0437\u044b\u043a Rust. \u041f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust \u0443\u0436\u0435 \u043f\u0440\u0438\u043d\u044f\u0442 \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0430 \u043a\u043e\u0434 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Zig \u043d\u0430\u043c\u0435\u0447\u0435\u043d \u043a \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044e. [&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-170758","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, \u043f\u0440\u0438\u0437\u043d\u0430\u043b \u0443\u0441\u043f\u0435\u0448\u043d\u044b\u043c \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 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441 \u044f\u0437\u044b\u043a\u0430 Zig \u0438 Rust \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 AI-\u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u0430 Claude Code, \u0438.\" \/>\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\/utverzhdyon-perevod-javascript-platformy-bun-na-yazyk-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\u0423\u0442\u0432\u0435\u0440\u0436\u0434\u0451\u043d \u043f\u0435\u0440\u0435\u0432\u043e\u0434 JavaScript-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Bun \u043d\u0430 \u044f\u0437\u044b\u043a 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, \u043f\u0440\u0438\u0437\u043d\u0430\u043b \u0443\u0441\u043f\u0435\u0448\u043d\u044b\u043c \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 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441 \u044f\u0437\u044b\u043a\u0430 Zig \u0438 Rust \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 AI-\u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u0430 Claude Code, \u0438.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/ro\/blog\/news\/utverzhdyon-perevod-javascript-platformy-bun-na-yazyk-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-15T22:24:29+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-05-15T22:24:29+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\udd47The transition of the JavaScript platform Bun to Rust has been approved | ProHoster","description":"Jarred Sumner, creator and lead developer of the server-side JavaScript platform Bun, acknowledged the successful experiment of rewriting the project from Zig and Rust using the AI assistant Claude Code.","canonical_url":"https:\/\/prohoster.info\/ro\/blog\/news\/utverzhdyon-perevod-javascript-platformy-bun-na-yazyk-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\u0423\u0442\u0432\u0435\u0440\u0436\u0434\u0451\u043d \u043f\u0435\u0440\u0435\u0432\u043e\u0434 JavaScript-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Bun \u043d\u0430 \u044f\u0437\u044b\u043a 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, \u043f\u0440\u0438\u0437\u043d\u0430\u043b \u0443\u0441\u043f\u0435\u0448\u043d\u044b\u043c \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 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441 \u044f\u0437\u044b\u043a\u0430 Zig \u0438 Rust \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 AI-\u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u0430 Claude Code, \u0438.","og:url":"https:\/\/prohoster.info\/ro\/blog\/news\/utverzhdyon-perevod-javascript-platformy-bun-na-yazyk-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-15T22:24:29+00:00","article:modified_time":"2026-05-15T22:24:29+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\/170758","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=170758"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/170758\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/media?parent=170758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/categories?post=170758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/tags?post=170758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}