3 ms·
The issue is that any Rust code is going to be targeted at performance processing (since otherwise you would write it in a higher level language). And for perfo
by ActorNightly 3y ago
The issue is that any Rust code is going to be targeted at performance processing (since otherwise you would write it in a higher level language). And for performance processing, you need to use unsafe (because at some point, the most efficient thing is getting or setting data at a certain memory address without anything extra). Look at any big Rust project, like Amazon Firecracker, and its littered with unsafes.
- iopq 3y agoYou really don't, I worked on a Rust project: https://github.com/ujh/iomrascalai https://github.com/ujh/iomrascalai it doesn't need unsafe code despite being performance-optimized