On Feb 5, 6:02 pm, Phil Hagelberg <p...@hagelb.org> wrote:
> On Thu, Feb 4, 2010 at 11:55 PM, ataggart <alex.tagg...@gmail.com> wrote:
> > On Feb 4, 9:35 am, Phil Hagelberg <p...@hagelb.org> wrote:
> >> On Thu, Feb 4, 2010 at 8:33 AM, Stuart Sierra
>
> >> <the.stuart.sie...@gmail.com> wrote:
> >> > Clojure can certainly do these things; clojure-contrib contains many
> >> > file and io-related utilities.  But remember that Clojure, like any
> >> > Java program, takes more time to start up than "scripting" languages
> >> > like Perl/Bash/Ruby/Python, so it may be less suitable for programs
> >> > that you intend to run at the command-line.
>
> >> Also relevant is the fact that launching Clojure from the command-line
> >> is very inconvenient compared to scripting languages.
>
> > Does nailgun not solve that issue?
>
> Only about halfway; boot time issues are solved, but classpath issues
> are not. In addition, you bring in a whole new "dirty VM" notion that
> may or may not cause problems depending on how you use it. Plus you
> have to decide how to start your new Clojure service--will it be for
> the lifetime of the machine (in /etc/init.d) or just for the user's
> login session? (in .profile then; but how to stop it?)

I've been wondering about this.  The classpath issue seems like a
major thorn in the side of the JVM, especially for Clojure and other
more scripty languages.  Besides, it makes it a lot more annoying to
just pop open a file in Vim or Emacs and start editing.  Is there not
some way we can figure out to get around this?  Even if it's a bit of
a hack, if it works it would be incredibly helpful to have a lib in
contrib that could help get around restarting the JVM all the time.
It especially sucks when you've got some useful state in the REPL that
you have to trash in order to load a new jar file or add something new
to the structure of a project. Could we use something like remove-ns
to cleanup the namespaces, and then load updated files, maybe even
symlinked into temporary names that are always on the classpath, or
something like that?

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to