3 ms·
I've written a Mathematica clone twice before. This guy got there much faster ( I was writing in C++). However both times I got the basic language going then r
by spitfire 10y ago
I've written a Mathematica clone twice before. This guy got there much faster ( I was writing in C++).
However both times I got the basic language going then realized it was the standard library that made Mathematica gold and abandoned it.
Kudos to him and it's good work!
- tnecniv 10y agoThe library is really impressive. I wanted to do some feedback linearization of a system and started encoding the dynamics into Mathematica. I got about halfway done doing it on my own when I discovered there was a built in to do it for me.
- dekhn 10y agoMathematica's value is in the library, not the language. Wolfram etc put a ton of effort into making it do a good job on arbitrary problems. See the Mathematica book for me detail- for example, the root finding stuff is really neat.
- wfunction 10y agoAre the solver algorithms part of the standard library or part of the execution engine? i.e., are Solve/DSolve/etc. written in plain Mathematica code, or are they special somehow?
- tnecniv 10y agoYou can call external code from Mathematica, so they can be part of the standard lib and be special.
- wfunction 10y agoOK, but that doesn't answer my question...
- dekhn 10y agoThis is a great question. I suspect they use hard-coded stuff deep in the math kernel for efficiency. I remember the Mathematica book goes into detail on this, but I don't recall the specifics.