3 ms·
I'd like to point out that goroutine support has been added which allows concurrency in the browser. You can literally avoid using callback soup using this. it
by andrewchambers 12y ago
I'd like to point out that goroutine support has been added which allows concurrency in the browser. You can literally avoid using callback soup using this.
its like clojure core.async only more powerful.
- sarnowski 12y ago> its like clojure core.async only more powerful. Can you explain why its more powerful than core.async?
- jlongster 12y agoYou can use it without going through Go, and have proper support for normal JavaScript. The concepts are explained here: http://jlongster.com/Taming-the-Asynchronous-Beast-with-CSP-in-JavaScript http://jlongster.com/Taming-the-Asynchronous-Beast-with-CSP-... (EDIT: I see now you are asking why go's channels are more powerful than core.async's) The library: https://github.com/ubolonton/js-csp https://github.com/ubolonton/js-csp
- andrewchambers 12y agono need for channel operations inside (go ) forms. Can be done anywhere. Also, I meant clojurescript core.async, not clojure.