by n-e-w · 4y ago · 0 comments
It really is an astounding system. If you enjoy functional programming, the language is super expressive and productive. The integrated libraries are fantastic -- especially if you want to chain together different knowledge domains through a consistent interface and syntax. You can get the entire Wolfram Alpha knowledgebase and curated datasets to use in your programs immediately.
The front-end is just lightyears in front of Jupyter notebooks in just about every conceivable way.
This isn't to hide that there are some frustrating things about the language (like, machine learning development has just stopped dead after a couple of really great years of feature dev...why?) and, especially, the organisation and some of its personalities. But the product -- it really should get a lot more kudos and wow factor based on real accomplishments and features that are live, in the real world.
I love Wolfram stuff.
As a proprietary language and kernel, it can never compete long-term with open source alternatives.
It's one thing to have a proprietary product, but for decades now proprietary languages have been a no-go for practically everyone. Even formerly closed languages have been opened sourced, such as Java and C#.
There is no other use for Wolfram Language scripts outside of Mathematica, which comes with a "license server". That's... a dead end.
Can I publish Wolfram code in Docker Hub and expect it to work (legally)? No.
Can I throw some Wolfram code into an Azure Function and have it compute something for me on demand? Nope.
Can I embed Wolfram code into a C# app, publish it on GitHub, and have other people be able to use it without forking out $thousands for a Mathematica license? Nope!
And on and on...
Python, Julia, and Jupyter notebooks will simply wipe out all usage of Mathematica outside of a few esoteric fields. As you said, they're all markedly inferior in almost every way, except for one critical one: they're open and extensible.
You mentioned AI/ML having stopped dead in Mathematica. I noticed that too. I wanted to test some GPU-hosted ML stuff recently that's not the standard Pytorch/Tensorflow type of thing, checked Mathematica, gave up, and I'm now using Julia.
If Mathematica was more open, there would be no "dead end" there, I could simply extend it. Or more importantly, other people would have already.
The guy who was in charge of negotiating software licenses for the university said that it was a chicken and egg problem. Mathematica wasn't very available because it was expensive, Wolfram wasn't easy to negotiate with.
With people not learning Mathematica there never developed a demand for it - and because you couldn't expect to get your hands on a license it wasn't worth the investment both in time and money to learn mathematica, or worse yet, to make yourself dependent on it for getting work done.
Mathematica has always been a lovely product. But it has also always been impractical due to its pricing and restrictions. Whether you are in academia, a working professional or just a hobbyist. Which has made it a very niche piece of software. For 30+ years.
There is no reason to believe this will change. And that's fine. It is their software and they can do whatever they want with it. But it also means it is largely irrelevant software for most people, including the scientific community. That isn't a disparaging remark, it is an accurate representation of reality.
The hobbyist license is less than $200 per year. What kind of pricing would make it practical for you?
[Edit: The student license (non-expiring) was $139 twenty years ago, $176 today. That may be "expensive" but many textbooks cost more than that.]
Every time I use it, I have this mental image of using a 500 ton press to crack a walnut. It's ludicrous overkill, but it brings a certain satisfaction to be able to use arbitrary precision maths when I don't need to, and use nonlinear fits for graphs where nobody looking at the result will even begin to appreciate the difference it makes.
This is the problem -- there is a "long tail" of people like me that have used Mathematica at university that are loathe to let go, but can't really justify the ongoing price.
This is why there are free editions of many paid tools. IntelliJ IDEA and Visual Studio have free "community editions", for example. More importantly, the build tools are generally free.
Even eye-wateringly expensive enterprise products with "call us" pricing have free editions! For example, VMware ESXi, Oracle, DB2, and SQL Server all do.
Wolfram is one of the last all-proprietary, no-free option, no open-source holdouts, especially in the space of "general purpose languages".
I paid for the $200 license back in high school 10 years ago and it was absolutely amazing; Really ahead of its time and well worth the money. But today as a software engineer the only feature I’m missing in Python is the ability to run natural language expressions in the middle of my code. Besides that, Python is far superior thanks to the community investment and the ability to easily deploy my code.
What can you do with a hobby license from Wolfram? Use the software. You can't really distribute it, put it in production, or anything else besides serve your own compute needs. They forbid you from using the Home versions for any non-personal use: you can't bootstrap your startup with it. You're not allowed to get reimbursed for it by your employer. You're not allowed to use it for academic purposes. The service plan lets you use your license on a second computer, but dual boot counts as a second computer. You can't upgrade your license, you can only buy a new one. It's almost as though they don't want you to use their software.
Why would anyone who doesn't already have experience with Mathematica pay for this license?
But pricing isn't the only problem here. The licensing model would have to be far more permissive. Plus I think any language that hopes to be successful would at least require an open source compiler, runtime and standard library.
The hobbyist license wasn't priced by the year, just outright single charge. Is the by-the-year version you see one with continued upgrades?
[ Edit : the edit directly above answers this. thanks! ]
Yes. They call it Wolfram Engine
>Can I publish Wolfram code in Docker Hub and expect it to work (legally)? No.
Yes, they call it Wolfram Application Server (does require a license)
>Can I throw some Wolfram code into an Azure Function and have it compute something for me on demand? Nope.
Yes: https://reference.wolfram.com/language/ref/RemoteBatchSubmit...
Contrast with gcc.
Until there is an open source software that can match the raw symbolic power combined with the huge libraries nothing can touch it for a lot of people.
same deal with solvers more generally. the coin-or stuff (e.g. Cbc) is slow and buggy, Cplex and Gurobi are far better but very expensive. where are the PhDs in this field? what are they building?
Have you tried Maxima? It seems more ergonomic.
A very computer-science perspective with the obligatory dose of hubris.
Pencil and paper is continuing to serve a much older, much more consolidated discipline (mathematics) well for... ever since paper was invented.
It would be insane value for everyone if the symbolic niche could also be covered by a general purpose language...
I haven't worked with Mathematica in years, though, so this is mostly speculation: how strictly do they maintain backward compatibility?
> AbsoluteOptions has been reimplemented to be more accurate, and the form returned for a particular option may be different now.
They deprecate stuff, but almost never remove it:
> ValueQ has been redesigned to test for the presence of a definition regardless of whether the definition is used. Old behavior can be restored by specifying "Legacy" as the method.
They play more fast-and-loose with functions documented as "experimental".
Looking at how many buzzword bingo boards I could make with JavaScript frameworks de jour and even enterprise platforms like .NET I find this statement exactly backwards in practice.
> An open source language is inevitably going to attract some maintainers who care about (or are paid to care about) keeping legacy code working.
Over 20 years I’ve found this to be quite a mixed bag.
That said, I'm still a Mathematica person at heart.
I genuinely hope that Octave can take off and trade blows with MATLAB face to face, but not sure if that will ever happen simply because of the amount of money MathWorks is pumping into developing toolboxes.
No, its usage is just declining slower in those areas because ppl don't want unnecessary change introducing unnecessary defects, esp since safety and reliability matters a lot for some equipments, and also engineers spend time on smth else than learning new languages and frameworks.
In 20 years Matlab will be as legacy as Fortran is now, still some left but mostly forgone.
what are you talking about? There's a lot of numerical code written (and actively developed) in Fortran today. If you are anywhere near numerical mathematics, you are running algorithms written in Fortran that somebody is maintaining.
Not if MathWorks keep offering discounts to universities for putting MATLAB in the courses, gotta get those undergrads "hooked" early before graduating.
Disappointingly because modern Fortran is a nice language for numerical computing.
This is a joke, right?
In many academic disciplines that involve numerical work, the amount of Fortran code in use today greatly exceeds that of any of the rivals.
Professors were forced to use Fortran by their advisors when they were in school, so most of their code is in it. These professors are not going to allow their students to reinvent any wheels. And the cycle continues. To give you an idea of how extreme this phenomenon is - almost all the Fortran code out there in academia is still in Fortran 77.
I'd wager that most of Mathematica's usage today, and in the past has been for those esoteric fields.
MATLAB always had higher market share for numerical work.
Mathematica's strength is in pure math. And nothing out there comes even close - not even SageMath. I wouldn't be surprised if all the pure math open source developers who are also math experts out there are fewer in number than those who contribute to Mathematica. You need detailed expertise in a math discipline. William Stein - founder of SageMath, wrote once on how impossibly difficult it is to get grants to support SageMath - most of them go to Mathematica or MATLAB. So if a math faculty member wants the extra income from grants, he/she is going to write a proposal targeting Mathematica, not SageMath.
Of course, once Stephen Wolfram dies, I don't know if Mathematica will continue to survive. But as long as he's alive, no open source pure math SW will overtake it.
What "open source alternatives"? There aren't any at this level of polish and maturity...
Meanwhile, whatever the "dustbin of history" does, we can continue keep using Mathematica just fine, for 20+ years, and 20+ more...
If their influence on that is their only contribution to the world, which it is not, then they have made their mark.
Since finishing up in university, I have sorely missed my free access to a fast and ergonomic symbolic equation solver. Sympy is an unsatisfactory substitute.
https://www.12000.org/my_notes/CAS_integration_tests/reports...
People have been saying this about Windows for the last 35 years.
Real time bare metal implementations, GUI tooling, 3rd party GUI components ecosystem, data analysis of runtimes in productions without code changes, architecture modeling tools on the IDEs,...
https://www.siriuserguide.com/what-is-wolfram-alpha/ https://www.siriuserguide.com/how-to-use-siri-knowledge/
"Siri Knowledge uses a combination of web searches, inbuilt apps, and Wolfram Alpha to find the answers to a fantastic variety of questions."
If you ask Wolfram Alpha for more information about Siri: https://www.wolframalpha.com/input/?i=Siri
It returns:
"Siri is a personal assistant application for iOS. The application was first available from the App Store, then came standard on Apple's mobile devices starting with iPhone 4S. Siri uses natural language processing to answer questions and perform actions by delegating requests to an expanding set of web services, including Wolfram|Alpha."
Yup, and all that's needed for the floodgates to open is for someone to write some sort of converter.
And no, "just run pip ..." will not work - who worked on these facilities probably knows how some of the smartest people in the world could be extremely dumb with the tech stuff.
Regarding Wolfram Language, at the beginning (when it was just a "Mathematica"), I hated it as I came from the C/C++ world. But after I embraced lisp et al., I found Wolfram Language very expressive and easier to grasp than before. Moreover, if I'm not mistaken, Wolfram Language is the only widespread implementation of M-expressions [1], the original form of LISP how John McCarthy wanted it to look.
> The front-end is just lightyears in front of Jupyter notebooks in just about every conceivable way.
Absolutely :)
I'm with you 100% here, but I'm also 100% with sibling jiggawatts.
To me, Mathematica is a computation environment that conveys a Lisp Machine feeling of "the machine and I are working on this problem".
You know, that "assembling things live in the sky" Lisp feeling (Yegge's phrase, not mine).
The only other computation environment that is right there en par in flexibility and conveyance of the same trippy feeling is, of course, Emacs.
The company can still make money from academic and professional licensing and support contracts, and everyone else gets to have access to an awesome thinking tool as a matter of fact.
They've already gone that direction a bit with the Raspberry release, what's left now is just the final push.
So, if Stephen Wolfram ever reads this:
Open source Mathematica and it will have a chance at immortality.
Just like Lisp and just like Emacs, and the people will rejoice.
Disclaimer: I started with Mathematica 4.0 at age 14 (a pirate copy too, sorry!), turned on by that marvellous column in Quantum. But I was put off precisely due to the proprietary nature, and switched to C and Lisp. Consequently I became a CS guy rather than a Physics guy, because C and Lisp were accessible early on, while Mathematica wasn't (legitimately).
Agreed. That's the main thing that tends to get lost when people make comparisons between MATLAB and Mathematica. Mathematica is conceptually elegant and often just a joy to work with as an intellectual tool. Its core problem is just that it isn't more widely available. MATLAB on the other hand is just an inelegant, obvious implementation of a numerical environment. Its strength is just the variety of toolkits you can license, but once your domains get equivalent open source toolkits, there's no reason not to bail on MATLAB.
>I started with Mathematica 4.0 at age 14 (a pirate copy too, sorry!)
The nice thing these days is that the full version of Mathematica is available for free on the Raspberry Pi. Wolfram deserves some kudos for that.
I feel like the other drug dealers in history might be offended at not getting at least some credit here for inventing this method.
Do you know Pharo? The experience you describe is also typical in the Smalltalk family. See https://pharo.org/
Got a source on that? It sounds intriguing.
which column?
From https://reference.wolfram.com/language/guide/SummaryOfNewFea...
New in machine learning in 13.1 ...
ContentDetectorFunction (updated) — support for Information DimensionReducerFunction(updated) ▪ FeatureExtractorFunction(updated) FindClusters (updated) — support for fixed number of clusters and UpTo ClusterClassify(updated) ▪ ClusteringComponents(updated) Interpretable Machine Learning FeatureValueImpactPlot — plots the impact of a feature on a model result FeatureImpactPlot — plots the impact of each feature together CumulativeFeatureImpactPlot — plots the cumulative impact of each feature FeatureValueDependencyPlot — plots the result dependency on a feature value Network Layers » ReplicateLayer (updated) — support for integer arrays RandomArrayLayer (updated) — support for more statistical distribution AttentionLayer (updated) — support for dropout and local masking ElementwiseLayer (updated) — new activations "Mish" and "GELU" ThreadingLayer(updated) ▪ FunctionLayer(updated) Network Training » NetTrain (updated), LossFunction (updated) — support for multi-output and nonscalar loss Encoders & Decoders » "Image" (updated) — resampling and padding support "Class" (updated) — support for top-k and top-p sampling (nucleus sampling) Formats "ONNX" (updated) — export support for net operators
I would say in 2018-2019 the ML / Deep learning stack was actually very impressive compared with what was available in FOSS. Now -- it's languishing. Badly.
I was offering a specific counter example to your observation that he was possibly hurting those closest to him.
> His puffery essentially hurts nobody besides perhaps those close to him
I think if he was genuinely hurting the people closest to him, like his family through his brash personality, they wouldn’t want to collaborate with him on long, extended projects. Especially considering how old and intelligent his son is.
> The front-end is just lightyears in front of Jupyter notebooks in just about every conceivable way.
I had the opposite experience, but it's a very broad statement and I suspect we took different interpretations of "front-end"
A few pain points for me:
- No Markdown support. Yes, there's rich input, but I find it more natural to write prose in a markup language rather than with a rich editor.
- Single "kernel" support. This isn't a criticism of Mathematica per-se: it doesn't care about other languages. But, it's nice to be able to use Jupyter Notebooks with C++, Python, etc.
- Limited UX w.r.t layout. JupyterLab lets me pin outputs, split the view, run a terminal alongside my notebook etc.
- Restricted ecosystem. This is a big one - it's not trivial to write an extension for Mathematica to extend its UX / rich output mechanism. With Jupyter, this is fairly trivial.
Don't get me wrong, they're different tools, and that's why I'm reluctant to engage with "X is better than Y" discussions. Mathematica is vastly unsuited to the kind of analysis / work that I do, whilst I'm sure the same is true of those who swear by Mathematica.
If you like Jupyter more than Mathematica as a front-end you can use wolframscript
https://www.wolfram.com/wolframscript/
as a Jupyter kernel:
https://github.com/WolframResearch/WolframLanguageForJupyter
You can use it with the free (for non-production use) Wolfram Engine: