|
|
Log in / Subscribe / Register

I see what you mean but...

I see what you mean but...

Posted Dec 4, 2025 14:55 UTC (Thu) by dcoutts (subscriber, #5387)
In reply to: I see what you mean but... by daroc
Parent article: Zig's new plan for asynchronous programs

I think an analogy between rust's async and Haskell's laziness is a much better one. Yes, bouncing around between bits of code due to thunk forcing could look a lot like async code.

Whereas Haskell's normal I/O lightweight threading/concurrency code is really all about threads (schedulers, sync primitives, pre-emption etc) and is not related to Haskell's laziness at all.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds