Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 26 - 50 of 419 - Collapse all  -  Translate all to Translated (View all originals) < Older  Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rainer Joswig  
View profile  
 More options Feb 16 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: jos...@lavielle.com (Rainer Joswig)
Date: 1999/02/16
Subject: Re: Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava
In article <87soc6f7xn....@2xtreme.net>, cba...@2xtreme.net (Christopher R. Barry) wrote:

> Common Lisp has a kinda oddball size for FIXNUMs.

Which size? In MCL:

? MOST-POSITIVE-FIXNUM
536870911

On a MacIvory:

Command: most-positive-fixnum
2147483647

--
http://www.lavielle.com/~joswig


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Sun thinks about switching Java to S-expression syntax: Lava" by Simon Leinen
Simon Leinen  
View profile  
 More options Feb 16 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: Simon Leinen <si...@limmat.switch.ch>
Date: 1999/02/16
Subject: Re: Sun thinks about switching Java to S-expression syntax: Lava

> The Subject line is a bit of an overstatement.  He's proposing use of
> s-expressions for data files, but not for representing programs themselves.
> This actually has some precedents.  If anyone remembers WAIS, take a look
> at the format of its "source" records (the developers of WAIS were mainly
> Lisp folks at Thinking Machines).  And even Sun has used s-expressions
> internally -- take a look at the files in /var/spool/calendar, which are
> used by their OpenWindows Calendar Manager application.

Yeah, I'm always pleased when I see Lispy syntax hidden in
"mainstream" applications.

Checkpoint Firewall-1 uses S-expressions to store the firewall
configuration that you (are supposed to :-) generate using a
relatively nice GUI.

I think Confluent's "Visual Thought" drawing package also uses a Lispy
representation of its drawings.

> S-expression is probably one of the simplest ways to represent nestable
> data structures in text.  I applaud the article.

--
Simon.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava" by Christopher R. Barry
Christopher R. Barry  
View profile  
 More options Feb 16 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: cba...@2xtreme.net (Christopher R. Barry)
Date: 1999/02/16
Subject: Re: Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava

jos...@lavielle.com (Rainer Joswig) writes:
> In article <87soc6f7xn....@2xtreme.net>, cba...@2xtreme.net (Christopher R. Barry) wrote:

> > Common Lisp has a kinda oddball size for FIXNUMs.

> Which size? In MCL:

> ? MOST-POSITIVE-FIXNUM
> 536870911

> On a MacIvory:

> Command: most-positive-fixnum
> 2147483647

I'll retract my statement. I believed in error that the standard
required fixnums to be 30 bits, but it says that they must be at least
16 bits (well, have a range of 2^15-1 to -2^15). Pretty much the same
requirement as the ANSI C "int" type.

Christopher


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Sun thinks about switching Java to S-expression syntax: Lava" by Raymond Toy
Raymond Toy  
View profile  
 More options Feb 16 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: Raymond Toy <t...@rtp.ericsson.se>
Date: 1999/02/16
Subject: Re: Sun thinks about switching Java to S-expression syntax: Lava

>>>>> "Simon" == Simon Leinen <si...@limmat.switch.ch> writes:

    Simon> Yeah, I'm always pleased when I see Lispy syntax hidden in
    Simon> "mainstream" applications.

    Simon> Checkpoint Firewall-1 uses S-expressions to store the firewall
    Simon> configuration that you (are supposed to :-) generate using a
    Simon> relatively nice GUI.

    Simon> I think Confluent's "Visual Thought" drawing package also uses a Lispy
    Simon> representation of its drawings.

Add to that Rational Rose.  It looks like the entire UML model is
stored in some Lispy representation, including window position
information.

Ray


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava" by Erik Naggum
Erik Naggum  
View profile  
 More options Feb 16 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: Erik Naggum <e...@naggum.no>
Date: 1999/02/16
Subject: Re: Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava
* cba...@2xtreme.net (Christopher R. Barry)
| Common Lisp has a kinda oddball size for FIXNUMs.  What is it doing
| about 64-bit platforms? What will it do when we've got 128-bit ones?

  geez, why do you care?  Common Lisp doesn't _have_ sizes of such things.
  implementations do.  C and C++, however, _do_ have sizes of such things.
  C/C++ have the problem you allude to.  Common Lisp just runs with a
  little less consing on a machine with bigger machine integers.

| Why can't Lisp become more popular?

  why can't opera be more popular?  why can't football be less popular?

| What's stopping it?

  people like you.

| You can't do sockets or threads in CL without a hell of a lot of #+ and
| #- and have it work in any CL providing access to these features.

  just because you can't doesn't many other people can't.  the simplest way
  to do this is to write a thin veneer, perhaps using compiler macros, to
  present a uniform, standard interface to the underlying implementation
  (which, by the way, differs between _socket_ implementations, too), stuff
  this in a file that is loaded only on the platform it applies to.
  porting your system is a matter of making a new copy of this file.  this,
  by the way, is how intelligent people _implement_ real portability.  only
  if the differences are very small and very localized does it make sense
  to use #- and #+.  personally, I use #- and #+ only in configuration
  files and in DEFSYSTEMs.

  feel free to complain that this veneer isn't standardized.  I fully
  expect you to, but also that you will complain about whatever you get,
  the same way people complain about the pathname abstraction prohibiting
  them from running the whole gamut of file system options and operations
  on their particular implementation.

#:Erik


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jon S Anthony  
View profile  
 More options Feb 16 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: Jon S Anthony <j...@synquiry.com>
Date: 1999/02/16
Subject: Re: Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava
"David B. Lamkins" <dlamk...@teleport.com> writes:

