Skip to content

csp lib #292

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

Closed
ghost opened this issue Sep 1, 2015 · 6 comments
Closed

csp lib #292

ghost opened this issue Sep 1, 2015 · 6 comments

Comments

@ghost
Copy link

ghost commented Sep 1, 2015

https://github.com/ubolonton/js-csp

wondering is this way of doing blocking calls help with the call stack aspects ?

@dmitshur
Copy link
Member

dmitshur commented Sep 1, 2015

Please see #107 which I think asks the same question, and also #15 which had related discussion.

@ghost
Copy link
Author

ghost commented Sep 1, 2015

For #15 a solution was found at the end.

I did not know.

Any example code for trying it out in the repo ?

@rusco
Copy link
Member

rusco commented Sep 1, 2015

sth. like that ?
http://rusco.github.io/

@ghost
Copy link
Author

ghost commented Sep 1, 2015

@rusco
Yes this is exactly what i am interested in - thanks. It highlights the basic mechanics.

I wonder how much work it would be to abstract out these channels into endpoints.
The idea is to allow the binding to occur for opengl apps as well as html apps.

I guess the work Endpoint is a semi valid way to think about it, but perhaps message queue is a better paradigm. Once you have the concept of message queues, with immutable data structures within the queue, then you can keep the code cleaner, and also target both opengl client (using maybe gxui) and web clients.

The message queue is not physical, its ore in the app domains or client itself. Its just a way to use the message pump.

I guess this is all leading to reactive, flux and these types of things.

@neelance
Copy link
Member

Closing, since there seems to be nothing further to do here. @gedw99 Okay to you?

@ghost
Copy link
Author

ghost commented Oct 18, 2015

Yep thanks

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

No branches or pull requests

3 participants