Hi Stuart,
thanks for your insights.
On Friday 04 Mar 2011 20:41:20 Stuart Sierra wrote:
> There are difficulties with using Clojure -- or any JVM language -- for
> system administration. The first and biggest is the JVM startup time,
> making it impractical for command-line use without a separate "server"
> process. The second is that Java was explicitly designed to be
> OS-independent. Many common OS-level features -- launching processes and
> sending signals, for example -- are not available in the standard Java
> APIs, and require the use of native code or implementation-specific APIs.
>
> I'm not saying it can't be done, just that there may be better tools for
> the job.
Well, we can later on re-use or define a common API for doing such stuff on
the JVM similar to what perl 5, CPython or CRuby offer by default, and make
sure it is usable.
Regarding the JVM start up time - yes it may be a problem. I was once told
than in JDK-1.5.x the problem was fixed, but I'm not sure if it's true. And if
we see this is a problem in Clojure, we can always opt for writing a new
implementation of Clojure for a different host VM which is better in this
respect. Nevertheless, I think that Clojure would make the best starting-point
for a modern Lisp-based scripting tool.
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Understand what Open Source is - http://shlom.in/oss-fs
Larry Wall applies a patch manually quicker than GNU patch.
Please reply to list if it's a mailing list post - http://shlom.in/reply .
--
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