Re: Is anything easier to do in java than in lisp?

From: adam connor (adamNoDotHereconnor_at_mail.com)
Date: 05/04/04


Date: Mon, 03 May 2004 19:22:19 -0500

RobertMaas@YahooGroups.Com said:

>So I ask, is there any particular kind of task where java has an
>advantage over LISP? The only thing I can think of is networking. I've
>heard that java has networking built into the language, things like
>sockets, TCP/IP, HTTP, etc., whereas they aren't part of CL per se and
>need to be supplied by various vendors on the side. So is this true,
>that java is better than CL for networking stuff? Also, is there any
>other area where java beats CL?

I'm a newbie in Lisp but have a fair amount of experience in Java.
Java's biggest advantage vs. Lisp is its libraries, which are huge.
Want to do GUI programming? There's Swing (and SWT and Java wxWindows
bindings...) Want to make a secure sockets connection? Built-in. Want
to open zip files? Built-in. Want to manipulate PDFs? Not built-in,
but there are a number of good options. Etc. Part of this is
popularity, but to give them their due, Sun has made a huge effort on
the libraries.

Even to my newbie eyes, Lisp is hands down the better language (except
possibly for manipulating bits and bytes); it has much more powerful
abstraction mechanisms. However, Java is a C-family language, and that
seems to matter more, from a popularity standpoint, than support for
abstraction. :-(

Regarding speed: Java's big market is not in running shell scripts.
Java's biggest use is in server-side programming, and hotspot can do a
fairly good job in that environment. It may not be the fastest option,
but it's fast enough. A bigger weakness is that Java uses memory like
a drunken sailor.

I like what I've seen of Lisp a _lot_, but right now it looks like a
much more viable language for hard problems that involve tricky
algorithms than for gluing together solutions out of pre-existing
components -- the components just aren't there. A lot of business
programming consists of such glue jobs, and Java is well-situated for
that market.

Here's hoping I'm just missing the vast Lisp libraries... I would love
to be able to make an even better case for Lisp.



Relevant Pages

  • Re: Is anybodys favorite computer programming language not included here?
    ... to talk about getting me some paying work writing Java classes. ... and could be copied to a script (as in Java BeanShell or Lisp PROG). ... >> please post a followup saying what language it is, ... Server: "Mother, ...
    (comp.programming)
  • Re: Whats the best language to learn...
    ... on processors designed to run Lisp and Lisp OSes. ... byte-addressed memory, has native support for variable-sized value types, ... popular OO language, rather a language about like that of Delphi would have ... lisp, java, ruby, etc. ...
    (comp.programming)
  • Re: Be afraid of XML
    ... | that Java is an engineering masterpiece: ... | Interestingly the same is historically true for Lisp: ... BLISS (Basic Language for the Implementation of Systems Software) ...
    (comp.lang.lisp)
  • Re: Oft-shared (perhaps?) Impressions of a Lisp Newbie
    ... Lisp community that lexical closures were the right thing. ... Did they agonize over the decision to start a new language ... prefer Java to C++. ...
    (comp.lang.lisp)
  • Re: Joel hammers the final nail into Lisps coffin
    ... Indeed, if you are an inexperienced Lisp programmer, you will probably ... Well yes if you a are super brilliant Java programmer you'll be ... Of course you can use some language compiling to Java which offers ...
    (comp.lang.lisp)