

Rust doesn’t have a scheduler.
The issue is the false assumption, that the remove operation can safely be done without taking a lock. This can be done in some specific data structures using atomic operations, but here the solution was to just take the lock. The same thing could have happened in a C code base but without the unsafe block indicating where to look for the bug.







The easiest is to stop converting more land to animals use.
But 6% of global emissions are from feeding crops to animals.
Aside from reducing our emissions by 16%, meaning it would be about as useful as removing all emissions from the transport sector.
Laughable, but if if it where true it could easily be solved with reintroducing predators and rewilding the artificial grass lands.
What is more polluting? Animals shiting in the forrest every day at a different place or month worth of stored manure deposited on one field in a day, with barely any plant at the moment? Which of those will naturally break down and which will be washed into the ground water?
Where are the huge amounts of biomass fermenting into methane? Some swamps and every farm.