-
Is there a way to do concurrency or parallelism in ngs yet? Right now, even being able to fork a function would be enough for me, but more control over it would be awesome of course :) |
Beta Was this translation helpful? Give feedback.
Answered by
ilyash-b
Nov 18, 2022
Replies: 1 comment
-
You can already do concurrency:
The issue you mentioned is specifically about thread-safe data structures |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MinmoTech
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can already do concurrency:
Thread()
- https://ngs-lang.org/doc/latest/generated/Thread.htmlpmap()
- https://ngs-lang.org/doc/latest/generated/pmap.htmlptimes()
- https://ngs-lang.org/doc/latest/generated/ptimes.htmlprocess=$(blah &)
and thenprocess.join()
The issue you mentioned is specifically about thread-safe data structures