Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13604

Re: Mathematica and Lisp

From Richard Fateman <fateman@cs.berkeley.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Mathematica and Lisp
Date 2013-02-25 07:19 +0000
Message-ID <kgf3af$mjd$1@smc.vnet.net> (permalink)
References <kcqkv4$lq5$1@smc.vnet.net> <kgc53j$gb8$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


On 2/23/2013 8:31 PM, Peter Klamser wrote:
> Hey, what a useless discussion for different items:
>
> Mathematica is complex software which uses Lisp like language as a
> base system.
Um, no.  It is written in a dialect of C/C++, Java, and "Mathematica"
see
http://reference.wolfram.com/mathematica/tutorial/TheSoftwareEngineeringOfMathematica.html

I don't know exactly what you mean by a "base" system, but I assume
you are talking about implementation.  (Not the surface language that
has really been the topic of this discussion.)

It is useless to open a Lisp interpreter and to try to
> emulate Mathematica, because you need 10^10 lines of code to provide
> Mathematica like results.

This is hardly true.  Mathematica (the system) according to the link
above, has "several million" lines of code, by which I assume it is
something like 2* 10^6,  not 10^10.  This would make it about as
large as (according to one estimate) Microsoft Word.

Windows XP, according to a Wikipedia article, has 45 million source 
lines of code.  Mozilla, which is just a web browser,
has over 8 million.  There are many commercial and military projects of
larger size.


Strictly judging by lines of code, and counting lines already written in
Lisp to do computer algebra, I think that you will find that, in various
places, something more than 2* 10^6 lines have already been written.  Of 
course these are not dedicated to emulating Mathematica precisely,
and since they are in several competing systems, there is substantial
overlap.

The impression that one can readily get from reading the Mathematica
literature is that the program is one of the most ambitious,
complicated, sophisticated and large pieces of software ever written.
(see the same link!)
As suggested above, this claim is not supported by facts.

Nevertheless, this is off the topic  (which originally had to do with
learning Lisp as a USER writing programs in the Mathematica language).

You seem to think that the base language for Mathematica could not
possibly be Lisp ...

> Nobody tries to write his own Lisp modules to generate a system, that
> behaves like AutoCad (which uses AutoLisp...)...

Based on what evidence?  Do you know that operating systems have been
written in Lisp? It is possible to find web browsers, graphics,
editors, etc  written in Lisp, and certainly computer algebra systems.
>
> So why is such a nonsense discussed here for some weeks askes
>
> Peter

Presumably because some people find it interesting, and Steve 
Christensen (the moderator) doesn't find it too offensive :)
You have contributed, yourself, in some small way, to the
discussion.

RJF

