Rewrite Bun in Rust by Jarred-Sumner · Pull Request #30412 · oven-sh/bun · GitHub
DRANK
Blog post with details coming soon. It passes Bun's pre-existing test suite on all platforms (and fixes several memory leaks and flaky tests), the binary size shrinks by 3 MB - 8 MB, the benchm...
2 comments
Zigからほぼポートしたみたいな実装が多くてunsafeだらけでどうなんみたいな話があったのかな。そもそもunsafeで囲われてても結果soundなら問題はないし、Mythosで仮に書いてるとするとinvariantsの保証も人間が書くよりかなり正確そうなので(この前むしろsafe
はやっ。もうマージされた。
github.com/oven-sh/bun/pu…