> > * True keyboard and mouse control (you can distinguish between a
> >   keyboard down-press and release, so you can give your text fields
> >   Emacs-like incremental searching and bindings or do sophisticated
> >   word completions or any other cool thing you could think up. And of
> >   course, completely standard and cross-platform.

> Of course, completely standard and cross-platform...  Hmm, didn't Microsoft
> make an argument that it had to break from the Pure Java fold because Sun
> didn't want to support 3-button mice?

Another point here is that the behavior is (sadly, even depressingly)
quite platform dependent.

> > * On Linux (and probably other platforms), you can choose if you want
> >   the threads in a single process (Allegro CL style), or if you want
> >   OS-level threads. It doesn't get any better than that (as if one
> >   standard, cross-platform interface to threads wasn't convenient
> >   enough).

> So, aside from having a choice, what are the benefits?  Can you do OS-native
> threads in a platform-independent manner?

Oh, yes.  OTOH, the Java thread model is stunningly impoverished.

> Wow.  You've been reading the Sun PR hype, haven't you?  Ever try to run any
> of this stuff on a Mac?  Or even a PC?  Look, Sun does a nice job with Java
> on the Sun platforms.  But their portability claims are _vastly_ oversold.

In our experience, the stuff (JDK 1.2) actually runs better overall
(less bugs and better performance) on an NT.Intel box than on a
Solaris.Sparc box.  Go figure.

> Every ounce of hype Java has received is still just hype.  I have
> observed early adopters foundering and failing with Sun's
> not-quite-ready-for-primetime "free" products, and with not-free

I believe this is too strong.  There are definitely some good things
about Java, especially wrt (more or less) platform independent GUI and
connectivity work.  While it's true that due to various central flaws,
Java will never be more than a *yawn* in the space of programming
language design, in the nuts and bolts world it does have some
advantages over other players.  I suppose Java is best characterized
by the following scenario: upon first looking at it the response is
something like, "Hey, this is pretty cool"; upon further examination
and use the response becomes something like, "Wow, this could have
been a _lot_ better..."

/Jon

--
Jon Anthony
Synquiry Technologies, Ltd. Belmont, MA 02478, 617.484.3383
"Nightmares - Ha!  The way my life's been going lately,
 Who'd notice?"  -- Londo Mollari


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Sun thinks about switching Java to S-expression syntax: Lava" by David J. Cooper Jr.
David J. Cooper Jr.  
View profile  
 More options Feb 16 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: "David J. Cooper Jr." <dcoo...@genworks.com>
Date: 1999/02/16
Subject: Re: Sun thinks about switching Java to S-expression syntax: Lava

Visula is an electronic CAD system which stores its database in a Lisp
(S-expression) format. Ironically they only use it internally and it is not
supported or documented - you have to use their (licensed, C-based) API functions to
gain access to their database.

So when I once wrote an ICAD App for circuit board design rule checking of circuits
designed in Visula, a C programmer on the project kindly offered to write some
C routines for me -- to generate the circuit board database into a Lispy syntax
again, that I could easily read into the ICAD app! But at least we were able to
document and support that format!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava" by Erik Naggum
Erik Naggum  
View profile  
 More options Feb 17 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: Erik Naggum <e...@naggum.no>
Date: 1999/02/17
Subject: Re: Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava
* Erik Naggum <e...@naggum.no>
| www.franz.com offers Allegro CL Lite to any stray comer.  includes IDE.
| (but use LOAD-COMPILED instead of COMPILE-FILE and LOAD.)

* cba...@2xtreme.net (Christopher R. Barry)
| It's crippled, and you must pay if you want to use it commercially.

  sigh.  what _are_ the other crippled features of this version?  that you
  can't use it for a full-fledged commercial projects?  why do you expect
  to be able to do that?  the Java freebies are _marketing_ stunts, not
  technical arguments.  do you have any idea how much money has been sunk
  into Java and when the break-even time is expected to be?  do you not
  realize that it is an instrument of mass market destruction to reduce
  Microsoft's hegemony and that Common Lisp doesn't fight that kind of wars?

  and I find it slightly amusing that you, too, keep adding conditions that
  make you not choose Common Lisp, no matter how people answer your gripes.

| I would feel dishonest if I contacted Franz about getting an evaluation
| copy of CLIM. I know that no matter how much I liked it, I could not at
| this point in my life afford it.

  yeah, and I'm sure this is CLIM's fault.  you said "Swing, unlike CLIM,
  doesn't cost $4000-$7000 to even try out on Unix."  which was an outright
  lie, so now you would feel dishonest if you asked for a demo version, but
  you didn't feel dishonest when you lied to begin with?

