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

Multitasking #11

Open
daelvn opened this issue Oct 12, 2020 · 3 comments
Open

Multitasking #11

daelvn opened this issue Oct 12, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@daelvn
Copy link
Owner

daelvn commented Oct 12, 2020

Hehe.

But yes, multitasking. It would allow you to start a task in parallel somehow (not sure if I want to use coroutines, since it is still single-threaded and all) to maximize efficiency. I figure this could be helpful when compiling big projects or handling big amounts of data. Maybe even used with the fetch task.

@daelvn daelvn added enhancement New feature or request help wanted Extra attention is needed labels Oct 12, 2020
@daelvn daelvn added this to the Alfons 5 milestone Oct 12, 2020
@daelvn daelvn self-assigned this Oct 12, 2020
@daelvn daelvn modified the milestones: Alfons 5, Alfons 5.3 Jun 11, 2024
@daelvn
Copy link
Owner Author

daelvn commented Jun 11, 2024

I think this could be achieved for next minor version. Maybe looking into luaposix to use fork or whatever. Let's look at how Concurrently does it. Actually, I wouldn't mind at all replicating that tool.

@natnat-mc
Copy link
Contributor

For what it's worth, moonbuild uses luaposix's fork for its own parallel execution here
It's decently fast, and works on all unixes, but doesnt work on windows and luaposix is yet another C dependency

@daelvn
Copy link
Owner Author

daelvn commented Jun 22, 2024

Concurrently claims to be able to run on all systems, or at least on Windows, which is part of why i wanted to look into it. And well, what we talked about C dependencies. A pure-lua/cross-platform way would be ideal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants