views:

1593

answers:

21

Possible Duplicate:
Lisp in the real world

A search query on Google reveals that the search term 'practical lisp' returns a link for Practical Common LISP, which is a very nice starter book. However, this is not what I was looking for or had in mind when I set out to search those terms.

+11  A: 

EMACS is written in LISP ;-)

Henrik Hartz
a very old lisp dialect that is :)
Anders Rune Jensen
And not all of it -- there is still a "core" that is written in C, unfortunately.
ShreevatsaR
Since Lisp is interpreted, it must have a core written in something. Why not C?
Whaledawg
Lisp isn't interpreted in general.
Matthias Benkard
why do people think that C is so special that it's needed for everything? it's just a relatively less annoying assembler, and it's certainly possible to write an assembler in lisp, as it was demonstrated several times...
Attila Lendvai
@Attila C is the English of programming languages. C is the common denominator. It may not even be the best for whatever situation is at hand, but it's highly portable (not just the language but the development tools) and everybody knows C. _That's_ why.
San Jacinto
+2  A: 

DERIVE has been implemented in LISP back in 1988. It's still the math-program of choice for me. To bad TI has discontinued it a year ago or so.

http://en.wikipedia.org/wiki/Derive_(computer_algebra_system)

Nils Pipenbrinck
+12  A: 

See the question “Lisp in the real world”.

Matthias Benkard
+2  A: 

You can find lists of programs written in LISP here and here. You could also do a search on sourceforge.

Kim
+1  A: 

Script-Fu under Gimp is also LISP (the Scheme dialect).

joel.neely
A: 

I believe some of the earlier Yahoo shops stuff was in LISP. It was written by Paul Graham and company and then bought out by Yahoo. But I think Yahoo has since rewritten it in another language. He wrote an essay about it.

Slapout
+5  A: 

Paul Graham formed a startup company called ViaWeb in the 90's to allow users to create online webshops without any programming experience. This company was then bought out by Yahoo! to create Yahoo! Stores. Paul attributed the companys success to LISP. See his essay, Beating the Averages.

He is also the creator of a LISP dialect, arc. Arc is the implementation language for the popular website Hacker News

mikelong
It should be mentioned that Yahoo rewrote the code to C++ and Perl.
JacquesB
I answered this as well, but deleted it after I noticed she mentioned "other than web applications" specifically.
Max
Yeah, I'll bet Yahoo regretted it.
Joshua
+2  A: 

First off, I believe you should phrase your question as "what are some practical examples of non-web-based programs implemented in Lisp"? To a Lisper, asking about "Lisp implementations" means "implementations of Lisp compilers or interpreters", such as Lispworks (commercial) or CMUCL (open source).

I think these might be some of the examples you're looking for:

Basically I'm cherry-picking packages from searching Debian for packages that contain cl-. Many are libraries, but some are full applications. Take a look.

Larry Clapp
+4  A: 

Some highlights:

NASA http://www.flownet.com/gat/jpl-lisp.html

Crash Bandicoot & Jak+Daxter http://www.gamasutra.com/features/20020710/white_02.htm

Interface Builder OS X (which was later rewritten in Objective-C)

Emacs

All of the above are projects of great complexity. In the case of Interface Builder and Emacs one could reasonably argue that they have not been surpassed. Of course Interface Builder has not been written in Lisp in over two decades, but I think this list also points out that a powerful language like Lisp inspires hackers to attempt projects you normally wouldn't even consider in a less expressive language.

dnolen
Why was Interface Builder rewritten in Objective-C, then?
JacquesB
I would guess it's because everything else at Apple is done in Objective-C and it made sense to keep things together. Also, they threw away a ton of stuff to do OS X, so maybe it needed a rewrite anyway.
Andrew Gwozdziewycz
+3  A: 

While your question was about Lisp, you can find out more from the Commercial Users of Functional Programming. Also see [Haskell in Industry][2]