| It would be nice if it could be obtained under the same terms as the
| Allegro CL Linux Trial Edition, where you can use it as long as you like,
| and not feel obligated to purchase it.

  you can't use it as long as you like.  can't you even read licenses?
  (yeah, I'm expecting another silly gripe, now.)

  you clearly confused what "would be nice" with what people think they
  might one day be able to profit from providing you.  there ain't no such
  thing as a free lunch, remember?

| After having been able to use Allegro CL so extensively, I know that at
| some point in the future I would definately buy it if using Common Lisp
| for a big project.

  good for you.  I won't hold my breath.

| When it comes down to it, I still _definitely_ do not prefer Java over CL.

  are you desperate for reasons to use Common Lisp?   is that why you bitch
  and moan and invent "flaw" after "flaw" as your previous "flaws" have
  proven not to be flaws?  it sure doesn't look constructive to me.

| There are a number of things that Java gets right though, like knowing
| how to actually get a little mind share.

  yes, by lying, overstating, hyping, misrepresenting the facts, etc.
  somehow, I prefer to buy from Common Lisp sales people, not used car
  sales people who jumped on the Java bandwagon.

| Well, certainly not disgusted yet....

  you will, and the company that'll bring you to it: AT&T.¹

#:Erik
-------
¹ sorry if the ad spoofed on is a little old.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christopher R. Barry  
View profile  
 More options Feb 17 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: cba...@2xtreme.net (Christopher R. Barry)
Date: 1999/02/17
Subject: Re: Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava

Erik Naggum <e...@naggum.no> writes:
> * cba...@2xtreme.net (Christopher R. Barry)
> | Common Lisp has a kinda oddball size for FIXNUMs.  What is it doing
> | about 64-bit platforms? What will it do when we've got 128-bit ones?

>   geez, why do you care?  Common Lisp doesn't _have_ sizes of such things.
>   implementations do.  C and C++, however, _do_ have sizes of such things.
>   C/C++ have the problem you allude to.  Common Lisp just runs with a
>   little less consing on a machine with bigger machine integers.

The specification for C's "int" and CL's "FIXNUM" are virtually
identical.

> | Why can't Lisp become more popular?

>   why can't opera be more popular?  why can't football be less popular?

I think your analogy is not the most suitable one. I think using Lisp
over C or Java boils down to more than just personal taste and factors
analogous to your analogy.

> | What's stopping it?

>   people like you.

Okay, what can I realistically do to make it more popular?

> | You can't do sockets or threads in CL without a hell of a lot of #+ and
> | #- and have it work in any CL providing access to these features.

>   just because you can't doesn't many other people can't.  the simplest way
>   to do this is to write a thin veneer, perhaps using compiler macros, to
>   present a uniform, standard interface to the underlying implementation
>   (which, by the way, differs between _socket_ implementations, too), stuff
>   this in a file that is loaded only on the platform it applies to.
>   porting your system is a matter of making a new copy of this file.  this,
>   by the way, is how intelligent people _implement_ real portability.  only
>   if the differences are very small and very localized does it make sense
>   to use #- and #+.  personally, I use #- and #+ only in configuration
>   files and in DEFSYSTEMs.

Has anyone done this already? Can I download a pre-done layer of
documented macro definitions from somewhere that will at least work
across CMUCL and Allegro CL? If I have to do it myself, not a huge
deal as long as I only do it for functions I use and not everything,
but standardization just makes it *that* much easier.

>   feel free to complain that this veneer isn't standardized.  I fully
>   expect you to, but also that you will complain about whatever you get,
>   the same way people complain about the pathname abstraction prohibiting
>   them from running the whole gamut of file system options and operations
>   on their particular implementation.

A little while back before my homework caught up with me I actually
kinda started to work on making a uniform interface between the ext:
and excl: file operation functions of Allegro and CMU Common Lisp
which provide a lot of the same functionality so that I could write
some intelligent Debian package management utilities for my personal
use to make up for where Apt and dpkg don't get it right for my
purposes. I don't want to commit to using only CMUCL or Allegro CL for
this or anything else just yet. CL-HTTP has been helpful though....

It's just *that* much more of an (IMO) unnecessary inconvenience.

Wasn't the whole point of Common Lisp that a lot of implementations
were providing largely equivalent functionality with a slightly
different interface? Everyone does sockets and threads these days and
a lot of the extension functions across implementations do almost the
exact same stuff. Are there any large, sophisticated, real-world apps
that are written these days in CL that don't do threads?

I should mention that CL-HTTP includes a lot of functions and macros
that unite some of the extension features found in all the CLs and
I've found it very useful and it's saved me a lot of time already. It
was obviously a lot of work to put all of that together and it would
be nice if this stuff could just always be relied upon to be there.

Christopher


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pierre Mai  
View profile  
 More options Feb 17 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: Pierre Mai <p...@acm.org>
Date: 1999/02/17
Subject: Re: Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava
cba...@2xtreme.net (Christopher R. Barry) writes:

> Common Lisp has a kinda oddball size for FIXNUMs. What is it doing
> about 64-bit platforms? What will it do when we've got 128-bit ones?

????  ANSI Common Lisp doesn't have any size for FIXNUMs.  It only
mandates that FIXNUM be a supertype of (signed-byte 16).  But FIXNUMs
can grow to any size the implementation can support, i.e. given that
most current 32bit implementations use 2 tag bits, I'd guess that
64bit implementations would offer FIXNUMs with 62bit range.  OTOH
there might be better uses for some of the added bits, who knows.

But the most important point is, that the size of FIXNUMs in CL
matters only for points of speed, which is as it should be.  In CL you
don't worry about integer bittyness, unless you really need to, which
is either for speed or data-layout reasons, where you get the tools
for doing what needs to be done. And this doesn't change one jota even
if your plattform evolves.  You just get the benefits, without the
hassles.

The standard doesn't have to change in any way to accomodate 2^n
plattforms for n>16.

> > How many times has the Java "standard" already changed?)

> It's been updated twice, and the runtime environment and browsers all
> still have to run the 1.0 code and 1.1 code too.

Which is twice too often for a standard of a language that's only been
around for 4-5 years.  But of course this is to be expected, which is
why you just don't use languages this young for real work.  You don't
even start standardization efforts, with a language this young.  This
is the really unprecended thing about Java that scares me!  We never
ever had so large a rush to one language which as yet hasn't even
started to settle down, let alone matured to any sufficient point.
Even C++ only ever got that amount of hype and public attention after
6-10 years of it's first definition (C with classes dates to 1980, in
1984 it started to be called C++, and most of the core features were
there).

