Lisp in the real world

ClojureLispSchemeCommon Lisp

Clojure Problem Overview


I have experimented with Lisp (actually Scheme) and found it to be a very beautiful language that I am interested in learning more about. However, it appears that Lisp is never used in serious projects, and I haven't seen it listed as a desired skill on any job posting. I am interested in hearing from anyone who has used Lisp or seen it used in the "real world", or who knows whether it is considered a purely academic language.

Clojure Solutions


Solution 1 - Clojure

Franz, Inc. provides an inexhaustive list of success stories on their website. However:

> Please don't assume Lisp is only > useful for Animation and Graphics, AI, > Bioinformatics, B2B and E-Commerce, > Data Mining, EDA/Semiconductor > applications, Expert Systems, Finance, > Intelligent Agents, Knowledge > Management, Mechanical CAD, Modeling > and Simulation, Natural Language, > Optimization, Research, Risk Analysis, > Scheduling, Telecom, and Web Authoring > just because these are the only things > they happened to list. — Kent Pitman

We can find other success stories here: http://lisp-lang.org/success/

and a list of current companies using Common Lisp: https://github.com/azzamsa/awesome-lisp-companies

Solution 2 - Clojure

Does Emacs' elisp count? That's the most "real world" use that I am familiar with (although I'm not sure that Emacs counts as "real world" either).

Solution 3 - Clojure

ITA Software uses Common Lisp for its QPX low-fare search engine which powers sites like Orbitz, Kayak, and American and United Airlines among many others. It's also used in part for its upcoming passenger reservation system for Air Canada. Paul Graham has written a little bit about Lisp at ITA in the past.

(Disclaimer: I work there.)

Solution 4 - Clojure

Solution 5 - Clojure

as a small startup we've built up something some people call an "application server". but in fact it's just a bunch of integrated common lisp libraries for sql connectivity and web applications. some details are available at cl-dwim project page

using that we have developed and operate a web application for the hungarian government that collect data from the local governments and calculates the relevant part of the budget of the country. this is the second budget we are planning now.

it has about 4000 users, and it runs on a cluster of computers.

as of "academic language": we are playing with things like persistent continuations for business process modelling. it's some random lisp code with a few extra process-related primitives and a few constraints. it can stop at random points in the code and fall asleep (get comitted into the database) while it waits for some external event.

is it practical or academic? you decide... :)

Solution 6 - Clojure

Reddit was originally written in Lisp and then later rewritten in Python. There's a good analysis of the switch and what it means for Lisp over at Finding Lisp.

Solution 7 - Clojure

Paul Graham has used and written about ViaWeb that was written in LISP

Read about it here - Beating the Average

Solution 8 - Clojure

ITA software uses a fair amount of CL.

http://www.itasoftware.com/careers/l_e_t_lisp.html?catid=8

Solution 9 - Clojure

A fairly recent open-source project that is still enjoying consistent and considerable development activity is LilyPond.

It's a music notation program that takes a easy-to-write text file as input and converts it into beautiful sheet music (pdf files). Offers all kinds of ways to fiddle with the output if you want to. It can even produce decent sounding midi files. I use it whenever I need to produce nice sheet music that other musicians will read from. I think it's better than Finale and it's free!

In the commercial category, there is also Notehead's Igor Engraver. Unfortunately, the site doesn't allow me to post a direct link to the page that talks about Lisp, so go to downloads and look at the bottom for a "Lisp" link.

There's also Naughty Dog (a computer game company) who use Lisp in their games. This article talks about that and even shows some code.

And there are many others that have been mentioned and linked to, but these are the main ones that resonate with me (being a composer/programmer/gamer/... type).

Solution 10 - Clojure

The Hubble Space Telescope is scheduled using Lisp planning tools. The Space Shuttle was. The Webb telescope will be. The company I write Lisp for analyzes billions of dollars of health insurance claims and has been growing at ~30% per year even through the recession. We've been bought by a huge company, and one of our programmers matched (actually improved upon) the output of (huge company)'s software for analyzing Medicare claims, starting from scratch, by himself, in a year. (huge company)'s code, not in Lisp, took 6 years and several programmers. The trouble, career-wise, is that too many listen to the twaddle about "lots of irritating silly parentheses" and so on. Most managers don't "get it" and would rather have a project in a language familiar enough that they can micro-manage. They think "Lisp=AI" and don't even want to entertain the possibility that it's a good general purpose language. They just plug their ears. There aren't polished tools for doing M$-friendly websites or clustering or pipelining existing Java apps, and that's 90% of what IT cares about in these days of growth by acquisition. I could go on, but it would just get me bitter. :)

Solution 11 - Clojure

> If I started up my very own major software project now, I would make my language decision based on the criteria above. Sure, I love Lisp, CLOS is awesome, real lexical scoping rocks, Lisp macros are way cool (when used as directed), and personally I really like Lisp syntax. […] But it would take a lot, or require special circumstances, to persuade me to choose Lisp for a major software project, if I were in charge of making the choice. - Dan Weinreb

