logoalt Hacker News

gchamonlivelast Sunday at 7:31 PM3 repliesview on HN

> Rust does this automatically. It removes an entire class of errors from his backlog.

Even with the huge amount of "unsafe" rust currently in bun? https://news.ycombinator.com/item?id=48967630


Replies

zamadatixyesterday at 12:06 AM

As opposed to every commit abd line of code being unsafe? They use a lot of C/C++ libraries with their own code so unsafe isn't even a a problem in most places they use it.

theshrike79last Sunday at 8:40 PM

You think it’ll all stay there?

Of course they’ll iterate and remove the unsafe bits which were necessary for the transition

show 1 reply
nestorDyesterday at 3:14 AM

Fun fact, unsafe does not let you turn off the borrow checker in Rust: https://steveklabnik.com/writing/you-can-t-turn-off-the-borr...

show 1 reply