> Why can't Lisp become more popular? What's stopping it? Do you think
> that the reasons outlined in "The Rise of Worse Is Better" are the
> _real_ reasons?

If anything, things have gotten worse: Whereas prior generations
preferred Unix (which went 90% of the way) to Multics&Co. (which
tried to go 100%), in more recent times, people have gotten less
critical, accepting 80%, 70%, 60% and less, without even flinching.
They only got slightly upset, when Microsoft consistently tried to
only go 20% of the way, and mocking those who complained.  But who
will we be rescued by?  Java/Sun, who will be hailed for going 40% of
the way?

It seems to me that much of Java's "success" stems from the fact, that
current users/programmers prefer an application that gives you
internet access, draws pretty pictures, is slow as hell even on the
most modern machines, insecure and so buggy that it crashes
about every 5-10 minutes to a program that works reliably and
stand-alone on reasonable machines and is rock solid.  Mostly because
the first application is "cool", and the other one isn't[1].

Of course CL will never be able to match Java in coolness, since
coolness and reliability are mutually exclusive in the real world,
where resources are limited, and will be distributed according to
priorities.  Dito for Ada.  Is this a bad thing?  Not in my book.

As long as the value-system and priorities of the masses are so at
odds with my priorities, I don't want the languages and tools I choose
to go mainstream and get popular.  We don't have to change CL to make
it popular[2], we have to change popular priorities and value-systems.
Then popularity will follow naturally.

Regs, Pierre.

Footnotes:
[1]  Just look at WWW browsers to see a real world example of this.

[2]  We may of course see the need to change and expand CL to meet
demands of its user community, w.r.t to certain features or
clarifications.  There are enough things to think about, but
popularity is not the driving force here.

--
Pierre Mai <p...@acm.org>               http://home.pages.de/~trillian/
  "One smaller motivation which, in part, stems from altruism is Microsoft-
   bashing." [Microsoft memo, see http://www.opensource.org/halloween1.html]


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pierre Mai  
View profile  
 More options Feb 17 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: Pierre Mai <p...@acm.org>
Date: 1999/02/17
Subject: Re: Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava
cba...@2xtreme.net (Christopher R. Barry) writes:

> I'll retract my statement. I believed in error that the standard
> required fixnums to be 30 bits, but it says that they must be at least
> 16 bits (well, have a range of 2^15-1 to -2^15). Pretty much the same
> requirement as the ANSI C "int" type.

Yes, and no.  The important difference to C is:

a) Unless you actively prohibit this, FIXNUM arithmetic will overflow
   correctly and automatically into BIGNUMs, so that a wrong estimate
   on your part on the size of FIXNUMs will only cause performance
   degradation and not wrong results.

b) There are additional type-specifiers that allow you to clearly
   specify types based on your range and/or bit bestimates, so that
   none of that "long int is 32bit, long int is 64bit, ..." guessing
   is needed.

Regs, Pierre.

--
Pierre Mai <p...@acm.org>               http://home.pages.de/~trillian/
  "One smaller motivation which, in part, stems from altruism is Microsoft-
   bashing." [Microsoft memo, see http://www.opensource.org/halloween1.html]


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pierre Mai  
View profile  
 More options Feb 17 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: Pierre Mai <p...@acm.org>
Date: 1999/02/17
Subject: Re: Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava
cba...@2xtreme.net (Christopher R. Barry) writes:

> >   geez, why do you care?  Common Lisp doesn't _have_ sizes of such things.
> >   implementations do.  C and C++, however, _do_ have sizes of such things.
> >   C/C++ have the problem you allude to.  Common Lisp just runs with a
> >   little less consing on a machine with bigger machine integers.

> The specification for C's "int" and CL's "FIXNUM" are virtually
> identical.

No, they are not, since, as Kent Pitman has said here many times, you
cannot evaluate language features and their specs in isolation, but
must always consider the whole ecosystem provided by their standards,
environments etc.  Your thinking that since both C and CL standards
require int/fixnum to be 16bit or more is any kind of counter argument
to Erik's statement, just very nicely demonstrates the dangers of not
doing this.

For more details on why C's int and CL's FIXNUM are not in any way
comparable, see my previous postings.

> Wasn't the whole point of Common Lisp that a lot of implementations
> were providing largely equivalent functionality with a slightly
> different interface? Everyone does sockets and threads these days and
> a lot of the extension functions across implementations do almost the
> exact same stuff. Are there any large, sophisticated, real-world apps
> that are written these days in CL that don't do threads?

So get your CL vendor to raise the point at the next meeting of the
standards comittee, should it be decided that the standard should be
revised, rather than reapproved.

If it is so, that all available threading and socket-based networking
APIs differ only in minor details, then taking this area into the
standard might be possible and sensible.  Otherwise, the other vendors
and members of the comittee will surely object ;)

> I should mention that CL-HTTP includes a lot of functions and macros
> that unite some of the extension features found in all the CLs and
> I've found it very useful and it's saved me a lot of time already. It
> was obviously a lot of work to put all of that together and it would
> be nice if this stuff could just always be relied upon to be there.

So you got all of your functionality, for all the plattforms you care?
So you can actually do everything you want, don't you?  You just want
the standards body to bless this, so you can sleep better at nights?
Well, sure this would be _nice_.  But nice is not important, is it?

There are so many things that would be nice.  The art of engineering
is dividing up the nice from the essential and then providing the
essential.  If any resources are left over, you provide as much of the
nice as seems reasonable.

Regs, Pierre.

--
Pierre Mai <p...@acm.org>               http://home.pages.de/~trillian/
  "One smaller motivation which, in part, stems from altruism is Microsoft-
   bashing." [Microsoft memo, see http://www.opensource.org/halloween1.html]


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steve Gonedes  
View profile  
 More options Feb 17 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: Steve Gonedes <sgone...@worldnet.att.net>
Date: 1999/02/17
Subject: Re: Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava

cba...@2xtreme.net (Christopher R. Barry) writes:

< You could write applets in CL and basically gain all the advantages
< and cross-platform functionality Java has. You can't do sockets or
< threads in CL without a hell of a lot of #+ and #- and have it work in
< any CL providing access to these features. And many are reluctant to
< ship source code.
<
< Christopher

Actually I just saw the neatest idea for handling the `#+' in the
scigraph program. It uses a reader macro called `#FEATURE-CASE'.
Really made things easier to read.

Also, in cl-http there is a wrapper layer for threads and I think
there is another one floating around on the net.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kent M Pitman  
View profile  
 More options Feb 17 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: Kent M Pitman <pit...@world.std.com>
Date: 1999/02/17
Subject: Re: Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava

Pierre Mai <p...@acm.org> writes:
> ANSI Common Lisp doesn't have any size for FIXNUMs.  It only
> mandates that FIXNUM be a supertype of (signed-byte 16).

And doesn't it also say that the fixnum type has to be big enough that
all array indices can be declared fixnum?   That's actually a pretty
important constraint on it, almost as important as the bitcount.
It's late and I'm too lazy to go browsing to be sure, though.

> The standard doesn't have to change in any way to accomodate 2^n
> plattforms for n>16.

Yes, and incidentally, Maclisp (parent of Common Lisp) ran on a 72 bit
architecture (Multics) back in the late 1970's.  And I vaguely recall
there was a Common Lisp for the CDC 7600 in the mid to late 1980's, so
this biz of what are we going to do when we get to 64 bit
architectures is kinda funny...

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim Bradshaw  
View profile  
 More options Feb 17 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: Tim Bradshaw <t...@tfeb.org>
Date: 1999/02/17
Subject: Re: Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava
cba...@2xtreme.net (Christopher R. Barry) writes:

> Common Lisp has a kinda oddball size for FIXNUMs. What is it doing
> about 64-bit platforms? What will it do when we've got 128-bit ones?

CL doesn't specify fixnum sizes (well it says they have to be bigger than
some small number of bits I think).  RTFM before you flame.

--tim


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Erik Naggum  
View profile  
 More options Feb 17 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: Erik Naggum <e...@naggum.no>
Date: 1999/02/17
Subject: Re: Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava
* cba...@2xtreme.net (Christopher R. Barry)
| The specification for C's "int" and CL's "FIXNUM" are virtually identical.

  I'm baffled.  have you _read_ the specifications?  a fixnum is simply a
  more efficient integer, and some implementation-defined limits are less
  than or equal to MOST-POSITIVE-FIXNUM, but you have know your compiler
  real well before (+ fixnum fixnum) does not cause a bignum when needed.
  what, precisely, is you gripe with the size of FIXNUM, anyway?  methinks
  you just have a fixation that you're trying blame Common Lisp for.

| > | Why can't Lisp become more popular?
| >
| >   why can't opera be more popular?  why can't football be less popular?
|
| I think your analogy is not the most suitable one. I think using Lisp
| over C or Java boils down to more than just personal taste and factors
| analogous to your analogy.

  my point was that you ask a useless question that has no useful answer.
  it is rare that you can explain why something is popular at any given
  time.  (and "marketing" begets the question "why did it work?", which all
  marketing people will tell you is not something you sit down and predict.)

| > | What's stopping it?
| >
| >   people like you.
|
| Okay, what can I realistically do to make it more popular?

  you can stop posting drivel and actually go read the specification and
  ask questions instead of posting wrong answers to questions people don't
  ask.  you see, people are _detracted_ from a gravitation towards Lisp as
  they gain experience in their field and want self-improvement.  this is
  not at all the path you get if you ask about or measure popularity.

| Has anyone done this already?  Can I download a pre-done layer of
| documented macro definitions from somewhere that will at least work
| across CMUCL and Allegro CL?  If I have to do it myself, not a huge deal
| as long as I only do it for functions I use and not everything, but
| standardization just makes it *that* much easier.

  I think your doing it yourself is a valuable exercise in understanding
  (1) how this stuff should have been implemented, (2) the effort that goes
  into standardization, and (3) the effort that goes into sharing quality
  code with other people.  maybe then you will realize what you're asking
  for when you want everything for free.

| A little while back before my homework caught up with me I actually kinda
| started to work on making a uniform interface between the ext: and excl:
| file operation functions of Allegro and CMU Common Lisp which provide a
| lot of the same functionality so that I could write some intelligent
| Debian package management utilities for my personal use to make up for
| where Apt and dpkg don't get it right for my purposes.  I don't want to
| commit to using only CMUCL or Allegro CL for this or anything else just
| yet.

  this at least explains your problems.  what you're doing is a waste of
  time, although the purpose and goal is clear, so consider this: what you
  sit down and design because CMUCL and Allegro CL do not agree on some
  interface design is something you barely know how works and what you will
  actually need from it once it does work.  once it works well enough for
  you to build something on top of, you will need to redesign it after you
  have started to build something.  only if you chose one implementation
  and got enough stuff working to start feeding data back into the design
  process can you hope to get the design right.  what you're doign is
  premature abstraction without an actual purpose or goal.  "to make it
  work in both Allegro CL and CMUCL" should not be a goal, it should fall
  out your efforts as a result.

| It's just *that* much more of an (IMO) unnecessary inconvenience.

  programming is all _about_ "unnecessary inconveniences", and every step
  of progress tries to reduce their number.  that's why good programmers
  choose languages that have less unnecessary inconveniences than other
  languages, but if you think you can avoid unnecessary inconveniences, I
  think you should consider death and taxation first.

| Wasn't the whole point of Common Lisp that a lot of implementations were
| providing largely equivalent functionality with a slightly different
| interface?

  yes, historically, this was the motivation for the standardization, as it
  is with most good standardization, incidentally.

| Everyone does sockets and threads these days and a lot of the extension
| functions across implementations do almost the exact same stuff.

  also true, but standards are basically removing functionality from the
  market.  the issue changes from "do you support FOO" to "do you conform
  to the specification of FOO".  the former is a feature if true, but
  otherwise draws a blank.  the latter draws a blank if true, and is
  otherwise a reportable bug.  to make standards work, all vendors must
  agree to stop considering their features features, and start viewing them
  as requirements.  incidentally, this process parallels your Java vs CL
  attitude: you argue against CL because you regard features in Java as
  requirements of CL.  this is, to put it mildly, hopelessly naive.

| Are there any large, sophisticated, real-world apps that are written
| these days in CL that don't do threads?

  I cannot imagine otherwise.  why do you?

| I should mention that CL-HTTP includes a lot of functions and macros that
| unite some of the extension features found in all the CLs and I've found
| it very useful and it's saved me a lot of time already.  It was obviously
| a lot of work to put all of that together and it would be nice if this
| stuff could just always be relied upon to be there.

  well, you have the CL-HTTP sources, and it is apparently not a problem
  for you that you cannot use it commercially (which was a gripe you had
  with Common Lisp implementations, so I have a minor problem understanding
  what your actual and real concerns are).

#:Erik


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christopher R. Barry  
View profile  
 More options Feb 17 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: cba...@2xtreme.net (Christopher R. Barry)
Date: 1999/02/17
Subject: Re: Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava

Erik Naggum <e...@naggum.no> writes:
> * cba...@2xtreme.net (Christopher R. Barry)
> | It's crippled, and you must pay if you want to use it commercially.

>   sigh.  what _are_ the other crippled features of this version?

Can you develop GUIs with it? The whole Java experience has been very
refreshing for me. I downloaded the JDK, Swing, an Emacs IDE and an
8MB tutorial + 3MB of API documentation (and there's still many more
docs to download) all for free and very conveniently and it included a
number of cool demo GUI apps and everything I needed to do anything.

Just like that. It felt *nice*. It's so *easy* to learn as well. It's
like I have 15 million classes to choose from I can just strap
together a neat little app in 10 minutes that I could also probably do
without difficulty in CL but I'd have to write like 10 different
classes first.

>   and I find it slightly amusing that you, too, keep adding conditions that
>   make you not choose Common Lisp, no matter how people answer your gripes.

I never _chose_ anything. Someone flamed Java and I said what I
thought Java did right. I like my Lisp systems a lot more than my JDK,
but Java has made me aware of stuff I'd like to be able to do in Lisp.

> | I would feel dishonest if I contacted Franz about getting an evaluation
> | copy of CLIM. I know that no matter how much I liked it, I could not at
> | this point in my life afford it.

>   yeah, and I'm sure this is CLIM's fault.  you said "Swing, unlike CLIM,
>   doesn't cost $4000-$7000 to even try out on Unix."  which was an outright
>   lie, so now you would feel dishonest if you asked for a demo version, but
>   you didn't feel dishonest when you lied to begin with?

Come on Erik, be fair. If you look at the history of this thread
you'll see that I said that before being informed otherwise. Now tell
me, do you think it would be okay if I asked to evaluate it for free
when I know I can't afford it right now?

> | It would be nice if it could be obtained under the same terms as the
> | Allegro CL Linux Trial Edition, where you can use it as long as you like,
> | and not feel obligated to purchase it.

>   you can't use it as long as you like.  can't you even read licenses?
>   (yeah, I'm expecting another silly gripe, now.)

Hmm... sigh. Another assumption on my part. I'll have to get around to
reading that license. Sometime.

>   you clearly confused what "would be nice" with what people think they
>   might one day be able to profit from providing you.  there ain't no such
>   thing as a free lunch, remember?

They've got to get us using their products while we're young and still
in school so we know to tell our managers that we want to use CL for a
project once we're hired instead of thinking only in terms of how to
implement a solution using C++, Perl or Java.

All the other people in my Java class have pretty much only seen C,
VB, C++ or whatever and they're probably liking Java a lot more than
even I am.... They'll never learn to think Lisp.

> | After having been able to use Allegro CL so extensively, I know that at
> | some point in the future I would definately buy it if using Common Lisp
> | for a big project.

>   good for you.  I won't hold my breath.

Thanks. I love you to. :-)

> | There are a number of things that Java gets right though, like knowing
> | how to actually get a little mind share.

>   yes, by lying, overstating, hyping, misrepresenting the facts, etc.

Or by letting me download everything at once and overwhelming me with
all its features and functionality and cool demonstration programs and
documentation and making suddenly aware of some things I'd really like
to be doing in Lisp....

> | Well, certainly not disgusted yet....

>   you will, and the company that'll bring you to it: AT&T.¹

:-)

Christopher


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Sun thinks about switching Java to S-expression syntax: Lava" by Christopher R. Barry
Christopher R. Barry  
View profile  
 More options Feb 17 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: cba...@2xtreme.net (Christopher R. Barry)
Date: 1999/02/17
Subject: Re: Sun thinks about switching Java to S-expression syntax: Lava
"David J. Cooper Jr." <dcoo...@genworks.com> writes:

While we're naming everything that uses Lispy representations we can
think of, let's not forget RTL, the intermediary representation of GNU
compilers.

Christopher


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava" by Erik Naggum
Erik Naggum  
View profile  
 More options Feb 17 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: Erik Naggum <e...@naggum.no>
Date: 1999/02/17
Subject: Re: Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava
* cba...@2xtreme.net (Christopher R. Barry)
| Can you develop GUIs with [Allegro CL 5.0 Lite]?

  AFAIK, that was the whole idea, but since I don't use GUIs, I'm not
  entirely sure what it can do.  but why not try to read what Franz Inc
  writes about this and ask them directly?  on the Net, people argue about
  whether year 2000 is a leap year or not, so it's not as if you can rely
  on the answers you get.

| Hmm... sigh.  Another assumption on my part.  I'll have to get around to
| reading that license.  Sometime.

  before your next gripe about it would be a good value of "sometime".

| They've got to get us using their products while we're young and still in
| school so we know to tell our managers that we want to use CL for a
| project once we're hired instead of thinking only in terms of how to
| implement a solution using C++, Perl or Java.

  does the medical profession provide kids with scalpels and syringes while
  still in school so they get used to using them by the time some of them
  will enter medical school?  if not, why not?

  seriously, I wonder where this wacky idea of yours comes from.  lots of
  people think that you have to accomodate kids, novices, and idiots in
  order to _succeed_.  that isn't quite true -- you need to do that to make
  a mass market with millions of users.  this always has enormous costs in
  what you have to do to attract them.  e.g., you think in terms of
  "unnecessary inconveniences" instead of understanding that programming is
  all about removing inconveniences that arise in your particular
  application, and you want people to give you things instead of creating
  them.  that's lazy in the wrong way.

| All the other people in my Java class have pretty much only seen C, VB,
| C++ or whatever and they're probably liking Java a lot more than even I
| am.... They'll never learn to think Lisp.

  oh, they will, in time.  people come to Lisp for reasons of their own.
  you can't push Lisp on people -- you can't push good taste on people.

#:Erik


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christopher R. Barry  
View profile  
 More options Feb 17 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: cba...@2xtreme.net (Christopher R. Barry)
Date: 1999/02/17
Subject: Re: Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava

Isn't this kinda like prototyping or "throwing the first one away", a
practice that as far as I know you do not believe in? But, I'm really
liking your advice so far.

> only if you chose one implementation and got enough stuff working to
> start feeding data back into the design process can you hope to get
> the design right.  what you're doign is premature abstraction
> without an actual purpose or goal.  "to make it work in both Allegro
> CL and CMUCL" should not be a goal, it should fall out your efforts
> as a result.

So far I've been using both CMUCL and Allegro about equally as much. I
often run both of them at the same time in a split Emacs frame, and
send each the same input when I'm trying new stuff from the
HyperSpec. It's interesting to observe all the differences in error
handling and formatting and compiler messages and GC time and
frequency and other things. I've been trying very hard to avoid using
one dominantly, and have been focusing heavily with portability
between the 2. But I guess I have to make a choice now of the one I'm
going to commit to writing a full application in first before looking
into portability to the other. I guess this isn't as bad as I've been
thinking it is and I'll have to accept this as just the way it is.

> | It's just *that* much more of an (IMO) unnecessary inconvenience.

>   programming is all _about_ "unnecessary inconveniences", and every step
>   of progress tries to reduce their number.  that's why good programmers
>   choose languages that have less unnecessary inconveniences than other
>   languages, but if you think you can avoid unnecessary inconveniences, I
>   think you should consider death and taxation first.

That puts some interesting perspective on it.

> | Everyone does sockets and threads these days and a lot of the extension
> | functions across implementations do almost the exact same stuff.

>   also true, but standards are basically removing functionality from the
>   market.  the issue changes from "do you support FOO" to "do you conform
>   to the specification of FOO".  the former is a feature if true, but
>   otherwise draws a blank.  the latter draws a blank if true, and is
>   otherwise a reportable bug.  to make standards work, all vendors must
>   agree to stop considering their features features, and start viewing them
>   as requirements.  incidentally, this process parallels your Java vs CL
>   attitude: you argue against CL because you regard features in Java as
>   requirements of CL.  this is, to put it mildly, hopelessly naive.

Okay, I'll get over it.

> | Are there any large, sophisticated, real-world apps that are written
> | these days in CL that don't do threads?

>   I cannot imagine otherwise.  why do you?

I was imagining being able to do this in an CL though kinda like with
Java, "imagining" being the operative word. Sigh.

Christopher


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Espen Vestre  
View profile  
 More options Feb 17 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: Espen Vestre <e...@nextel.no>
Date: 1999/02/17
Subject: Re: Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava
cba...@2xtreme.net (Christopher R. Barry) writes:

> The specification for C's "int" and CL's "FIXNUM" are virtually
> identical.

others have pointed out that you're wrong.

I'd just like to point out that I think it's a good motto to
stay away from fixnum declarations until your profiler suggests you
to consider using them.  CLs general integers has saved lisp programmers
from a *lot* of problems, and will still do (-> the 2038 problem).

--

  (espen)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim Bradshaw  
View profile  
 More options Feb 17 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: Tim Bradshaw <t...@tfeb.org>
Date: 1999/02/17
Subject: Re: Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava
cba...@2xtreme.net (Christopher R. Barry) writes:

> The specification for C's "int" and CL's "FIXNUM" are virtually
> identical.

Erm, no.  If you overflow an int in C you die horribly, if yu overflow
a fixnum things just get a bit slow.  What happens in C when your nice
32bit int time type overflows?  What happens in CL when the time
overflows a fixnum (hint: it already has for any implementation I know
of).

