Re: Computer Algebra Algorithms lisp vs. C.



Jerzy Karczmarczuk wrote:
> In order to compare sizes you would have to put side by side an autonomous
> program in C++, and the *whole* of Mathematica (without useless modules,
> if you manage to detach them physically...)

I agree that it is worth comparing libraries. However, I believe a
source-source comparison of final programs (excluding the libraries) will
do this as they'll be using the libraries.

Regardless, I'm talking about the advantages of things like pattern
matching, which is built into Mathematica's language (and many other
languages) but which would require thousands of lines of C++ code to
implement and which are not provided by a library.

> And, btw, you can comment your code with anything in any language...

Unless you're saying that you can insert a binary representation of
arbitrary data into your source code, of course you can't include graphics
and typeset maths in C++ comments. Very few languages let you comment your
code with graphics and typeset maths.

I used to use doxygen to comment my C++ code with LaTeX which is better than
nothing but, of course, this is much less useful than a proper development
environment. But, as you say, with g++ and emacs you get what you pay for.

--
Dr Jon D Harrop, Flying Frog Consultancy
http://www.ffconsultancy.com
.



Relevant Pages

  • [LONG] Re: Why code completion and early error checking are needed
    ... > the programmer who wants such features. ... the guiding principles in the evolution of the c++ language should be ... the problem with this is that ide must first be able to assume ... libraries to find the type declaration. ...
    (comp.lang.cpp)
  • Re: So confused with scheme options
    ... Well known Libraries ... Implementation Extensions ... language, what's an expected library function for most implementations, ... This is the "module" language of PLT, ...
    (comp.lang.scheme)
  • Re: Verbose functional languages?
    ... believe it will be difficult to surpass the practical success of OCaml ... are writing good libraries for it). ... because the language was pushed with marketing money. ... Existing FPL implementations like OCaml and Haskell bask in the glory ...
    (comp.lang.functional)
  • Re: So confused with scheme options
    ... tower of libraries and procedures. ... language, what's an expected library function for most implementations, ... extension of blah or whatever. ... This is the "module" language of PLT, ...
    (comp.lang.scheme)
  • Re: Why why why? (Was: Re: Vertical alignment of text within a DIV)
    ... but a full rendering implementation for every possible display ... Remember that back when these standards were written ... there was very little in terms of cross-platform display libraries. ... It's the 'any language' bit, ...
    (comp.infosystems.www.authoring.stylesheets)