>
>
> 2013/2/23 David Bailey <dave@removedbailey.co.uk>:
>> On 22/02/2013 06:05, Richard Fateman wrote:
>>>
>>> Anyway, getting back to Mathematica and Lisp...
>>> Since Lisp programs tend to be short, there are fewer opportunities
>>> for bugs.  Mathematica programs can be short too, but the irregular
>>> syntax makes them harder to read. See djmpark's comment about FullForm
>>> below.  Lisp is like FullForm all the time.
>>>
>>
>> Yes Lisp is rather like FullForm - but who in their right mind would
>> write all their Mathematica code in FullForm!
>>
>> The beauty of FullForm, is that you can render an expression into this
>> form to resolve any misconceptions you may have about operator
>> precedences etc.
>>
>> Since practically nobody writes all their Mathematica code in FullForm,
>> it follows, does it not, that they must find Mathematica code
>> significantly (I would say massively) more readable than Lisp!
>>
>> David Bailey
>> http://www.dbaileyconsultancy.co.uk
>>
>>
>

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Mathematica and Lisp amzoti <amzoti@gmail.com> - 2013-01-12 03:23 +0000
  Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-01-13 02:51 +0000
    Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-01-14 05:01 +0000
      Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-01-15 04:28 +0000
        Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-01-17 04:15 +0000
          Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-01-18 05:49 +0000
            Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-01-22 07:40 +0000
              Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-01-23 04:18 +0000
                Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-01-24 06:17 +0000
                Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-01-25 06:33 +0000
                Re: Mathematica and Lisp Murray Eisenberg <murray@math.umass.edu> - 2013-01-26 06:37 +0000
                Re: Mathematica and Lisp Murray Eisenberg <murray@math.umass.edu> - 2013-01-26 06:37 +0000
                Re: Mathematica and Lisp "W. Craig Carter" <ccarter@MIT.EDU> - 2013-01-26 21:58 +0000
      Re: Mathematica and Lisp Murray Eisenberg <murray@math.umass.edu> - 2013-01-16 06:39 +0000
        Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-01-17 04:14 +0000
        Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-01-17 04:14 +0000
        Re: Mathematica and Lisp Richard Fateman <fateman@eecs.berkeley.edu> - 2013-01-18 05:50 +0000
        Re: Mathematica and Lisp W Craig Carter <ccarter@MIT.EDU> - 2013-01-18 05:50 +0000
        Re: Mathematica and Lisp Murray Eisenberg <murray@math.umass.edu> - 2013-01-18 05:50 +0000
        Re: Mathematica and Lisp Murray Eisenberg <murray@math.umass.edu> - 2013-01-18 05:49 +0000
        Re: Mathematica and Lisp W Craig Carter <ccarter@MIT.EDU> - 2013-01-18 05:49 +0000
    Re: Mathematica and Lisp John Doty <noqsiaerospace@gmail.com> - 2013-02-01 01:46 +0000
      Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-02 06:15 +0000
        Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-02-03 07:52 +0000
          Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-05 08:06 +0000
            Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-02-06 10:52 +0000
              Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-07 02:28 +0000
      Re: Mathematica and Lisp danl@wolfram.com - 2013-02-02 06:15 +0000
        Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-03 07:51 +0000
      Re: Mathematica and Lisp Andrzej Kozlowski <akozlowski@gmail.com> - 2013-02-03 07:52 +0000
        Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-05 08:06 +0000
          Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-02-06 10:52 +0000
          Palette problem with Feynman slash notation "Dave Snead" <dsnead6@charter.net> - 2013-02-08 10:10 +0000
    Re: Mathematica and Lisp Matthias Bode <lvsaba@hotmail.com> - 2013-02-04 01:19 +0000
    Re: Mathematica and Lisp John Doty <noqsiaerospace@gmail.com> - 2013-02-04 01:20 +0000
      Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-06 06:51 +0000
        Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-02-06 10:52 +0000
        Re: Mathematica and Lisp "mathgroup " <fizzymath@knology.net> - 2013-02-07 02:27 +0000
    Re: Mathematica and Lisp Alex Krasnov <akrasnov@eecs.berkeley.edu> - 2013-02-05 03:23 +0000
    Re: Mathematica and Lisp John Doty <noqsiaerospace@gmail.com> - 2013-02-07 02:28 +0000
      Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-08 10:10 +0000
      Re: Mathematica and Lisp ?iso-8859-1?Q?J=E1nos_L=F6bb?= <janos@lobb.com> - 2013-02-09 05:42 +0000
      Re: Mathematica and Lisp Richard Fateman <fateman@eecs.berkeley.edu> - 2013-02-09 05:43 +0000
    Re: Mathematica and Lisp Andrzej Kozlowski <akozlowski@gmail.com> - 2013-02-08 10:10 +0000
    Re: Mathematica and Lisp John Doty <noqsiaerospace@gmail.com> - 2013-02-08 10:10 +0000
      Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-09 05:43 +0000
      Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-02-10 08:34 +0000
    Re: Mathematica and Lisp Matthias Bode <lvsaba@hotmail.com> - 2013-02-09 05:43 +0000
    Re: Mathematica and Lisp John Doty <noqsiaerospace@gmail.com> - 2013-02-15 06:56 +0000
      Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-02-17 09:08 +0000
        Re: Mathematica and Lisp Joe Gwinn <joegwinn@comcast.net> - 2013-02-18 10:59 +0000
      Re: Mathematica and Lisp "djmpark" <djmpark@comcast.net> - 2013-02-18 11:00 +0000
        Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-22 06:05 +0000
          Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-02-23 12:01 +0000
            Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-24 04:31 +0000
              Re: Mathematica and Lisp David Bailey <dave@removedbailey.co.uk> - 2013-02-25 07:19 +0000
                Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-26 06:09 +0000
  Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-01-13 02:51 +0000
  Re: Mathematica and Lisp John Doty <noqsiaerospace@gmail.com> - 2013-01-16 06:38 +0000
    Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-01-17 04:15 +0000
      Re: Mathematica and Lisp John Doty <noqsiaerospace@gmail.com> - 2013-01-18 05:50 +0000
  Re: Mathematica and Lisp Peter Klamser <klamser@googlemail.com> - 2013-02-24 04:31 +0000
    Re: Mathematica and Lisp Richard Fateman <fateman@cs.berkeley.edu> - 2013-02-25 07:19 +0000
    Re: Mathematica and Lisp John Doty <noqsiaerospace@gmail.com> - 2013-02-26 06:09 +0000

csiph-web