Skip to content

What about concurrency and parallelism? #147

Answered by mattwparas
amano-kenji asked this question in Q&A
Discussion options

You must be logged in to vote

The linked file is an example of running concurrent IO operations. However, there is not a built in event loop, so the async operations are handled via an async/await style, where you yield on blocking operations to the executor which is implemented in user space.

I have not made it a priority to implement non blocking (async) operations, however I will most likely include async file system operations. You can create async functions in dylibs as well, so for example you could have a non blocking web requests library.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mattwparas
Comment options

@amano-kenji
Comment options

@mattwparas
Comment options

Answer selected by amano-kenji
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants