3 ms·
Just imagine trying to express the complexity of [a filesystem] in continuations or some sort of state machine! Arguably asyc/await could help with this; obvio
by wmf 2y ago
Just imagine trying to express the complexity of [a filesystem] in continuations or some sort of state machine!
Arguably asyc/await could help with this; obviously it didn't exist in 1991 when Linux was created but it would be interesting to revisit this topic.
- SoothingSorbet 2y ago> Arguably asyc/await could help with this; obviously it didn't exist in 1991 when Linux was created Wouldn't that just consist of I/O operations returning futures and then having an await() block the calling thread until the future is done (i.e. put it on a waitqueue)?