{"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\/en\/blog\/news\/avtor-platformy-bun-provodit-eksperiment-po-perepisyvaniyu-s-zig-na-rust","title":{"rendered":"The author of the Bun platform is experimenting with rewriting from Zig to 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, has created a Git branch to rewrite Bun from Zig to Rust. The rewriting is being conducted with the help of the AI assistant Claude, for which a separate porting guide has been created. According to Jarred, this is still just an experiment and not an official port, and there is a high chance that it will not progress beyond the experimental stage and the rewritten code will not be used.     <\/p>\n<p>The porting is not yet complete, and at this stage, all interest in the project is focused on assessing how functional the port will be, whether it will pass the main project's test suite, and how difficult it will be to maintain the new code. Ultimately, comparative testing of the Bun versions in Zig and Rust is planned.    <\/p>\n<p>Last December, the Bun project was acquired by Anthropic, providing Jarred with the resources to involve advanced AI models like Claude in the porting process. The Bun platform is used in the 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 the Zig language, yet opinions among Zig and Bun developers diverge regarding the use of AI in the development process. A strict ban has been instituted on the use of large language models when preparing pull requests, issues, and comments in the Zig project (even AI translation of non-English comments is prohibited).     <\/p>\n<p>The introduction of such restrictions is explained by Zig developers' negative experiences in reviewing AI-generated pull requests, which consume resources and time (for example, meaningless changes, AI hallucinations, and bloated commits of 10,000 lines). Additionally, the Zig project positions itself as being participant-focused, rather than contributions made by them in development \u2014 the main goal of accepting pull requests is not to add new code, but to assist in the development of new participants.    <\/p>\n<p>Author Bun disagrees with the ban on AI in Zig and believes that AI usage will remain a nostalgic relic of 2025 and 2026, while the development of open-source software will evolve to prohibit the acceptance of code from humans. People will discuss issues, set tasks, and prioritize, while coding and submitting changes to repositories will become the domain of AI. The reason for experimenting with rewriting in Rust is also attributed to the desire to resolve issues in Bun caused by memory leaks and Zig's unacceptable policy regarding changes that compromise compatibility.          <\/p>\n<p>Due to the ban on using AI, Bun developers are forced to maintain their own fork of the Zig toolkit, in which the use of AI has managed to speed up compilation by four times through parallelizing semantic analysis and code generation. Meanwhile, according to one of the Zig developers' comments, the reason for rejecting patches is not AI, but rather that the parallelization of semantic analysis affects not only the compiler, but also the language itself \u2014 to implement the proposed functionality without errors and incompatibilities, changes to the Zig language are required. Instead of parallelization, Zig developers are advancing incremental compilation, which they believe will significantly increase compilation speed.              <\/p>\n<p>The JavaScript platform Bun is evolving as a high-performance alternative to Node.js and Deno platforms. The project is developed with an eye towards ensuring compatibility with server applications for Node.js and supports most of the Node.js API. The platform includes a set of tools for creating and running applications in JavaScript and TypeScript, as well as a runtime for executing JavaScript applications without a browser, a package manager (compatible with NPM), testing toolkit, a system for building self-contained packages, and a layer for embedding handlers written in C. In terms of performance, Bun significantly outperforms Deno and Node.js (in tests based on the React framework, Bun platform is twice as fast as Deno and almost 5 times faster than Node.js). The JavaScript engine JavaScriptCore and components from the WebKit project with additional patches are used for executing JavaScript.                <\/p>\n<p>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=65379\">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, \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.1.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\/en\/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.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\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\/en\/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 Bun Platform Author Experiments with Rewriting from Zig to Rust | ProHoster","description":"Jarred Sumner, the creator and lead developer of the JavaScript server platform Bun, has created a Git branch where he has started rewriting Bun from Zig to Rust.","canonical_url":"https:\/\/prohoster.info\/en\/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":"en_US","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\/en\/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\/en\/wp-json\/wp\/v2\/posts\/170472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=170472"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/170472\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=170472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=170472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=170472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}