Live data from Hacker News

Woxi: Wolfram Mathematica Reimplementation in Rust

github.com

31–40 of 141 posts

Re: Woxi: Wolfram Mathematica Reimplementation in Rust

#31
post #27

Earlier quoted context omitted.

Based on the list of contributors to your project, I am not sure this starting location is optimally suited to the task of building a foundation for polished, reliable, expandable software.

It's having ~ 5000 tests already. Used correctly, AI agents can help you improve the quality of the code!

Do you see why this perspective is a red flag on its own?

Re: Woxi: Wolfram Mathematica Reimplementation in Rust

#32
post #12

I love Rust for mathematical and scientific tasks (I am building the structural bio crate infrastructure), and I love Mathematica and have a personal sub. I should be the audience, but... What makes Mathematica great, IMO, is the polish and overall experience created by consistent work with applications in mind over decades. So, I look at this project with skepticism regarding its utility.

Yeah, the Mathematica language is the least interesting aspect of the Mathematica system. Closely followed by the interactive notebooks.

The notebooks were THE thing of Mathematica, at least to me. 12 years ago, as I was finishing my PhD in quantum optics, I wanted to migrate to the stack used in industry - and picked Python. Also, that way I was an early adopter of Jupyter Notebook, as it captured what was need + was open.

Now Mathematica notebooks (still remember, it is .nb) do not have the novelty factor. But they were the first to set a trend, which we now take for granted.

That said, I rarely use notebooks anymore. In the coding time, it is much easier to create scripts and ask to create a visualization in HTML.

Re: Woxi: Wolfram Mathematica Reimplementation in Rust

#33
post #24
post #14

vibe coded?

Such a massive undertaking would be almost impossible without AI agents, so yeah, they help me. But with around 5000 tests, they are actually helping to improve the software quality!

are all the tests hand written or are some agent-contributed? curious

Re: Woxi: Wolfram Mathematica Reimplementation in Rust

#35
post #29
post #2

Hi, I'm the main developer. We're steadily getting closer to the next release which will support most features of Mathematica 1.0 plus some of the most popular newer functions (> 900 overall!). AMA!

There's a mystique around Mathematica's math engine. Is this groundless, or will you eventually run into problems getting correct, identical answers -- especially for answers that Mathematic derives symbolically? The capabilities and results of the computer algebra systems that I've used varied widely.

Hard to tell honestly. So far there was always some surprisingly straight forward solution If had any problems with the math engine. There is actually a lot of public research how equations can be solved/simplified with computer algorithms. So I'm optimistic. I also stumbled upon a few cases where Mathematica itself didn't quite do things correctly itself (rounding errors, missing simplifications, etc.). So maybe it's actually a little overhyped …

Re: Woxi: Wolfram Mathematica Reimplementation in Rust

#36
post #27

Earlier quoted context omitted.

Based on the list of contributors to your project, I am not sure this starting location is optimally suited to the task of building a foundation for polished, reliable, expandable software.

It's having ~ 5000 tests already. Used correctly, AI agents can help you improve the quality of the code!

God help us.

Re: Woxi: Wolfram Mathematica Reimplementation in Rust

#37

I love Rust for mathematical and scientific tasks (I am building the structural bio crate infrastructure), and I love Mathematica and have a personal sub. I should be the audience, but... What makes Mathematica great, IMO, is the polish and overall experience created by consistent work with applications in mind over decades. So, I look at this project with skepticism regarding its utility.

Similarly I'm not sure Octave ever really got that polish to compete with MATLAB.

SPSS is hilariously painful to use. Still it's only losing ground ever so slowly. PSPP remains almost unheard of among SPSS core users.

Re: Woxi: Wolfram Mathematica Reimplementation in Rust

#38

Great! Math tools for everyone. what's stopping some Mathematica employee from taking the source code and having an agent port it. Or even reconstruction from the manual. Who owns an algorithm? Will everything get copied eventually?

> what's stopping some employee from something like Mathematica from taking the source code and having an agent port it to open source Laws against theft. Also the same reason employees don't release the code on pastebin or something. > Who owns an algorithm? The org or person who was granted the software patent. https://en.wikipedia.org/wiki/Software_patent > Will everything get copied eventually? If we're lucky. Mo…

https://en.wikipedia.org/wiki/Illegal_number

Re: Woxi: Wolfram Mathematica Reimplementation in Rust

#39
post #9
post #2

Hi, I'm the main developer. We're steadily getting closer to the next release which will support most features of Mathematica 1.0 plus some of the most popular newer functions (> 900 overall!). AMA!

Interesting, thanks for sharing. Naive question as I'm not familiar with Mathematica much (but aware of it and Wolfram Alpha and related tools), how does it compare to e.g. Jupyter or Julia or maybe another language (with its framework) that might be even closer?

I think Wolfram Language is just so much more ergonomic. No need to import dependencies - everything's included and consistent, very readable - yet compact - syntax, less gotchas than Python, R, etc., sensible default, …

Re: Woxi: Wolfram Mathematica Reimplementation in Rust

#40
post #2

Hi, I'm the main developer. We're steadily getting closer to the next release which will support most features of Mathematica 1.0 plus some of the most popular newer functions (> 900 overall!). AMA!

Have you considered using quickcheck/random/property-based testing with LLM code generation to automate function implementation?
Post reply on HN