{"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\/sl\/blog\/news\/utverzhdyon-perevod-javascript-platformy-bun-na-yazyk-rust","title":{"rendered":"Odobren je prevod JavaScript platforme Bun na jezik Rust","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Jarred Sumner, the 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 decided to translate Bun to Rust. The rewritten version in Rust has already been accepted into the main repository of the project, while the Zig code is scheduled for removal. Additionally, the author of Bun announced the hiring of employees with over 5 years of experience in C\/C++ and Rust development to support Bun.     <\/p>\n<p>Currently, a direct port from Zig to Rust has been implemented, which includes numerous blocks of unsafe code, uses the same architecture, the same data structures, and the previous external libraries. It is noted that the Rust port successfully passed the existing test suite on all platforms. Several memory leaks and test failures were also eliminated in the process.     <\/p>\n<p>After building the version in Rust, the executable file turned out to be 3-8 MB smaller than the one built in Zig. In performance tests, the Rust version was either faster or on par with the previous version. According to Jarred, the most important advantage of the Rust variant is the ability to catch and prevent errors related to memory management, which have taken up a lot of developers' time in recent years.       <\/p>\n<p>The reason for rewriting in Rust previously cited was the desire to eliminate issues in Bun caused by memory leaks, disagreements with the authors of Zig regarding the use of AI for code writing, and the unacceptable policy of Zig regarding compatibility-breaking changes for large projects.         <\/p>\n<p>Platforma JavaScript Bun se razvija kot visoko zmogljiva alternativa platformama Node.js in Deno. Projekt se razvija z mislijo na zagotavljanje zdru\u017eljivosti s stre\u017enimi aplikacijami za Node.js in podpira ve\u010dino API-jev Node.js. Vklju\u010duje niz orodij za razvoj in izvajanje aplikacij v JavaScript in TypeScript, ter runtime za izvajanje JavaScript aplikacij brez brskalnika, upravitelja paketov (zdru\u017eljivega z NPM), orodje za izvajanje testov, sistem za sestavljanje samostojnih paketov in vmesnik za vklju\u010ditev obdelovalcev, napisanih v jeziku C. Po zmogljivosti Bun znatno preka\u0161a Deno in Node.js (v preizkusih na osnovi ogrodja React platforma Bun preka\u0161a Deno za 2-krat in skoraj 5-krat Node.js). Za izvajanje JavaScripta se uporablja JavaScript motor JavaScriptCore in komponente projekta WebKit z dodatnimi popravki.<br \/>\n<br \/>Izvor: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=65448\">opennet.ru<\/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.4 - 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\/sl\/blog\/news\/utverzhdyon-perevod-javascript-platformy-bun-na-yazyk-rust\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"sl_SI\" \/>\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\/sl\/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, the creator and lead developer of the server-side JavaScript platform Bun, recognized the successful experiment of rewriting the project from Zig and Rust using the AI assistant Claude Code.","canonical_url":"https:\/\/prohoster.info\/sl\/blog\/news\/utverzhdyon-perevod-javascript-platformy-bun-na-yazyk-rust","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sl_SI","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\/sl\/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\/sl\/wp-json\/wp\/v2\/posts\/170758","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sl\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sl\/wp-json\/wp\/v2\/comments?post=170758"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sl\/wp-json\/wp\/v2\/posts\/170758\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sl\/wp-json\/wp\/v2\/media?parent=170758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sl\/wp-json\/wp\/v2\/categories?post=170758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sl\/wp-json\/wp\/v2\/tags?post=170758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}