Replies: 3 comments
-
I have this incomplete draft done to prep for "This month in Nim", though not sure if its any good.
|
Beta Was this translation helpful? Give feedback.
-
I think the right way to do it is to work in reverse:
And perhaps additionally:
Also, yes, we need a better demonstration. I think the chat bot idea is pretty good, but another good demo might be an async process i/o monitor. I implemented this in BTW, I know that |
Beta Was this translation helpful? Give feedback.
-
Also, I just saw the title... If you want to explain why CPS is the next big thing, you have to explain about what you can actually do with a continuation, which you cannot do in async/await -- I'm talking movement among threads, different dispatchers, etc. |
Beta Was this translation helpful? Give feedback.
-
We have plenty of hype behind CPS and no easy to understand explanation to hook people in. This thread is to figure out the best way to teach Nim programmers what CPS is.
Beta Was this translation helpful? Give feedback.
All reactions