1,656 karma · joined Mar 24, 2014 (12y ago) · 1,717 submissions
comment 2y ago · link · parent
comment 2y ago · link · parent
I can see arguing to omit it entirely from a language, and to never introduce it, but clearly the Zig authors intend to include it.
comment 2y ago · link · parent
It kinda boggles my mind in particular that they’ve left async unfinished all this time. I can argue myself into tolerating an unfinished stdlib until the 1.0 release, since at least the interface should be pretty stable, but it’s been years, and async is an essential differentiator in this domain that needed to be nailed down early so that an ecology and craft theory could start developing around it. Instead, not only does Zig still lack a production-quality stdlib today, but it’s basically a nonstarter against the main contenders without proper async.
Maybe the thing to do would have been to offer some type of sanitary minimal API for a stack object + state machine + set/longjmp builtin primitives that have well-defined semantics so that at least people could get started defining usable APIs on top of it and experimenting with it.
Instead there was a false start on it with a short stop.
I don’t understand the mindset that led to this (non-)decision, but it erodes my confidence in the project. I understand that it’s not meant to inspire confidence and that it’s still experimental, but at this timescale it is simply frustrating to see and wish for a better status.
I know, I’m not wearing their shoes or whatever. Maybe I’m being uncharitable, but I don’t think I could really be accused of being impatient at this point.
In fairness, I feel this is a major hole in nearly everything but Go, so I guess getting it right is important.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
Let’s say, for the sake of the thought experiment, that every weekday, a small swarm of killer drones is released in your city. These drones reliably, randomly target and kill 250 commuters per weekday.
That’s only 62,500 people per year. Pretty mild. Certainly nowhere near as bad as Covid, maybe about as bad as a bad flu year, right? Heart disease kills about 700,000 people a year, so it’s not even 10% of that. Barely registers on the dashboard.
comment 2y ago · link · parent