> I should mention that CL-HTTP includes a lot of functions and macros
> that unite some of the extension features found in all the CLs and
> I've found it very useful and it's saved me a lot of time already. It
> was obviously a lot of work to put all of that together and it would
> be nice if this stuff could just always be relied upon to be there.

Well, better than complaining would be to put some work into a
proposed standard <x> interface for CL and post it for comments.

--tim


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Erik Naggum  
View profile  
 More options Feb 17 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: Erik Naggum <e...@naggum.no>
Date: 1999/02/17
Subject: Re: Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava
* cba...@2xtreme.net (Christopher R. Barry)
| Isn't this kinda like prototyping or "throwing the first one away", a
| practice that as far as I know you do not believe in?  But, I'm really
| liking your advice so far.

  there's a nuance here that seems to get lost all the time.  first, some
  people _believe_ in prototyping (in another language), i.e., they do it
  whether it makes sense or not.  sometimes, it makes sense to do it.
  second, "throwing the first version away" is something you do if you need
  to, not something you should out to do, because then you'll end up maybe
  having to throw the second version away, too.

  my argument against what you're doing is that you involve yourself in
  low-level stuff long before you know how to do either low-level or
  high-level stuff.  you will learn the wrong thing from this experiment
  and will retain whatever was reasonably simple to implement, not what is
  good design.  simplifying the design is sometimes necessary when the cost
  of implementing it proves too costly.  if you implement it in one of the
  environments at a time, you may call it prototyping.  if you implement it
  in both, you're trying to evolve production code.  this will fail.

| I was imagining being able to do this in an CL though kinda like with
| Java, "imagining" being the operative word.  Sigh.

  well, maybe Java has a place in the grand order of things, but to make
  Java really work, I want serious protocol engine support, since the Java
  applet is going to talk to a server, and it'd be nice if that was using a
  reasonably standard protocol.  as far as I know, CORBA support is not
  "standard" in Java, and despite it's cost and the introduction of yet
  another language (IDL) is the most promising way to deal with this mess.

#:Erik


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Johan Kullstam  
View profile  
 More options Feb 17 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: Johan Kullstam <kulls...@ne.mediaone.net>
Date: 1999/02/17
Subject: Re: Java is really convenient. Re: Sun thinks about switching Java to S-expression syntax: Lava

Tim Bradshaw <t...@tfeb.org> writes:
> cba...@2xtreme.net (Christopher R. Barry) writes:

> > The specification for C's "int" and CL's "FIXNUM" are virtually
> > identical.

> Erm, no.  If you overflow an int in C you die horribly, if yu overflow
> a fixnum things just get a bit slow.  What happens in C when your nice
> 32bit int time type overflows?  What happens in CL when the time
> overflows a fixnum (hint: it already has for any implementation I know
> of).

nod.

however, what if i actually *want* a wrap around.  i do not want an
integer but a number from the ring Z_n.

this is not an idle question.  i could actually use this.  for
example, i am measuring angles on a satellite dish pedestal and my
sensor equipment maps the angle to a number from 0 to 65535.  it'd be
nice to wrap around automatically, since the concept i am trying to
handle - angles - do this.

i.e., (+ angle1 angle2) should return a new angle in the canonical
angle format 0 to 65535.

other times it'd be nice to have a wrapping integer type is for
periodic time-varying filter operations in a modem.

the books i have seen are a little weak on the number crunching, bit
banging side of the house.  i hear that lisp can be as fast as fortran
on numeric problems.  i have come to lisp out of disgust with C++ and
i am finding that i like lisp.  but is they any information on how to
solve those problems which are traditionally done in fortran or C?

--
Johan Kullstam [kulls...@ne.mediaone.net] Don't Fear the Penguin!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Java portability (and not about Lisp at all!)" by Howard R. Stearns
Howard R. Stearns  
View profile  
 More options Feb 17 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: "Howard R. Stearns" <how...@elwood.com>
Date: 1999/02/17
Subject: Java portability (and not about Lisp at all!)

Steve Gonedes wrote:

> You forgot that you can run Java programs on every windows and Solaris
> computer in the world!

Well that's the idea, and indeed, I do believe that a good byte code
format that can be compiled once and run anywhere is a good thing, and
if it existed, should be widely used.  However:

1. That is a function of the Java Virtual Machine (JVM), and not a
feature of the Java programming LANGUAGE.  Other languages could use the
JVM, too, if it worked right.

2. I don't believe that your statement is correct -- you can't reliably
run it anywhere.  Anecdotaly, I read this week about some drug maker
that had a lot invested in some client-server apps.  They used a Java
applet on the client side, and ALL THEIR CLIENT MACHINES WERE RUNNING
WINDOWS.  Unfortunately, the Windows implementation of the JVM was
broken and the app didn't run.  They had to have someone (Oracle?) build
them a special JVM for Windows.

Now instead of having an application that was written once and running
on all platforms, they have an application that was written more than
once and running only on one.  And this BECAUSE OF, not despite, the
fact that they relied on the univerality of the JVM.

Now this is just one story, and I can't even recall the source
(Performance Computing???)  Furthermore, I get a lot of free magazines
and they're worth every penny I pay.  So take this all with a grain of
salt.  

Nonetheless, I think the point is fair that the JVM is MARKETED as
universal, but in practice it is technically no closer than, say, CLISP
byte-code.  You might believe that market forces are likely to make that
dream a reality sooner for JVM than for alternatives, but that's another
story, and it's not quite what you said.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 26 - 50 of 419 < Older  Newer >
« Back to Discussions « Newer topic     Older topic »