Zachary Turner
Zachary Turner
Zachary Turner wrote in message <741sh7$lje$1...@uuneo.neosoft.com>...
http://www.elwoodcorp.com/alu/
You will find a fair bit of information (tutorials as well) to get you up
to speed. Good luck!
Sunil
Well, define what you mean by a hello world program... Here are several
that meet your requirements.
Because strings are self-evaluating in Lisp, this is the the simplest
program:
"Hello, world!"
If you want to get closer to the canonical hello world program that does
explicit output, try these:
(write "Hello, world!")
(format t "Hello, world!")
(format nil "Hello, world!")
If you want to pop up a window that says hello world, that kind of output is
platform dependent (and I don't have a copy of LW at hand). Typically, you
can create a window that behaves as a text output stream, and use it
something like this:
(let ((w (make-instance 'window)))
(format w "Hello, world!"))
Again, the window example may not work in LW (if it does, it's a lucky guess
on the class name). Why don't you take a look through the manual and see
whether they have a tutorial?
Finally, if you want to create a standalone application, you're really gonna
have to crack that manual. Every Lisp is different, but it would probably
be fruitful if you searched the index for some hyphenated combination of
dump or save and image or application.
---
David B. Lamkins <http://www.teleport.com/~dlamkins/>
There are many ways to abbreviate something, but only one way not to.
(princ "Hello World")
|Hello World|
"Hello World"
Any of these expressions at the command prompt will do what you want to,
and yet none of these is satisfying as a program.
If you want to write a function that simply does hello world, then
(defun foo ()
(princ "Hello World"))
(foo)
This to me does not quite seem very satisfying as a program either.
I guess what I am trying to say is that Lisp is not very amenable to small
toy programs, simply because they are trivial to put together. Now, if you
want to deal with a large complex problem, Lisp tends to work great. There
are many, many problems that take loads of code in other languages, but end
relatively clean and nice in Lisp. An expressive syntax helps :-)
Going up yet another level, the "right way" to learn a language would be to
figure out what it is good for. Obviously, Lisp is not good for writing
Hello World, since you end up carrying around an environment at least 10MB
in size to get this to work. I don't know what your motives for learning
lisp are, but I would think hard about this question.
Now, if you want to ask what lisp is good for, I would suggest trekking
over to dejanews. This question has been asked enough times. If you have a
problem at hand, there are lots of *very* smart people on this newsgroup
that would be more than happy to help you out. (They've been kind to me,
certainly.)
Sunil
Zachary Turner
If you just want to learn Lisp then why are you so keen on spending a
large sum of money? Last time I looked, both Harlequin and Franz had
full-featured versions of their Lisp environments free for personal
use. And there are a whole bunch of Lisp implementations that are free
software, in case you ever wanted to look at the inside :-)
Joachim
--
joa...@kraut.bc.ca (http://www.kraut.bc.ca)
joa...@mercury.bc.ca (http://www.mercury.bc.ca)
Joachim Achtzehnter wrote in message ...
Sunil
Sunil Mishra wrote in message ...
Zach
Zachary Turner wrote in message <746dv0$qij$1...@uuneo.neosoft.com>...
>On second thought maybe this isn't such a bad idea.. Interesting at the
>least... I'll give it a shot in a few months after I get proficient with
>Lisp. On another note, does anyone know what the deal is with Franz, Inc.?
[...]
They've probably been very busy organising a conference (very well, I
thought).
--tim
Corman Lisp is betaware. I recommend that if you have the money for real
commercial grade software that you stick with Franz or Harlequin. They have
been battle tested, implement the ANSI standards, and you will experience far
fewer fustrations with them. My experience with Corman Lisp involved frequent
crashes, missing features (like macrolet), and far slower performance. And
all I tried on Corman Lisp were a few small benchmarks. I hate to be negative
but you can't really expect a new Lisp environment to be competitive with
folks with a large staff and years behind their product? For a beginner on
Windows I recommend Harlequin Lispworks Personal Edition and when you get a
real project graduate to the Professional Edition (~$500) which costs only a
few hundred more than what Corman wants. If you need even more performance
(and have even more dollars) then consider Franz's Allegro CL(~$3000-4000).
(I have both and prefer ACL over Lispworks but I am biased by having used ACL
on Unix for years and the need for the absolute fastest floating point
speed.)
--
John Watton
Aluminum Company of America
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
John Atwood
-------------------------------------------
well, yes, I do. it appears that you walked into a small restaurant with
Burger King expectations. in so doing, you might have triggered some
strong negative responses based solely in a cultural conflict that you
might not even be aware of. phone numbers and e-mail addresses look very
much alike, in contrast to storefronts, offices, and counters.
you said you know nothing about (Common) Lisp -- one of the things you
will experience is that the community is very different from the Windows
communities, whence it appears you come. for instance, the Common Lisp
market is not marketing-driven, it is not a pyramid game that requires
ever new people nor a bug-and-upgrade scam, and it is not leveraging its
operational costs across a huge volume of sales. rather, it is a pretty
mature market of long-term partnerships with a steady growth. the quick
sale is not unlike a one-night-stand in this setting and you _may_ just
have appeared much less than serious than you believed you were.
| I evaluated Allegro CL 5.0 and I really like it, but these people are
| basically sitting here with the "No we don't your money. Go give it to
| Harelquin" attitude, which is really frustrating since I want to purchase
| Allegro. Has anyone else had better luck with them?
yes, I have. the fact that I have happy Common Lisp clients today is
probably due mostly to the excellent and welcoming attitude at Franz Inc
when I first approached them. they have continued to be very helpful in
making my projects succeed, both for me and for my clients. I think what
you write is grossly unfair, so I have to reiterate my impression that
you have stumbled on a cultural conflict; not all restaurants serve fast
food, some cater to a very different audience and their tastes and needs.
#:Erik
--
The Microsoft Dating Program -- where do you want to crash tonight?
I can add that I have had a totally different (from Zachary's) experience in
communicating with Franz, in spite of never even having been their paying
customer. Virtually every e-mail inquiry sent to the sales (out of
curiosity, to keep an eye on the situation in case I do get a chance to
become a paying customer), as well as ordering of ACL 4.3 for Linux, was
followed up by a phone call from them. I have no idea what was the secret of
"looking serious", but I have always had an impression they indeed have a
very enthusiastic and welcoming attitude.
--Vassili
--
Vassili Bykov
The Object People
http://www.objectpeople.com
> Corman Lisp is betaware. I recommend that if you have the money for
> real commercial grade software that you stick with Franz or
> Harlequin. They have been battle tested, implement the ANSI standards,
> and you will experience far fewer fustrations with them. My experience
> with Corman Lisp involved frequent crashes, missing features (like
> macrolet), and far slower performance.
Very true. But I do believe Corman Lisp has its place in the sun,
together with all the big commercial and non-commercial players,
because it scratches some itches other implementations do not.
> I hate to be negative but you can't
> really expect a new Lisp environment to be competitive with folks with
> a large staff and years behind their product?
Perhaps because there does not have to be a competition. You
obviously speak from the viewpoint of a corporate developer who has
the money and expects return of investment. This is great, but what
about the hobbyists? The "Personal" and "Lite" editions of LWW and
ACLW are very different from Corman Lisp, and not always to their
advantage. First thing, they are crippled, second, you don't have the
source, third, you are not allowed to redistribute them as parts of
your application.
> For a beginner on
> Windows I recommend Harlequin Lispworks Personal Edition and when you
> get a real project graduate to the Professional Edition (~$500) which
> costs only a few hundred more than what Corman wants.
What is better, open-source betaware or black box crippleware? Before
answering, it is important to consider what for.
For a beginner, LWW Personal or ACLW Lite are indeed the best choice.
But, there is not necessarily a graduation with getting a real Lisp
project. One may have Lisp-unrelated projects in real life they are
perfectly happy about, or unable to change for the time being. So
what do you use if you want something that is not crippled, is still
free or very low cost, allows you to let others see and use your work
as an application, and allows you to see what is inside so that you
can add what is missing or fix what is broken? None of the free
versions of the big commercial players fit the description.
As for "what Corman wants", you seem to have misread the license
conditions. Roger does not want anything for the compiler and the
runtime system. Corman Lisp is free, and that is uncrippled version
with the right to non-commercially distribute binary applications
which may include the compiler. None of the free versions of the
commercial stuff in Windows come close to this. Add to that full
source code, and there is some weight to compare.
Now, on the technical side, Corman Lisp has a very interesting balance
between low-level and high-level stuff. You can do everything a C
programmer can. This was the reason I said the original poster may be
interested in Corman Lisp, since there was some talk about polygon
pushing and game programming. The FFI in Corman Lisp is very flexible
and transparent. The assembly-level stuff is fully open, to the point
that one can write inline assembly code in Lisp functions. It is,
essentially, Lisp with all the capabilities of C when it comes to
communicating with the outside world.
So, my take on this (besides that I don't think Lisp community
should (or, even, can afford to) kick the underdog) is yes,
Corman Lisp is worse compared to the entrenched big commercial
players, but it just might happen to be the kind of worse that is
better here and there...
--Vassili
P.S. BTW, Roger Corman will soon release an update with improved
thread stability (those crashes are due to Windows thread
implementation "features"), macrolet, and the full source--Lisp and C,
among some other things.
P.P.S. No, I am not affiliated with Roger.
P.^3S. If you are interested in joining an online community of Corman
Lisp users, you are welcome to <http://www.dejanews.com/~cormanlisp>.
>
> As for "what Corman wants", you seem to have misread the license
> conditions. Roger does not want anything for the compiler and the
> runtime system. Corman Lisp is free, and that is uncrippled version
> with the right to non-commercially distribute binary applications
> which may include the compiler. None of the free versions of the
> commercial stuff in Windows come close to this. Add to that full
> source code, and there is some weight to compare.
"Free" nowadays often seems to be:
- you are free to fix the bugs you never wanted to fix.
- you are free to implement the functionality you
never wanted to program yourself
- you are free to wade through large amounts of complicated
source code you never wanted to look at
Some people seem to really underestimate the massive amount of work
that is needed to write a really usable and balanced system. This
week I checked a small piece of code (two pages) in five Lisp systems.
a) one *free* versions I checked was not able to run it
(a class fixnum?) without modifications
b) for the two free systems I gave up waiting for the result
(P266 and SUN E250). My old MacIvory beats them. Ha!
So, people don't get your expectations to high and never underestimate
the work that is needed to develop a Lisp system. I said it some
time ago, I have ***high*** respect for guys like Roger Corman
who are trying to tame the beast.
> Some people seem to really underestimate the massive amount of work
> that is needed to write a really usable and balanced system. This
> week I checked a small piece of code (two pages) in five Lisp systems.
> a) one *free* versions I checked was not able to run it
> (a class fixnum?) without modifications
While the ANSI Standard does not mandate that the type specifier
FIXNUM have a corresponding class (unlike INTEGER), it does IMHO
allow implementations to define classes for other type specifiers
(Section 4.3.7):
"Individual implementations may be extended to define other type
specifiers to have a corresponding class."
CMU CL does define a class for FIXNUM.
> b) for the two free systems I gave up waiting for the result
> (P266 and SUN E250). My old MacIvory beats them. Ha!
If you could give me access to the source code, I´d be very interested
in looking into performance issues in CMU CL on Intel, so that the
quality of implementation increases for one of the free systems out
there ;)
> So, people don't get your expectations to high and never underestimate
> the work that is needed to develop a Lisp system. I said it some
Regs, Pierre.
--
Pierre Mai <pm...@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]
He wants $300 for the development environment if memory serves me. The rest is
"free".
I want to correct something else I said earlier. Allegro CL Professional is
something like $4000 which gives you the ability to distribute runtime
internal to a corporation (external to corporation Franz wants to negotiate a
cut). There is an Allegro Personal which is in the $500-900 range but no
runtime ability which I had not mentioned.
--
John Watton
Aluminum Company of America
-----------== Posted via Deja News, The Discussion Network ==----------
> > b) for the two free systems I gave up waiting for the result
> > (P266 and SUN E250). My old MacIvory beats them. Ha!
>
> If you could give me access to the source code, I=B4d be very interested
> in looking into performance issues in CMU CL on Intel, so that the
> quality of implementation increases for one of the free systems out
> there ;)
Nothing special. Just using generic functions instead of
ordinary functions. Calling methods seems to have a huge overhead
(also conses like hell) in CMU CL. The version without methods
ran as expected. I tried this test only
once on my MacIvory and actually methods were faster (!) - on other
implementations there was a 15% speed penalty using
methods.
> While the ANSI Standard does not mandate that the type specifier
> FIXNUM have a corresponding class (unlike INTEGER), it does IMHO
> allow implementations to define classes for other type specifiers
> (Section 4.3.7):
>
> "Individual implementations may be extended to define other type
> specifiers to have a corresponding class."
>
> CMU CL does define a class for FIXNUM.
You are right.
> In article <74d0hq$iti$1...@nnrp1.dejanews.com>,
> Vassili Bykov <vas...@objectpeople.com> wrote:
> >
> > > As for "what Corman wants", you seem to have misread the license
> > conditions. Roger does not want anything for the compiler and the
> > runtime system. Corman Lisp is free
>
> He wants $300 for the development environment if memory serves me. The rest is
> "free".
>
> I want to correct something else I said earlier. Allegro CL Professional is
> something like $4000 which gives you the ability to distribute runtime
> internal to a corporation (external to corporation Franz wants to negotiate a
> cut). There is an Allegro Personal which is in the $500-900 range but no
> runtime ability which I had not mentioned.
So it seems that LispWorks for Windows is much cheaper?
Exactly. With commercial applications, this greatly differs:
>- you are free to fix the bugs you never wanted to fix.
You are not free to fix the bugs you never wanted to fix. In fact, often
you don't have the sources to fix it.
>- you are free to implement the functionality you
> never wanted to program yourself
You might be possible to add the functionality you need but the company
never want's to implement. In fact, as soon as you want to fix things in
the lowest levels of the product, you are most often lost. It is better
with Lisp, since Lisp is much better customizeable than C++-Compilers, but
the problem still exists.
>- you are free to wade through large amounts of complicated
> source code you never wanted to look at
Yes, that is definitely much better with commercial products where you
don't get source at all. You might get _some_ source, as with most Lisps,
but that is not a quite common case for commercial software.
No, I definitely prefer high-quality Open Source [TM] software. Makes
living easier, especial in my field of work. Of course, there is much crap
out there. But actually with free software, you don't have to pay for
crap, like is the case with commercial ones.
bye, Georg
Right now it's $100. This buys the IDE and the right to sell the applications
you develop.
I don't see the need to quote "free" talking about the rest, the rest has
enough value by itself :-). It's not free in the sense of FSF, it is free in
the sense you don't have to pay. (And in the more humourous senses suggested
by Rainer Joswig). And quite frankly, the IDE is not that great, at least for
now, compared to simple Emacs, so taking it out does not turn the rest into
crippleware.
I never wanted to imply Corman Lisp would give Franz or Harlequin a run for
their money. But, they are players of totally different leagues, and this
works both ways. ACLW Lite and LWW Personal do not have some of the virtues
of Corman Lisp. Those of the hobbyists experienced enough to not be afraid
of rough spots and looking for easy access to foreign and low-level stuff,
can have some great time with Corman Lisp. It all boils down to where you
interests are.
--Vassili
--
Vassili Bykov
The Object People
http://www.objectpeople.com
-----------== Posted via Deja News, The Discussion Network ==----------
> In article <joswig-0612...@194.163.195.67>, jos...@lavielle.com
> (Rainer Joswig) wrote:
>
> Exactly. With commercial applications, this greatly differs:
>
> >- you are free to fix the bugs you never wanted to fix.
>
> You are not free to fix the bugs you never wanted to fix. In fact, often
> you don't have the sources to fix it.
Often source doesn't help you or access to source
isn't even the problem at all.
Will access to source magically give a Lisp system
a usable GC? Even getting a decent
UI seems not to be possible. Does "Open Source"
and Lisp mean: we will get nowhere?
This stuff is really complicated. It is **naive** to expect
that this will show up soon. What's out there is
light-years away from even the ancient
Xerox InterLisp-D systems.
> >- you are free to wade through large amounts of complicated
> > source code you never wanted to look at
>
> Yes, that is definitely much better with commercial products where you
> don't get source at all. You might get _some_ source,
So you lately have looked into your Genera file system, right?
Looked for the sources of Genera?
Maybe you even have installed the additional source folder
of MCL on your Mac. Did you need it? Much? Would you
have needed it?
> as with most Lisps,
> but that is not a quite common case for commercial software.
I better ask the experts.
> No, I definitely prefer high-quality Open Source [TM]
Now it is a trademark? Religious marketing bullshit.
> software.
> Often source doesn't help you or access to source
> isn't even the problem at all.
>
> Will access to source magically give a Lisp system
> a usable GC?
Certainly not, and I don't think that anyone is making that claim. It
has to be written wether the author puts it into public domain or not.
People are motivated by many different things, and not all of them may
be congruent to your motivations and goals, or mine.
I think the previous poster has different criteria for making his
decision about what system to use than you do, and both sides need to
be aware of that. For some a liberal license for distribution is more
important than GC performance, and for others performance and features
are worth whatever price is asked. Luckily, both sides can be
satisfied! It's all good man, it's all lisp.
> > No, I definitely prefer high-quality Open Source [TM]
>
> Now it is a trademark? Religious marketing bullshit.
Yes. Bruce Perens and Eric Raymond have started an organization to do
Open Source license certification, and part of their plan is to
trademark the term that has been in public use since way before they
applied for the trademark, and "protect it" from misuse. It's
actually ideologically free and makes extra effort to espouse the
proper party lines about pragmatism and realism that makes corporate
bottom-feeders salivate. So it's Non-Religious marketing bullshit,
but marketing bullshit none the less. Be sure not to confuse them
with the people who actually writing code.
> So you lately have looked into your Genera file system, right?
> Looked for the sources of Genera?
Yes, I do that a lot. I've even fixed bugs in it (not the file
system, the networking stuff). I'm very glad they gave source out
(albeit it wasn't open source), I wish more people did, as it can
really save a bunch of time.
--tim
> * Rainer Joswig wrote:
>
> > So you lately have looked into your Genera file system, right?
> > Looked for the sources of Genera?
>
> Yes, I do that a lot. I've even fixed bugs in it (not the file
> system, the networking stuff). I'm very glad they gave source out
> (albeit it wasn't open source),
Some of this stuff was by accident, AFAIK. ;-) Like the CLIM source. ;-)
> I wish more people did, as it can
> really save a bunch of time.
Open Genera should be shipped with even more source code, as I heard.
How is it unfair? Was there ever a time when you knew *nothing* about
Common Lisp? I'm inclined to believe that there was. Just call it a hunch.
Judging by your other posts to this NG it seems like you want to come across
as the allmighty Lisp programmer who knows all, but you were just a baby
wearing a diaper sucking out of a bottle at one point too. So does that
mean that you deserved to be treated differently than someone who had been
programming in Lisp longer than you? You'll probably say yes for argument's
sake but the _correct_ answer is no. The bottom line is that you have no
idea how serious I am about all my motives behind purchasing a commercial
Lisp implementation. I could be purchasing it so that I can do Lisp on my
spare time, or I could be trying to be the next allmighty Erik Naggum. So
please, don't presume to make claims about the validity of my complaints,
because they were very valid complaints. However, none of this matters
anymore because the issue has since been resolved. I have been contacted by
two different people from Franz, Inc. both of whom have been extremely
helpful. And the bottom line still remains that if they weren't selling
licenses they wouldn't be in business. That's generally how it works.
Whether I want to buy 1 license or 100 licenses doesn't change the situation
any. I'm still trying to give them money.
Zach
I have fixed some thirty-odd problems in Allegro CL with advise before I
got source code, and once I got a load of source with the commercial
support agreement, I fixed yet more problems. it appears that my fixes
are migrating into Franz Inc's own code base. however, it often takes a
whole day to write a good bug report, and only an hour or so to tweak
some behavior in the source. for some reason, navigating in the source
code that came with Allegro CL had only one obstacle: the IF* macro. the
rest was a breeze. :)
| >- you are free to implement the functionality you
| > never wanted to program yourself
|
| You might be possible to add the functionality you need but the company
| never want's to implement. In fact, as soon as you want to fix things in
| the lowest levels of the product, you are most often lost. It is better
| with Lisp, since Lisp is much better customizeable than C++-Compilers,
| but the problem still exists.
well, _my_ Allegro CL 5.0 now does
(format nil "~,,' ,4:B" (get-universal-time))
=> "1011 1010 0001 0110 1000 0111 1110 1001"
because I needed this behavior and didn't feel like writing my own FORMAT
substitute or function to hack numbers and suck. the changes were
actually fairly simple.
| >- you are free to wade through large amounts of complicated
| > source code you never wanted to look at
|
| Yes, that is definitely much better with commercial products where you
| don't get source at all. You might get _some_ source, as with most Lisps,
| but that is not a quite common case for commercial software.
all Allegro CL licensees receive a lot of source code with their (signed)
support agreement. not the internals, of course, but the functions you
would normally call or need to understand.
| No, I definitely prefer high-quality Open Source [TM] software. Makes
| living easier, especial in my field of work. Of course, there is much
| crap out there. But actually with free software, you don't have to pay
| for crap, like is the case with commercial ones.
I don't pay for crappy software to begin with. why do other people? if
you are implying that commercial Common Lisp implementations are crap, I
think you have an attitude problem so big you should be dismissed as a
lunatic, like the other "Free Software" fanatic who posts occasionally to
this newsgroup.
newsgroups are not the proper place to discuss your personal problems,
and especially not projecting them onto others in pathetic desperation.
| So does that mean that you deserved to be treated differently than
| someone who had been programming in Lisp longer than you?
I do my homework and work hard to be competent in what I do. that
generally _does_ have a positive effect on other competent people,
actually no matter what they are competent in. I assume you wouldn't
know what I'm talking about.
| You'll probably say yes for argument's sake but the _correct_ answer is
| no.
OK, I won't confuse your mind with facts. it would probably hurt a lot.
| The bottom line is that you have no idea how serious I am about all my
| motives behind purchasing a commercial Lisp implementation.
I never claimed to have. I'm sorry that you have this personal problem
that you have to take out on me, but if you could please go back and read
what I wrote and stop imputing all sorts of insanities to me just because
_you_ would think that way, maybe you'll figure out something important.
| So please, don't presume to make claims about the validity of my
| complaints, because they were very valid complaints.
sure. in the context of your personally experience, but not universally.
since you seem to be the kind of guy who makes universal claims out of
your personal experience, I assume you won't grasp the difference nor the
fact that your fucking stupid "allmighty" crap should tell everybody that
they should stay _far_ away from you.
| I have been contacted by two different people from Franz, Inc. both of
| whom have been extremely helpful. And the bottom line still remains that
| if they weren't selling licenses they wouldn't be in business. That's
| generally how it works. Whether I want to buy 1 license or 100 licenses
| doesn't change the situation any. I'm still trying to give them money.
I wouldn't sell anything to you. nor do I think anybody else should.