You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am moderately new to rust and since rust is primarily about fast performance while being safe, I was wondering why this library chose to use so many unsafe blocks?
The text was updated successfully, but these errors were encountered:
This library unfortunately has to use a fairly large number of unsafe blocks due to the way references are used. I found when writing this that using pointers in Rust can be difficult without unsafe blocks.
This code was originally written a few years ago, and it is entirely possible that some of the unsafe code can be refactored into safe code. I wrote this as a learning experience for myself, but it ended up being quite usuable hence why I published it.
I might have another look if I have time, but you are welcome to submit pull requests too if you find anything!
I am moderately new to rust and since rust is primarily about fast performance while being safe, I was wondering why this library chose to use so many unsafe blocks?
The text was updated successfully, but these errors were encountered: