4 ms·
Heh ... back when I was still in pursuit of the elusive academic career, I used MuMath, Maple, and Macsyma along with Fortran, C, and this odd language called P
by hpcjoe 8y ago
Heh ... back when I was still in pursuit of the elusive academic career, I used MuMath, Maple, and Macsyma along with Fortran, C, and this odd language called Perl (to automate many of my jobs). Mathematica was still new-ish, and mostly confined to Macs.
These days, post physics, I do most of my work in Perl, Python, Julia, and various DBs, with lots of spreadsheets and slide decks.
I have Maxima (GPLed Macsyma) on my laptop now. I love that the fortran(); bit still works ...
(%i1) integrate(sin(x) * exp(-x) ,x,0,a);
Is a positive, negative or zero?
positive;
- a
1 %e (cos(a) + sin(a))
(%o1) - - ------------------------------
2 2
(%i2) fortran(%o1);
1.0E+0/2.0E+0-(exp(-a)*(cos(a)+sin(a)))/2.0E+0
[updated to fix formatting issues]
- antt 8y agoI left academia before Julia became popular. What's the deal with it, does it actually add anything over c/fortran + python?
- dagw 8y agoIt (often) performs much better than python/matlab without giving up the ease of use of those languages for numerical/scientific work.
- antt 8y agoSounds reasonable, but am I missing something deeply important, like say lisp or haskell, if I don't learn Julia. What I've seen it's a nicer fortrant.
- dagw 8y agoJulia is actually a pretty interesting language under the hood that is doing a lot of powerful things with metaprogramming and lisp-style macros. It also has a solid (optional) type system and method dispatching making a lot of things very clean. That being said Julia has also done very good job of making it easy to use as just matlab 'clone' if that is what you want. edit: I should add that as much as I admire Julia and enjoy playing around with it. 99% of my numeric work is still done with numpy and a smattering of C due to libraries/existing code/inertia