2 ms·
the scripting languages are a shallow subset of Lisp, in some ways. But Lisp was not designed to script applications. It was designed to be a language that can
by lispm 17y ago
the scripting languages are a shallow subset of Lisp, in some ways.
But Lisp was not designed to script applications. It was designed to be a language that can compute with symbols. This applied to Lisp itself lead to meta circular definitions, macros, meta level architectures like CLOS, and more. It led to the first self hosting compiler in the earlz 60s and ever since Lisp implementations have been written largely in itself.
It was designed to easily implement all kinds of notations and evaluation mechanism. Originally for example to implement symbolic mathematics and logic reasoners.
If the subset of Lisp that allows scripting is fine for you, that's great. Why complicate things?
- berntb 17y ago>>If the subset of Lisp that allows scripting is fine for you, that's great. Well, the point was that I don't see why subsets have taken over, it's as if PHP grew larger than the rest of the scripting languages for web progr... Oh, wait. :-) But seriously, if you take the hit of a GC (which most everything do, today) then you might as well use the nicest system around. I am happy with my present tools, but a nice lisp variant might seriously tempt me. Sigh, maybe I should just look for different work or do a startup with really hard problems.
- brlewis 17y agoThe performance hit of a GC is less than the hit of a language that wasn't designed to be compiler-friendly. Scheme or CL will perform better than scripting languages. You don't need really hard problems before the benefits of a language with macros become obvious. SQL-driven web apps are a lot easier to write if you have macros, for example: http://brl.codesimply.net/brl_4.html#SEC31 http://brl.codesimply.net/brl_4.html#SEC31
- gaius 17y agoBut Lisp was not designed to script applications. One word: Guile.
- lispm 17y agoGuile is some random Lisp implementation, designed for scripting. 'Lisp' is a family of languages and the basic design was done by John McCarthy starting in 1958. He did not design a scripting language. I was talking about 'Lisp', not Guile.