logoalt Hacker News

dupedyesterday at 8:06 PM1 replyview on HN

What are some examples of things you "always" need that require unsafe Rust?


Replies

yefolyesterday at 11:52 PM

Not him, but projects that need performance often use unsafe or otherwise allow for UB. Embedded is arguably another example, since no_std allows UB even without unsafe, for instance by causing a stack overflow.

show 2 replies