@bascule @thisismissem I am not enough an expert in Rust (and the machine code it generates) to say whether or not you're right, but I trust you! 😆 A core issue though is that you need to know the machine code the compiler generates to know whether or not you need a guard. I feel like "knowing the machine code the Rust compiler generates" is not something people sign up for when writing a Rust extension, and that's where the danger is

1
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Aaron Patterson ✅

@bascule @thisismissem obviously the same is true with a C extension, but C is already well known as "unsafe"

0
12mo
Replies