Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallelism & concurrency along with synchronous & asynchronous programming #130

Open
dumblob opened this issue Jun 23, 2021 · 1 comment
Labels
enhancement Improvements or additions to the source TODO It hasn't implemented yet.

Comments

@dumblob
Copy link

dumblob commented Jun 23, 2021

Any plans for parallelism & concurrency?

And an orthogonal question - any plans to support seamless synchronous & asynchronous programming?

With "seamless" I don't mean how majority of languages implement it nowadays (C#, Javascript, Rust, Python, ...) because that's insane ("async" is infectious - once you use it you need to use it all the way to the root; in addition to that one needs 2 variants of each stdlib function) pretty much the same level of insanity as async everything.

With "seamless" I mean something closer to what I described here (just to clarify: ECS is a fully synchronous pipeline - therefore a good example to demonstrate the "buffer events at the beginning of the synchronous pipeline and defer all from-this-pipeline-emitted events to the end of this pipeline and first then dispatch them").

@ThakeeNathees
Copy link
Owner

For concurrency, we're supporting single threaded fibers (https://thakeenathees.github.io/pocketlang/language-api-fibers.html). Yet I still need to learn and adopt parallelism for pocketlang, I'll take a look at those references you've listed above. If you like to share implementation details, please open an issue. It's always a pleasure to discuss cool new features.

@ThakeeNathees ThakeeNathees added enhancement Improvements or additions to the source TODO It hasn't implemented yet. labels Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements or additions to the source TODO It hasn't implemented yet.
Projects
None yet
Development

No branches or pull requests

2 participants