Re: Rewriting Bun in Rust
Without commenting on Bun itself as a project, or the nature of the rewrite, it can't be good for Zig that a naive rewrite away from it fixed memory leaks, improved stability, shrunk binary size by 20%, and improved performance by 5%.
Philpax, 12 hours ago
542 · 9 июля 2026
Ivan StepanovRe: Rewriting Bun in Rust
Without commenting on Bun itself as a project, or the nature of the rewrite, it can't be good for Zig that a naive rewrite away from it fixed memory leaks, improved stability, shrunk binary size by 20%, and improved performance by 5%.
Philpax, 12 hours ago
и че, сделали бинарь размером не 5 гб, а 4? Эт. прям сильно спасло "отца русской демократии"?
Ivan StepanovRe: Rewriting Bun in Rust
Without commenting on Bun itself as a project, or the nature of the rewrite, it can't be good for Zig that a naive rewrite away from it fixed memory leaks, improved stability, shrunk binary size by 20%, and improved performance by 5%.
Philpax, 12 hours ago
Кстати, хоть одну кто-то показывал?
Andrei KolesnikovКстати, хоть одну кто-то показывал?
- Пример исправления: Функция Bun.build() на версии 1.3.14 (на Zig) утекала на ~3 МБ за каждый вызов. В версии 1.4.0 (на Rust) потребление памяти стабилизировалось и больше не растет бесконечно.
- Инструменты контроля: Команда улучшила интеграцию с LeakSanitizer для отслеживания выделения памяти в нативном коде, что позволило выявить и устранить все систематические утечки.
Andrei Kolesnikovа не, тот старый был, когда еще перепись только произошла
wesselbindt 55 days ago | prev | next [–]
This kind of frivolous nonsense disqualifies bun from ever being a serious option to me. I'm not building any kind of software used in a professional setting on 1M lines of unreviewed code.
Ivan Stepanov+ Bun обновил лишь минорную версию, когда на раст перешёл
да, точно! Кстати, а это это и зачем? )
Ivan Stepanov+ Bun обновил лишь минорную версию, когда на раст перешёл
конечно - там же нет breaking stuff!
🧑🏼🔧
Zhurman ENAтуповатые ошибки если честно
We could have kept fixing these kinds of bugs one-off in perpetuity, but we owe it to our users counting on us to do better than that, and systematically prevent these kinds of bugs from recurring.