Solution 12 - Clojure

Some more recent ones:

The first three of those were written using Weblocks, a CL web framework. Wigflip and Clutu use pure Hunchentoot.

Now get coding! :)

Solution 13 - Clojure

I believe Autocad has extensions that use Lisp to extend the product. See AutoLISP.

Solution 14 - Clojure

Peter Christensen has compiled a great list of (financially) successful lisp companies.

http://www.pchristensen.com/blog/lisp-companies/

Solution 15 - Clojure

There are plenty of companies, projects, and products that use Lisp in a variety of roles — I've done work for several of them.

There are two relevant points:

  1. you may never know that your latest piece of consumer electronics was built with, or even programmed in, Common Lisp, or that some service you use is powered by a Lisp server. It would be incorrect to conclude that Lisp is "never used".

  2. … and, like so many domains, those jobs never appeared on Monster.com. Just because you've never seen a job posting for it doesn't mean that there are no Lisp-required or right-tool-for-the-job opportunities out there.

Solution 16 - Clojure

The GIMP's plug-in system is based on Scheme, I believe. I don't know if this is completely "real world", but it seems to be a practical application of Lisp, at the very least.

Solution 17 - Clojure

Look up ACL2. It's a lisp based formal logic engine that has been used for a number of "real world" project like formal methods in software security and proofs of correctness for Floating point hardware.

Solution 18 - Clojure

Solution 19 - Clojure

If my plans work out, we will all be using Scheme in 5 years from now! ;p

Solution 20 - Clojure

I was quite impressed when I found out that the PRISM («The Prism project is a long term project to build software tools for radiation therapy planning, including artificial intelligence tools as well as manual simulation systems.») is written in Common Lisp.

At my job I am writing software that uses DICOM and I must say that writing good DICOM implementation is a hard task. In their report they describe how Common Lisp let them build a good DICOM implementation that is better (at least in some ways) than other implementation with lesser effort.

Solution 21 - Clojure

I just realized now that Maxima, a program for symbolic algebra, is written in Common Lisp. I've been using that for quite some time and I think it's also a very good real life example.

Solution 22 - Clojure

Lisp is used in real-world algorithmic music composition with the Common Music library. Rick Taube's Notes from the Metalevel is a great introductory text to the subject which has a bunch of examples in Lisp for composing. See the examples directory here and a copy of the text here.

Solution 23 - Clojure

Matthew Eric Bassett on using Racket in the film industry: http://www.youtube.com/watch?v=37owCjWnkK0

Daniel Liebgold on Racket and PS3: http://www.youtube.com/watch?v=oSmqbnhHp1c

Solution 24 - Clojure

Well, it's hardly mainstream, but I use lisp for as much of my research code as is manageable. It's by far the best language I've found for the balance of dynamism & expressiveness while still generating decent performance for numerics, etc..

Solution 25 - Clojure

Google App Inventor is written in Scheme

Solution 26 - Clojure

GNU Make is extensible with scheme. A case for real world programming :)

https://www.gnu.org/software/make/manual/html_node/Guile-Integration.html

Solution 27 - Clojure

Lisp attempted the jump to lightspeed in the early 80's. Before there were PCs, there were commercially produced "Lisp Machines" which superficailly look a lot like modern workstations, but which were lisp "all the way down". Lisp hardware eventually lost out to Intel (as did everything else). Lisp software eventually lost out to C/C++. There are a variety of theories why this is all this is so. http://www.andromeda.com/people/ddyer/lisp/

Solution 28 - Clojure

Scheme programming language is used as a scripting language by FLUENT Flow Modelling Software (computational fluid dynamics, CFD).

Solution 29 - Clojure

For the AutoCAD application AutoLISP/Visual LISP are used a lot for real projects and there is a large community of users.

Solution 30 - Clojure

I see a few people have already mentioned it but lisp is widely used in custom Autocad development. Autocad includes a built-in lisp interpreter. It is one of the simplest ways to extend the product and provides the ability to quickly enhance your productivity.

No compiling is required, on the user side, and 1, or more, line lisp expressions can be entered on the command line and executed immediately on the drawing. For designers and draftsman willing to take even a small step to learning the basics of lisp it can provide a huge productivity boon.

Autocad does provide a number of other ways to customize their products; ObjectARX (C++), VB, C#, etc.. The lisp interface is by far the easiest to learn and implement. And the majority of other dev environments use lisp in some fashion.

The lisp interpreter was made available in a very early version of Autocad and was called Variables and expressions. It was fairly limited but was such a success with the users that additional functionality was quickly added. A full blown visual IDE was later on (in version 2000 I think).

I would hate to guess how many millions (billions?) of lines of lisp code are available for Autocad. A google search on "autocad .lsp" returns 2.3 million hits.

Ok, enough typing, it's back to work for me, writing more lisp for my current project :)

Solution 31 - Clojure

Algorithmic Composition Toolbox from Paul Berg: http://www.koncon.nl/downloads/ACToolbox/

