vc8f6vVV
Joined 6 years ago
Joined 6 years ago
Of course I have to admit that flying commercial airlines is safer by average numbers, in the US and for now. But if we estimate total flying hours as 1.3B/year (http://web.mit.edu/airlinedata/www/2018%2012%20Month%20Docum... times 100 passengers per aircraft) it only takes 1300 deaths per year to make it even with average traffic fatalities. If that flight had been unlucky enough to go down we would have had 177 deaths, already not "orders of magnitude safer" than driving. And the trend is not good.
But again, we are comparing apples to oranges. Driving is a very different experience, both long and short trips. Nobody chooses to drive from Boston to LA just out of fear of flying (well, maybe there are exceptions, but "nobody" is still a very accurate word). As for short trips, changes of getting into an accident in urban area driving to the airport is probably higher than driving in the other direction towards your destination. Again, it depends.
> In 2007, the National Transportation Safety Board estimated a total of nearly 24 million flight hours. Of these 24 million hours, 6.84 of every 100,000 flight hours yielded an airplane crash, and 1.19 of every 100,000 yielded a fatal crash. https://www.psbr.law/aviation_accident_statistics.html
So we have 330M people in the US, of which let's say 100M are driving regularly. How regularly? Let's assume 2 hours a day for 52x5 = 260 working days in a year. So given that we have 43K traffic fatalities per year let's compute fatalities per hour of driving. 100M * 2 * 260 / 43K = 1.2M So we have 1 fatality per 1.2M hours of driving. At the same time we have roughly 1 fatality per 100K hours of flying. Oops!
Of course one should consider that:
(a) it's 2007 data, it's probably lower now (10 times lower?),
(b) we definitely cover longer distances per hour of flying (by the way not that much, 60 mph vs 600 mph is within 10x difference),
(c) it's probably all flying, including private, but I'm not considering just public buses either.
Add defensive driving though, and it's not that obvious which is safer.
If you are talking about ever increasing entropy, it applies to any environment. But keep in mind that the Moon itself is a manifestation of order. If it hadn't been the case we would have been observing a cloud of dust and gas where our Solar system is.
Having said that, Erlang exists and doing well, so async is as good as any model designed for special cases. But this discussion basically answers the question
> Why don’t people like async?
Because not everybody (which means a majority of developers) needs this complexity. And the upward poisoning means that I can't block in my function if my web server is based on async, which affects everybody who is using it.
OTOH in Rust async model is based on polling. Which means that poll may never block, but instead has to set a wake callback if no data is available. So there is no way to interrupt a rogue task and all async functions should rely on callbacks to wake them (welcome to Windows 3.1, only inside out!). Thread model is much more lax in this sense, e.g. even though my web server (akka-http) is based on futures, nothing prevents me from blocking inside my future, in most cases I can get away with it. As I understand it's not possible in Rust async model, I can only use non-blocking async functions inside async function. So in reality you don't interrupt or clean up anything in Rust when a timeout happens, you simply abandon execution (i.e. stop polling). I wonder what happens with resources if there were allocated.
If that door had hit horizontal stabilizer though we would have had a completely different statistics even with 1B hours. Fortunately it didn't happen, but with the current trend the idea that flying is always safer may become not so obvious, and "orders of magnitude" thing may disappear pretty fast.