CARVIEW |
technomancy / clojure-gem
- Source
- Commits
- Network (2)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
-
Branches (1)
- master ✓
- Tags (0)
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
Use Clojure's immutable data structures and Software Transactional Memory from Ruby. Don't be afraid of concurrency. — Read more
name | age | message | |
---|---|---|---|
![]() |
.autotest | Mon Jul 27 13:08:38 -0700 2009 | Initial commit [technomancy] |
![]() |
.gitignore | Tue Aug 11 19:54:28 -0700 2009 | Add minitest dep and gitignore. [technomancy] |
![]() |
COPYING | Mon Jul 27 13:08:38 -0700 2009 | Initial commit [technomancy] |
![]() |
History.txt | Loading commit data... ![]() |
|
![]() |
Manifest.txt | ||
![]() |
README.rdoc | ||
![]() |
Rakefile | Tue Aug 11 19:54:28 -0700 2009 | Add minitest dep and gitignore. [technomancy] |
![]() |
clojure_gem.gemspec | Tue Aug 18 21:02:10 -0700 2009 | Release version 0.5.0. [technomancy] |
![]() |
lib/ | Tue Aug 18 21:02:10 -0700 2009 | Release version 0.5.0. [technomancy] |
![]() |
test/ | Sun Nov 22 16:30:52 -0800 2009 | Mention the JRuby nested-transactions bug in th... [technomancy] |
The Clojure Gem
github.com/technomancy/clojure-gem
Description
Use Clojure’s immutable data structures and Software Transactional Memory from Ruby. Don’t be afraid of concurrency.
Requires JRuby. Tested with 1.4.0+.
Supports all four persistent collection types (lists, vectors, maps, and sets). Many enumerable methods still return Ruby arrays instead of the original type; this will be fixed. Lazy sequences are not yet supported.
Issues
JRuby’s way of nesting exceptions means that the exceptions used for transaction retries in dosync are not caught correctly. This may necessitate shipping a patched version of Clojure to fix. See the test_threaded_refs test in test_ref.rb for details; changing "commute" to "alter" makes it fail.
Examples
TODO: write examples
License
Copyright © Phil Hagelberg 2009
Released under the Eclipse Public License. See file COPYING.