logoalt Hacker News

selfmodruntimetoday at 2:01 PM1 replyview on HN

There is almost zero reason for a public facing, non-embedded project like Bun to use unsafe anywhere.


Replies

cyber_kinetisttoday at 2:20 PM

You do have to inevitably use unsafe because of FFI (Bun uses existing C++ modules like JavascriptCore for most functionality). Optionally also for performance (at least if you want to win Deno on that front)