In financial services, functional programming seems to be the right tool for quantitative finance

  • Jane Street uses OCaml
  • Credit Suisse
  • Deutsche Bank
Alan
+2  A: 

One example of where Lisp is widely used and useful is in the form of AutoLISP or Visual LISP that are used to program AutoCAD and its verticals.

Jimmy Bergmark - JTB World
+4  A: 

I am confused as to why you think Lisp and OOP are mutually exclusive. CLOS is the object system that all the other languages tried (and failed) to copy.

But anyway, I use CL for a few general-purpose web applications in production at work. One is a utility for uploading a file an emailing it to certain people; the other collects log data from other applications and lets me search through it. Both are heavily object oriented (and use elephant for persistence).

Using Lisp is not that different from using any other programming language, really. It has great tools (SLIME), and some really nice libraries (I love closure-xml with cxml-stp).

Finally, I will add one more "commercial" non-web app to the pile:

http://maxima.sourceforge.net/

It is a Computer Algebra System, somewhat like Mathematica.

jrockway
+2  A: 

Strange that nobody mentioned LispMaschines. A complete operating system with word processing, hyperreffed documents, gui programs, databases and even C compilers. So this stuff was very real and some say it was the best they ever get their hands on. I do not kow the current state of OpenGenera (an port to the DEC Alpha Stations) but this thing was bought by me 5 or so years ago to see how one might implement an Operating System. I realla wished they would have ported the stuff to x_64, but I guess this will not happen anymore....

But maybe time has passed it by....

Regards Friedrich

Friedrich
+1  A: 

CoCreate Modeling is a large commercial 3D CAD application, and a large part of its code is written in (a subset of) Common Lisp. See http://www.clausbrod.de/Blog/DefinePrivatePublic20071229 for some more details. (I am one of the developers.)

Claus

+4  A: 

ITA Software Uses Lisp technology to help set Orbitz apart from other travel Sites

http://www.franz.com/success/customer_apps/data_mining/itastory.php3

justinhj
+1  A: 

The sawfish window manager which used to be included in Gnome was written in a LISP dialect.

Nathan
A: 

http://beta2.thanandar.de/

skypher
+4  A: 

PrimeTrader a cross platform stock trading application from NetFonds. They also use Common Lisp in their back-end trading systems.

+2  A: 

You're probably not going to get many useful answers, not because Lisp isn't widely used, but because nobody wants to reveal that they used Lisp, because:

  • Lisp is their secret sauce, and they don't want their competitors to know about it
  • Lisp programmers want to show off their app on its own merits, not because of the language used
  • Non-Lispers recognize only that it's not a buzzword, and hence have no urge to mention it
  • It's easy to hide it: web apps are really popular these days, and Lisp is great at web apps, but since it's all running on the server through a language-agnostic protocol, there's no way for users to tell that it's Lisp
  • More generally, companies want to keep their cards close to their chest (independent of Lisp or even programming languages)

I know that part of every Amazon.com product page is generated using a Lisp service, but only because I had a beer with the guy who wrote and deployed it.

I wrote a web service that everybody who's seen loves, but mostly because it looks more impressive than it is. In fact, it happens to map onto Common Lisp constructs and free Lisp libraries almost perfectly, and is actually a fairly short program. If you take the curtain off something, everybody says "oh, is that all? I could have done that".

Anonymous Coward
A: 

There are a number (6-12 at least) of small startups deploying webapps today. I'm running an open source community platform for rare disease research at www.lamsight.org.

Also see InspireData (http://www.inspiration.com/InspireData). You can download a great demo. Beautiful app using OpenGL (I believe) for the multi-platform GUI.

Ian Eslick
A: 

Teepeedee2, a recently-announced web server is written entirely in LISP. The creator claims it's the "world's fastest web server for small dynamic content." Whether this is a reasonable statement or not has fueled the ire of many Slashdot commenters. Regardless, it's a perfect example of how LISP is still a relevant and useful language that should be given more credit.

Evan Meagher