2,337 karma · joined January 8, 2022
Your question would have been answered if you'd just read a little more
The patches that Linus posted are relatively small and self contained and from reading the thread it seems came from a series of in depth conversations with Claude and were carefully reviewed by Linus.
So what we're seeing here is a tricky concurrency bug that even an expert would make. You can't use it as an example of slop
Why?
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