Green threads, channels, and concurrency in Nelua #209
-
If I wanted to use concurrency and specifically Communicating Sequential Processes, like Golang has as part of the language, how would I accomplish it with Nelua? Any advice on this matter @edubart ? |
Beta Was this translation helpful? Give feedback.
Answered by
edubart
Feb 20, 2023
Replies: 1 comment 4 replies
-
No special advices for that, I guess you will need to come up with a library or framework with that goal. I would do concurrency in Nelua taking advantage of coroutines, because Nelua supports them. You can certainly do job/scheduler system using coroutines and multiple threads. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
edubart
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No special advices for that, I guess you will need to come up with a library or framework with that goal. I would do concurrency in Nelua taking advantage of coroutines, because Nelua supports them. You can certainly do job/scheduler system using coroutines and multiple threads.