Skip to content

Conversation

@Varriount
Copy link

No description provided.

>*"We didn't have a good story about migrating continuations between threads." - Disruptek*
Have you ever asked yourself what would a lock-free MPMC queue look like in nim?
Have you ever asked yourself what would a lock-free MPMC (*multi-producer multi-consumer*) queue looks like in Nim?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

look is the correct grammatical form here, because we're speaking of the singular -- a lock-free ... queue

The algorithm was chosen to help progress the concurrency story of [CPS](https://github.com/nim-works/cps) for which this was bespokingly made.

After adapting the algorithm to nim CPS, disruptek adapted the queue for **any ref object** and was instrumental in ironing out the bugs and improving the performance of Loony.
After adapting the algorithm to Nim CPS, disruptek adapted the queue for **any ref object** and was instrumental in ironing out the bugs and improving the performance of Loony.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would sooner remove this; no one really cares.

ORC is not supported (See [Issue #4](https://github.com/shayanhabibi/loony/issues/4))

Spawn (Nims `threadpool` module) is not supported. *It won't ever be; don't use spawn unless you are a masochist in general.*
Spawn (via Nim's `threadpool` module) is not supported. *It won't ever be; don't use spawn unless you are a masochist in general.*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why this would be the case; I think it'd make more sense to wait for a bug report so we can understand the problem better, and ensure we have a canary to show when it suddenly starts working.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just modified the existing sentence. Should I remove it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants