https://github.com/theleoborges/core-async-intro
Source core for my presentation on core.async at the Sydney Clojure User Group, July 2013
https://github.com/theleoborges/core-async-intro
Last synced: 7 months ago
JSON representation
Source core for my presentation on core.async at the Sydney Clojure User Group, July 2013
- Host: GitHub
- URL: https://github.com/theleoborges/core-async-intro
- Owner: theleoborges
- Created: 2013-08-13T13:37:05.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-08-13T13:40:37.000Z (over 12 years ago)
- Last Synced: 2025-03-23T23:39:44.514Z (10 months ago)
- Language: JavaScript
- Size: 352 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# core-async-intro
This is the source code used for my presentation [Intro to core.async](http://www.slideshare.net/borgesleonardo/intro-to-clojures-coreasync) for the Sydney Clojure User Group, July 2013
## Prerequisites
You will need [Leiningen][1] 2.0 or above installed.
[1]: https://github.com/technomancy/leiningen
## Running
First, compile all clojurescript:
lein cljsbuild once
or
lein cljsbuild auto
Then, start the web server:
lein ring server
And navigate to [http://localhost:3000/](http://localhost:3000/)
## Files you'll be interested in
### Routes
`cljsexample.clj`
### Source code for the examples:
`src-cljs/main.cljs` as well as the templates `coreasync-1.html` and `coreasync-2.html`
Example 2 has a pure javascript for comparison purposes at `js-core-async.js`
## Acknowledgements
Example 1 is a port of Rob Pike's talk [Go Concurrency Patterns](talks.golang.org/2012/concurrency.slide) and Example 2 was taken from David Nolen's post [Communicating Sequential Processes](http://swannodette.github.io/2013/07/12/communicating-sequential-processes/).
## License
Copyright © 2013 Leonardo Borges