3 ms·
I wouldn’t go that far. Bevy for example, uses unsafe internally but is VERY strict about it, and every use of unsafe requires a comment explaining why the code
by CooCooCaCha 2y ago
I wouldn’t go that far. Bevy for example, uses unsafe internally but is VERY strict about it, and every use of unsafe requires a comment explaining why the code is safe.
In other words, unsafe works if you use it carefully and keep it contained.
- tonyhart7 2y agoright, the point is raising awareness and assumption its not 100 and 0 problem