News for hackers. Stuff that matters.
Re:WebAssembly: A promising technology that is quietly being... by amw-zero on Wednesday May 22, 2024 @04:02PM (#40445679)
What does this even mean, how can you do any form of modern computation without async?
Re:WebAssembly: A promising technology that is quietly being... by MrDarcy on Wednesday May 22, 2024 @04:31PM (#40446081)
async / await as they exist in JavaScript, Python, and Rust aren’t the only way to execute tasks concurrently.
Re:WebAssembly: A promising technology that is quietly being... by amw-zero on Wednesday May 22, 2024 @05:40PM (#40446966)
That’s what I’m asking - did the comment mean that the async/await pattern is bad, or that asynchronous programming in general is bad?
Re:WebAssembly: A promising technology that is quietly being... by worik on Friday May 24, 2024 @06:35PM (#40471104)
asynchronous programming is the bee's knees, and my preferred mode

Asyc/await pretends to be synchronous and gets all tied in horrible knots when the sunk costs mount

Writing IO without blocking has always been second nature to me

Re:WebAssembly: A promising technology that is quietly being... by eureka-belief on Thursday May 23, 2024 @03:28AM (#40451601)
But they are a darn convenient mental model if you’re just trying to do some basic async. The alternatives are harder to wrap your head around. Unless I’m missing some other cool pattern.
Re:WebAssembly: A promising technology that is quietly being... by worik on Friday May 24, 2024 @06:36PM (#40471109)
> Unless I’m missing some other cool pattern.

Explicit state machines