Re: OSGi manifest creation for Clojure projects

2012-03-16 Thread Patrick Moriarty
Oops, forgot the reply-to! On 16 Mar 2012, at 21:48, Patrick Moriarty wrote: > Hi, > > I've spent quite a lot of time with Clojure and OSGi lately and have had some > success in using Bnd and tools.namespace to generate a manifest for my mixed > Clojure/Java project. I&

OSGi manifest creation for Clojure projects

2012-03-16 Thread Patrick Moriarty
Hi, I've spent quite a lot of time with Clojure and OSGi lately and have had some success in using Bnd and tools.namespace to generate a manifest for my mixed Clojure/Java project. I'm using clojure.osgi successfully to handle using requiring and loading clojure namespaces and to register and t

Re: Persistent collections and garbage collection

2012-02-10 Thread Patrick Moriarty
Hi Ron, I've profiled a 20k line Clojure application and have never seen anything like what you seem to be suggesting. It seems (though you've not been very clear) that you suspect that persistent collections may be holding references to nodes longer than necessary. That is, longer than a mutab

Re: Program design

2010-08-19 Thread Patrick Moriarty
You should look at Clojure 1.2 protocols and records which provides an easy way to do polymorphism on types. See http://clojure.org/protocols. On 18 August 2010 08:25, Mark Engelberg wrote: > I think the easiest way to port OO code would be to use Clojure's > multimethods, dispatching on the ty