This is a good question. Until very recently, there was no easy way to share code between Clojure and ClojureScript at all, although the pure clojure-core stuff did work pretty much out of the box.
Still it's quite common that a library has dependencies to other jvm-stuff, or uses jvm-stuff under the hood. Or, the horror, calls external processes. If this is the case your out of luck/has to convert the jvm-specific things to something availiable in cljs/js. What libraries are you thinking of? /Linus 2015-09-09 0:09 GMT+02:00 Dan Campbell <dcwhat...@gmail.com>: > Is it always necessary to rewrite a Clojure library in Clojurescript, in > order to use its functions? > > There are several third-party Clojure libraries that I'd like to use in a web > page, but cannot find a way to call the Jar methods directly. > > > > -- > Note that posts from new members are moderated - please be patient with your > first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojurescript+unsubscr...@googlegroups.com. > To post to this group, send email to clojurescript@googlegroups.com. > Visit this group at http://groups.google.com/group/clojurescript. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.