Re:Maxima (Software)
by bitwize on Saturday November 20, 2021 @05:49PM
(#29292522)
Ironic, considering that Stephen Wolfram insisted in the 80s that Lisp was 100x slower than C, and so a fast mathematics package could not be written in it.
[ Parent
| on HN ]
He was wrong then and now, but the crucial speedup of Mathematica vs Maxima was difference in modeling of data and how Mathematica could piggy back on fortran libraries for numerical solving, while Maxima focused on symbolic solving.
This meant that for many cases where numerical method was beneficial, Mathematica easily won on speed.
The predecessor of Mathematica, Wolfram and Cole's SMP, was 10-100x faster than the best Lisp based symbolic math programs at the time on what Wolfram and Cole considered to be small to medium research physics problems. On large problems they were unable to compare because the Lisp based programs needed more memory than the VAX 11/780 at Caltech High Energy Physics had.
Re:Maxima (Software)
by actually_a_dog on Saturday November 20, 2021 @06:35PM
(#29292788)
That's hilarious, because the Wolfram Language is actually quite lispy. Or, at least you can write it in a very lispy style.
It kind of literally is lisp. It's about the only implementation of M-expressions instead of S-expressions.
Re:Maxima (Software)
by etaioinshrdlu on Saturday November 20, 2021 @11:47PM
(#29294255)
The way the whole language is implemented in terms of pattern matching and term rewriting is unlike any other language that I’ve seen. It does not seem quite like Lisp in that way.
Re:Maxima (Software)
by jeffparsons on Sunday November 21, 2021 @06:45AM
(#29295668)
Transforming patterns into other patterns is kind of Stephen Wolfram's _thing_. See his long term interest in cellular automata, and now even an attempt to discover the secrets of the universe through a theory of physics based (as far as I can tell from what I've read of it) entirely on pattern matching and rewriting: https://www.wolframphysics.org/.
Greenspun strikes again[1].
Id say it is lisp, with a slight syntax difference
Now Wolfram Language uses LLVM framework for compilation. SBCL-compiled Maxima is also quite fast
.