Solution 32 - Clojure

My company has the software writen in scheme (PLT). The software is used to act like email firewall for the big companies.

Solution 33 - Clojure

http://echowaves.com is build in clojure with compojure. The site was built as a learning exercise to see if it's practical to use clojure for building web apps. The answer is -- yes! Thumbs up for clojure on the web. Learn clojure by all means -- it will improve your career. The code is opensource, if anyone wants to see example what are the typical moving parts for a typical compojure app https://github.com/echowaves/echowaves

Solution 34 - Clojure

As previously said, the computer algebra system "Maxima" is written in Lisp, but other CAS are also written in Lisp, for instance Axiom and its forks (OpenAxiom and Fricas).

Solution 35 - Clojure

Walmart uses clojure to process purchases real-time

Solution 36 - Clojure

Just adding to all the very wise comments above: look at the Corman Lisp tool and discover how to embed VERY INTELLIGENT FUNCTIONS into an embedded system!

Solution 37 - Clojure

http://www.gensym.com/ - Real time business rules engine have many industrial clients.

Internally it is written in Commom Lisp

Solution 38 - Clojure

It's a wonderful language, but it's crippled because (in my opinion as a software business owner and programmer) there are very few commercial Lisp packages, and the few that are out there demand a run-time fee (because a proper Lisp package can be used by end-users to write Lisp programs too).

I use Steel Bank Common Lisp to prototype code under Windows and Linux, and I love it -- but I would never consider shipping a product written with it. There's no easy way to set up single-click access to the programs, so that the end user will never be confronted with a Lisp prompt. There's no way to ship a compiled product so that the user can't disassemble it, make some changes to remove your name, and sell it as his own. I've seen mention of Lisp systems that both of these can be done in, but they're commercial ones where you have to pay run-time fees for each end-user of your program, which is ridiculous.

Lisp may come into its own some day (and I fervently hope that it does), but it isn't viable for most commercial software yet. The only exception is something where it's always going to be running on systems that you have complete control over, like a web server (and I've only heard of a couple companies using it even for that).

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestiontitaniumdecoyView Question on Stackoverflow
Solution 1 - ClojureMatthias BenkardView Answer on Stackoverflow
Solution 2 - ClojureeschercycleView Answer on Stackoverflow
Solution 3 - ClojureJoe ShawView Answer on Stackoverflow
Solution 4 - ClojurejfsView Answer on Stackoverflow
Solution 5 - ClojureAttila LendvaiView Answer on Stackoverflow
Solution 6 - ClojureMark ReidView Answer on Stackoverflow
Solution 7 - ClojureepatelView Answer on Stackoverflow
Solution 8 - ClojureAliView Answer on Stackoverflow
Solution 9 - ClojureGalghamonView Answer on Stackoverflow
Solution 10 - ClojureThePrisonerView Answer on Stackoverflow
Solution 11 - ClojureÓlafur WaageView Answer on Stackoverflow
Solution 12 - ClojureLeslie P. PolzerView Answer on Stackoverflow
Solution 13 - ClojureAlex MillerView Answer on Stackoverflow
Solution 14 - ClojureEric NormandView Answer on Stackoverflow
Solution 15 - ClojureRichView Answer on Stackoverflow
Solution 16 - ClojureTikhon JelvisView Answer on Stackoverflow
Solution 17 - ClojureBCSView Answer on Stackoverflow
Solution 18 - ClojurefincomusView Answer on Stackoverflow
Solution 19 - ClojureleppieView Answer on Stackoverflow
Solution 20 - Clojuredmitry_vkView Answer on Stackoverflow
Solution 21 - ClojureJan StolarekView Answer on Stackoverflow
Solution 22 - ClojureCurtisView Answer on Stackoverflow
Solution 23 - ClojuresoegaardView Answer on Stackoverflow
Solution 24 - ClojuresimonView Answer on Stackoverflow
Solution 25 - ClojureshikharView Answer on Stackoverflow
Solution 26 - ClojureantonoView Answer on Stackoverflow
Solution 27 - ClojureddyerView Answer on Stackoverflow
Solution 28 - ClojurejfsView Answer on Stackoverflow
Solution 29 - ClojureJimmy Bergmark - JTB WorldView Answer on Stackoverflow
Solution 30 - ClojurebluesixtyView Answer on Stackoverflow
Solution 31 - Clojurerabidmachine9View Answer on Stackoverflow
Solution 32 - ClojurepaulView Answer on Stackoverflow
Solution 33 - ClojuredmitryameView Answer on Stackoverflow
Solution 34 - ClojureThomas BaruchelView Answer on Stackoverflow
Solution 35 - Clojureblue_noteView Answer on Stackoverflow
Solution 36 - ClojureAlan P BorsalinoView Answer on Stackoverflow
Solution 37 - ClojurekmmbvnrView Answer on Stackoverflow
Solution 38 - ClojureHead GeekView Answer on Stackoverflow