3 ms·
Yes - I spend about half my time with rust embedded, where unsafe code is just everywhere, whether needed or not. There is still plenty in my non-embedded stuf
by DannyBee 2y ago
Yes - I spend about half my time with rust embedded, where unsafe code is just everywhere, whether needed or not.
There is still plenty in my non-embedded stuff, but a fair amount hardware-adjacent (IE i have to drive things like relay cards, just from a desktop machine). to be fair.
But i've found plenty of broken unafe in things like, uh, constraint solvers.
I would agree that useful and successful rust projects aggressively encapsulate (and attempt to avoid) unsafe usage.
I will still maintain my belief that this will not be enough over time and scale.