2 ms·
This is perhaps where I get hate from both sides, but I think such cases are best done in unsafe code blocks. A tool that makes something much harder without a
by hajile 5y ago
This is perhaps where I get hate from both sides, but I think such cases are best done in unsafe code blocks.
A tool that makes something much harder without any meaningful gain should be avoided. Rust provides the tools to not have to fight the system and they should be used in these situations.
- typon 5y agoThat's what my solution is. I am not going to get into pins and get cargo crates to solve such a simple problem. I just resort to unsafe. But then at that point...C++ is easier for me.