Woxi: Wolfram Mathematica Reimplementation in Rust
131–140 of 141 posts
Re: Woxi: Wolfram Mathematica Reimplementation in Rust
#132Earlier quoted context omitted.
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
#133Earlier quoted context omitted.
Well it would get vastly more popular if it was officially endorsed. Do you want lots of people using it?
Why is that important?
Re: Woxi: Wolfram Mathematica Reimplementation in Rust
#134Earlier quoted context omitted.
You are missing the term "JIT", which would enable a host of runtime optimizations which include generating calls to some static piece of native code which performs addition.
But surely you can have a "fast path" that is implemented in the host language, right?
Re: Woxi: Wolfram Mathematica Reimplementation in Rust
#135Earlier quoted context omitted.
Mh, I thought about this a little and came actually to exactly the opposite conclusion: Implement as much as possible in Rust to get the fastest code possible. Do you have any more insights why this should not be possible / unsustainable?
You have two distinct products 1) An interpreter 2) a math language. Don't write your math in some funny imperative computer language. Keep the interpreters surface area as small as possible. Do some work to make sure you can accelerate numeric, and JIT/compile functions down to something as close to native as you can. Wolfram, and Taliesin Beynon have both said Wolfram were working internally to get a JIT working in…
Re: Woxi: Wolfram Mathematica Reimplementation in Rust
#136Earlier quoted context omitted.
You have two distinct products 1) An interpreter 2) a math language. Don't write your math in some funny imperative computer language. Keep the interpreters surface area as small as possible. Do some work to make sure you can accelerate numeric, and JIT/compile functions down to something as close to native as you can. Wolfram, and Taliesin Beynon have both said Wolfram were working internally to get a JIT working in…
I'm not a PL expert but isn't building a decent JIT a massive undertaking? I guess you're saying that the JIT itself would be what makes a project like this worth using in the first place?
Re: Woxi: Wolfram Mathematica Reimplementation in Rust
#137Hi, 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.
Re: Woxi: Wolfram Mathematica Reimplementation in Rust
#138Earlier quoted context omitted.
No I don’t, review your code
If I go by the contributor numbers on Github, I see Claude has committed something on the order of 300,000 lines of code. I don't think it's reasonable to review that much code, even in weeks worth of time.
Re: Woxi: Wolfram Mathematica Reimplementation in Rust
#139Earlier quoted context omitted.
What’s the difference if you review the code getting merged?
Reviewing the correctness of code is a lot harder than writing correct code, in my experience. Especially when the code given looks correct on an initial glance, and leads you into faulty assumptions you would not have made otherwise. I'm not claiming AI-written and human-reviewed code is necessarily bad, just that the claim that reviewing code is equivalent to writing it yourself does not match my experience at all.