5 ms·
I believe that his async code would have been far more maintainable / readable / expressive if it had used a reactive streams implementation such as colorless k
by The_rationalist 6y ago
I believe that his async code would have been far more maintainable / readable / expressive if it had used a reactive streams implementation such as colorless kotlin coroutines + flow. Sadly rust doesn't yet have one.
What are your thoughts on this topic @raphlinus ?
- Matthias247 6y agoI think this is not about coding style for async code (coroutines vs. callbacks), but about general asynchronity between various processes/threads. If you have any asynchronous background task it means the state of your application can change without the current thread having made any change. And your code needs to account for that possibility, which makes it a lot more complicated.