Maby a stupid question !

19 views
Skip to first unread message

anders

unread,
Jul 29, 2008, 5:45:53 AM7/29/08
to Clojure
I stumble on Clojure, i have tried LISP and like the interactive way
of development.
On LISP i can make a runtime, with for example with SBCL, witch i can
run.

So with EMACS, SLIME and SBCL i can step by step develop my program,
and then "compile" it
to release, but i have search, read doc, looked at demos etc. but not
found how this process is
done with Clojure, or have i misunderstand something..

This mabe is a stupid question but i like to know before a spend time
learning something i mabe
don't have any use fore.

// Anders

Stuart Sierra

unread,
Jul 29, 2008, 10:56:40 AM7/29/08
to Clojure
Hello Anders,

Clojure cannot save a runtime image the way SBCL and other Lisps can.
You have to save your source code and re-load it each time you run
your program. However, the Clojure compiler is very fast, so this is
not usually a problem.

".clj" source files can be packaged in a JAR file like any other Java
program. Search the mailing list archives for more information.

-Stuart

Raoul Duke

unread,
Jul 29, 2008, 3:02:27 PM7/29/08
to clo...@googlegroups.com
has anybody gotten Clojure working with something like

http://www.zeroturnaround.com/javarebel/

or whatever other favourite hot-swap technology there is?

Stuart Sierra

unread,
Jul 29, 2008, 3:27:12 PM7/29/08
to Clojure
On Jul 29, 3:02 pm, "Raoul Duke" <rao...@gmail.com> wrote:
> has anybody gotten Clojure working with something like
> http://www.zeroturnaround.com/javarebel/
> or whatever other favourite hot-swap technology there is?

In effect, Clojure gives you hot-swapping for free, since it can
recompile functions on the fly. The list archives have various
examples of apps (GUIs, web apps) with an embedded REPL where you can
redefine anything.

-Stuart

Paul Barry

unread,
Jul 29, 2008, 3:33:58 PM7/29/08
to clo...@googlegroups.com

anders

unread,
Jul 29, 2008, 4:20:12 PM7/29/08
to Clojure
Tanks for this link it was relly great.
mvh Anders


On 29 Juli, 21:33, "Paul Barry" <pauljbar...@gmail.com> wrote:
> http://paulbarry.com/articles/2008/07/11/interactive-development-with...
>
> On Tue, Jul 29, 2008 at 3:27 PM, Stuart Sierra
> <the.stuart.sie...@gmail.com>wrote:
>
>
>
>
>
> > On Jul 29, 3:02 pm, "Raoul Duke" <rao...@gmail.com> wrote:
> > > has anybody gotten Clojure working with something like
> > >http://www.zeroturnaround.com/javarebel/
> > > or whatever other favourite hot-swap technology there is?
>
> > In effect, Clojure gives you hot-swapping for free, since it can
> > recompile functions on the fly.  The list archives have various
> > examples of apps (GUIs, web apps) with an embedded REPL where you can
> > redefine anything.
>
> > -Stuart- Dölj citerad text -
>
> - Visa citerad text -
Reply all
Reply to author
Forward
0 new messages