Re: Is anything easier to do in java than in lisp?
The major advantage of Java, C, C++, Pascal, etc. over Lisp is that
solving anything that can be solved with an iterative solution easily
is easy. To me that's the real advantage ...
I once took a Lisp class when I was studying. I was quite curious
about Lisp. Then a programming task was given that would have been a
peace of cake when solving it with an iterative approach. Looking for
a recursive stack-based solution for Lisp caused big headaches. Since
that day I was not that interested in Lisp any more. Okay, with a
recursive solution things are non-desctructive which is convenient
when debugging. Things in Smalltalk are also non-desctructive (okay,
not 100% as in Lisp - but in general it is true) since the respective
methods in the Collection hierarchy only iterate over the receiver
collection but work on copies. It makes probably more sense to compare
Lisp and Smalltalk - they are more alike and both almost dead.
Since several Lisp gurus have replied to this thread maybe one can
tell me why recursiveness and non-destructiveness in Lisp is such a
holy thing (this is a "real" question - not a rhetoric one). I never
dared to ask the professor. He was such a Lisp fanatic he would have
killed me on the spot ...
I suggest to take Squeak Smalltalk (www.squeak.org) change the
VM/compiler to have macros (Squeak has a liberal license that would
allow for it). Add Lisp style lists with car and cdr and you have the
best of the imperative and non-imperative world :-).
Regards, Oliver Plohmann
RobertMaas@Yaho oGroups.Com wrote in message news:<REM-2004jun14-001@Yahoo.Com>. ..[color=blue][color=green]
> > From: Jan Gregor <gregor.jan@NOS PAMquick.cz>
> > Problem with compilation of java programs is that compiler itself
> > runs in jvm. Use jikes, it is very fast compared to javac. i think
> > because is written in C or C++.[/color]
>
> It doesn't seem to be available on my ISP:
> % man jikes
> No manual entry for jikes
> % whereis jikes
> jikes:
> %
>
> If I were to download it and install it on my personal shell account on
> the FreeBSD Unix ISP, how much disk space would be used?[/color]
The major advantage of Java, C, C++, Pascal, etc. over Lisp is that
solving anything that can be solved with an iterative solution easily
is easy. To me that's the real advantage ...
I once took a Lisp class when I was studying. I was quite curious
about Lisp. Then a programming task was given that would have been a
peace of cake when solving it with an iterative approach. Looking for
a recursive stack-based solution for Lisp caused big headaches. Since
that day I was not that interested in Lisp any more. Okay, with a
recursive solution things are non-desctructive which is convenient
when debugging. Things in Smalltalk are also non-desctructive (okay,
not 100% as in Lisp - but in general it is true) since the respective
methods in the Collection hierarchy only iterate over the receiver
collection but work on copies. It makes probably more sense to compare
Lisp and Smalltalk - they are more alike and both almost dead.
Since several Lisp gurus have replied to this thread maybe one can
tell me why recursiveness and non-destructiveness in Lisp is such a
holy thing (this is a "real" question - not a rhetoric one). I never
dared to ask the professor. He was such a Lisp fanatic he would have
killed me on the spot ...
I suggest to take Squeak Smalltalk (www.squeak.org) change the
VM/compiler to have macros (Squeak has a liberal license that would
allow for it). Add Lisp style lists with car and cdr and you have the
best of the imperative and non-imperative world :-).
Regards, Oliver Plohmann
RobertMaas@Yaho oGroups.Com wrote in message news:<REM-2004jun14-001@Yahoo.Com>. ..[color=blue][color=green]
> > From: Jan Gregor <gregor.jan@NOS PAMquick.cz>
> > Problem with compilation of java programs is that compiler itself
> > runs in jvm. Use jikes, it is very fast compared to javac. i think
> > because is written in C or C++.[/color]
>
> It doesn't seem to be available on my ISP:
> % man jikes
> No manual entry for jikes
> % whereis jikes
> jikes:
> %
>
> If I were to download it and install it on my personal shell account on
> the FreeBSD Unix ISP, how much disk space would be used?[/color]
Comment