>From what I've been seeing of both clojure and clojure-clr...they aren't very portable at all. Pure clojure code should be fine. But since clojure likes to use the underlying VM for almost everything it can, you'll have issues. FileStream in CLR may not be the same as FileStream in Java. As a CLR guy, I can't really comment about the java side of things, but I have noticed the two are quite different when it comes to APIs.
IMO, cljoure needs a "batteries included" standard library. Languages like Python define constructs like file objects. As long as one follows the python file object spec you can use any object as a file and read/write to it. Unfortunately, clojure as taken the easier road of saying "what to read a file byte by byte....go read the Java Docs". So if one wants to use Clojure for even a moderately complex application, one is forced to be a clojure and a java expert. In your case, you'll be looking at being a clojure, java and .net expert. Have fun! Timothy > How portable are clojure programs between clojure clr and clojure jvm? > For example, can i use clojure contrib in clr? How about Enlive or > other libraries? -- “One of the main causes of the fall of the Roman Empire was that–lacking zero–they had no way to indicate successful termination of their C programs.” (Robert Firth) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
