314 points · by adius · 3mo ago · 46 comments
It comes with Woxi Studio, a Mathematica-like GUI built with iced, but you can also use Woxi through a CLI, Jupyter kernel, Python package, npm package, or WASM module.
Compared with wolframscript / Mathematica, the main differences are:
- Free and open source - Very fast startup - Typically milliseconds rather than seconds for the Wolfram kernel, making Woxi practical for shell scripts, one-liners, and other short-lived processes - Embeddable - It can run in a browser via WASM or be embedded into another application as a scripting language
A more detailed comparison with Mathematica is available here: https://woxi.ad-si.com/docs/comparison/mathematica/.
Conformance is ensured with ~26'000 unit tests and ~900 .wls script snapshot tests.
The current focus is on fixing remaining edge cases, improving performance, and growing the community.
If you use the Wolfram Language, I'd be particularly interested in feedback on compatibility and missing functionality. Contributions and bug reports are also very welcome: https://github.com/ad-si/Woxi
If you are planning to add another component, I'd like to +1 the control systems module. It's a lot less clunky than Matlab in my opinion and faster to use. I've used the classical analysis, state space model and matrix equation solver features in that module, none of the microcontroller stuff https://reference.wolfram.com/language/guide/ClassicalAnalys...
Either way, I'll probably be using this after I graduate and no longer have the site license, since I cannot imagine using a different CAS, so thanks for developing this
As for the "most wanted" features, I would vote for PDEs, since most other systems (apart from Mathematica itself) do not support them well.
I truly, honestly loathe the way Python handles for symbolic computation, and digging down I traced my disdain all the way to the fundamental object model of Python; so there is no way some surface-level modification will work for me.
On the one hand, it allows the sloppy "integration" of various systems (like you mention). On the other hand, it is not a real integration, just a patchwork of the worst kind. You never know what kind of interface you will face next, there is no coherence among tools, everything is its own world and you need to translate manually between them. Assuming you know the interfaces beforehand. If not... good luck.
However, MathLink is one of the few exceptions as it is deprecated by now.
For sometime now I've been looking into a good CAS for my app. I've tried a few algebra problems with Sympy, Sage, Xcas, Maxima and Woxi. Of these only Sage, Maxima and Woxi were capable of giving the expected answers.
After trying it out I became fascinated by Wolfram language and other term rewriting languages they are pretty interesting even though most have little to do with CAS like WL.
Anyway I've been looking at this project and plan to seriously use it in the future. So, I've noticed a few things when attempting to run wljs (I had to wrap it with a shell script to get wljs to see it as wolframscript executable). First the version number system variable gives a string instead of the expected real number type (As a temporary hack I modified Woxi to give what wljs expects). There also is a variable that tells to the absolute path of the of the current file and it is wrong when it's used in an imported script. After working around that with hard coded paths things became more difficult.
Edit: just checked my pc and the variables are called $VersionNumber and $InputFileName which is incorrect if the file is evaluated via Get["filepath"].
Anyways, I'm interested in helping out don't know if I can.
I think this is great. A lot of people want to have a free alternative. For me, the real value of this is the creation of a community and setting the foundation for something better than Mathematica. I'm on the side of those that think that programming languages are a tool of thought and Wolfram lang can be extremely expressive. I love non-mainstream but useful languages.
I always preferred Mathematica for that to SymPy since it's baked in to the language much more. It was also way way faster than SymPy was for anything interesting.
Beware of copyright issues for API's and patent issues about reimplementations. Wolfram seems serious about his I.P.. After the Oracle case, I'm not reimplementing any language unless it's open with no patent trolling possible.
I cannot adopt it until this gap is closed in the studio.
Interactive 2D mathematical typesetting / notation input (front-end)
ASCII entry is great if you already know exactly what you're doing. There's no built-in tooling to help you convert your intent to ASCII. You have to be confident that your entry accurately represents what you intended, since the input isn't typeset in the output either. And you have to be comfortable doing the translation in your head as you go back and forth across your work, fast enough that it doesn't get in the way of reading your own notebook.
A lot of what makes Mathematica notebooks valuable is that they're readable. I can't read a Woxi Studio notebook, I can only re-parse it. It seems that mathematical expressions included in text don't render in Woxi Studio either so it isn't possible to read notebooks that include math content. The ASCII position is completely reasonable for Woxi as a language; it just falls short of what Mathematica notebooks do for me.
I'm really impressed with everything else. Functions, plotting, solves — the tool works, is really fast and I'm super impressed. I might reach for your browser playground going forward. This is the type of software that makes me glad open source exists.
I’d rather see more open source projects making something new than so much “Open Source reimplementation.” If closed proprietary companies are so worthless then why do so many open source projects copy those implementations. Did Wolfram really discover the one true way in its language syntax and presentation layer? If it did, is the idea of open source really just making it unviable for companies to invest in important things like that? To be clear these are of course rhetorical questions. The open source world could experiment (and in defense sometimes does) with truly new approaches and interfaces. I just want to see more of it.
Mathematica exists. Mathematica for free versus Mathematica for money is of course a nice trade. But even better would be to try new ways to interact with mathematics unburdened from legacy concerns.
Of course, there are a few things I think we can do better than the Wolfram Language, but given all the available legacy code, there's really no point in making it slightly different and losing the ability to use that code. However, we might build an alternative syntax and frontend in the future that surfaces the capabilities of the Wolfram Language with a better UX.
I’m curious abut benchmarking. Wolfram claims they put a ton of effort into optimizing the speed of at least certain types of mathematical computations.
UX is an area I’d suggest working on. Wolfram was a real pioneer with the notebook style interface but nothing is meant to last forever. That might be an area to innovate without losing access to legacy codebases.
Maybe reimplementing something that already exists a couple times over leads to good things as well. I can imagine some subtle insights could be gained which matter to some of the user base.
I believe we need to be more respectful to human creators, especially now that it has become so easy to just “reimplement” someones work, to circumvent payment or license conditions or for whatever motivation. What would you do if this work didn’t exist? Well, I guess you’d have to do it yourself or use an alternative…
That being said, the Wolfram Engine is actually free for development and personal use[1]. I had a really nice experience with Wolframite[2] on Clojure as an interface layer and that works well enough for the few non-commercial things I do with it (evaluating WL expressions directly in the editor is such a nice experience!).
The answer in my mind is fairly obvious: it's far more difficult and risky to do high-quality original work and give it away for free. If you want to see more original innovative work in open source, the two main ways to achieve that are to either do it yourself, or to pay others to do it.