Live data from Hacker News

Woxi: Wolfram Mathematica Reimplementation in Rust

github.com

111–120 of 141 posts

Re: Woxi: Wolfram Mathematica Reimplementation in Rust

#111

Earlier quoted context omitted.

Mathematica is proprietary software. Any reimplementation is better than nothing at all, at least for people that don't run proprietary software

Useless thing is not less useless by the virtue of being FOSS. That's something FOSS folks have yet to understand. All the best to the author, they definitely have fun doing this, but I've seen enough of such attempts. Having agents doesn't make much difference.

People said the same thing about Linux in the 90s

Re: Woxi: Wolfram Mathematica Reimplementation in Rust

#112
post #99

Earlier quoted context omitted.

Mathematica has symbolic and infinite-precision addition, so you can't automatically take advantage of obvious compiled code.

What? Arbitrary precision arithmetic implemented in a compiled language will be faster than the alternative. This is no great mystery. The same is true of essentially all low-level symbolic or numerical math algorithms. You need to get to a fairly high level before this stops being true.

Of course. The point is whether you interpret a call to arbitrary_precision_add or compile the call doesn't matter much.

Re: Woxi: Wolfram Mathematica Reimplementation in Rust

#113

Earlier quoted context omitted.

You can find the whole integration routine here https://github.com/ad-si/Woxi/blob/36343ab2cbc97e5081f7c811e... . It's essentially a test mock-up (not even trying partial fraction decomposition for rational functions).

// ∫ tan(x) dx = -ln|cos(x)| - not implemented (requires Log) This really doesn't bode well... I'm no expert in CASes, but everything I've looked at seems very naive. Vibe coding a Mathematica replacement makes zero sense to me.

Reported a few issues, e.g. https://github.com/ad-si/Woxi/issues/16

Re: Woxi: Wolfram Mathematica Reimplementation in Rust

#115

Earlier quoted context omitted.

Useless thing is not less useless by the virtue of being FOSS. That's something FOSS folks have yet to understand. All the best to the author, they definitely have fun doing this, but I've seen enough of such attempts. Having agents doesn't make much difference.

People said the same thing about Linux in the 90s

Very nice, now explain what makes this fact relevant.

Re: Woxi: Wolfram Mathematica Reimplementation in Rust

#116
post #75

Earlier quoted context omitted.

Half-assed reimplementations of existing software (often in the name of "memory safety") is what the Rust community is best known for.

Mathematica is proprietary software. Any reimplementation is better than nothing at all, at least for people that don't run proprietary software

What's wrong with Maxima?

Re: Woxi: Wolfram Mathematica Reimplementation in Rust

#117
post #80

Earlier quoted context omitted.

Which often means that e.g. loading an image for displaying it increases cost by a few thousands

The price tags are wild for sure. But the sheer number of supported features is what makes them attractive. Cloning that completely is practically infeasable.

If you were using everything in the toolboxes, it would be absolutely worth it. As it is, you often need an additional toolbox for basic functionality and pay for everything in it.

Re: Woxi: Wolfram Mathematica Reimplementation in Rust

#119

My Bona fides: I've written my own Mathematica clone at least twice, maybe three times. Each time I get it parsing expressions and doing basic math, getting to basic calculus. Then I look up the sheer cliff face in front of me and think better of the whole thing. There is an architectural flaw in Woxi that will sink it hard. Looking through the codebase things like polynomials are implemented in the rust code, not in…

Sorry, perhaps, a dumb question:

Is it not that Mathematica, and most of the Wolfram innovation, is about a smart way of applying some rule-based inference. I think of it as parametrized PROLOG rules, with large lib. So term rewriting all the way to the end, correct me if I'm wrong.

Where does the mini-core+JIT come into this?

Thanks for taking time to answer.

Re: Woxi: Wolfram Mathematica Reimplementation in Rust

#120
post #103

Earlier quoted context omitted.

If they hand wrote the code we know they at least looked at it once.

Since we can’t know whether they really hand-wrote the code, we also wouldn’t know whether they looked at it.

Err yeah that's the point.
Post reply on HN