2,326 karma · joined January 8, 2022
I think async is deceptive in that it seems like a self-contained and relatively straightforward aspect of a language. But there are many design choices to be made and they all have wide implications.
Plus I think the implications of many of these dimensions are not fully understood and that collectively we are still trying to understand how they are playing out in implementations. Add to this the subtle nature of some of the implications plus the combinations...
I think a good comparison is lexical vs dynamic scope in programming languages. This is a design dimension that was argued over for a decade or two in the early years of programming language design. It was only as time went by, and experience gained by working with concrete implementations that it became clear that lexical scoping should be the default choice and dynamic scoping should be restricted to various niches.
it's a question of whether the runtime is guaranteed to suspend at an await point or if it may choose not to
> async/await is one product of a long line of thought that says "threads are too hard for programmers to get right".
what? no! concurrency vs parallelism etc etc
Having spent considerable amounts of time undoing the effects of overconfident junior programmers who decided to be interesting and novel on small business code bases, I guess if we're going to replace juniors with AI we may as well ask for the full experience.
That's not what they said. Please don't misrepresent
> is laughabe
And this disparaging language about commenters is not OK. Please stop.
The person you're replying to didn't say that. Please don't misrepresent and please keep it respectful
It's a hack in a good way and this is a really bad reason to not run Linux.
I'd be interested in seeing what the SQLite people have to say about them if/when they are submitted upstream
A Principal Staff Engineer who costs $2400 a year and never feels any work is beneath them? Hell yeah.
OK OK, usage limits
Generally gets you 90% there.
and of course ground troops _have_ to invade Iraq, Saddam has WMD's. And it will finally bring stability to the region. And they _have_ to invade Afghanistan, there is no way to take out bin Laden otherwise. And it will finally bring stability to the region. Casualties will be minimal because the oppressed natives will welcome us as liberators and our overwhelming military superiority will ensure our troops suffer no casualties.
1 atm = 101,325 PA
It is not an SI unit but it is widely used and very useful in situations, such as this, where pressure relative to atmospheric pressure is relevant.
what?
A decade? More like 21 years