logoalt Hacker News

Symbolica 2.0: Programmable Symbols for Python and Rust

129 pointsby mmastraclast Friday at 5:13 PM11 commentsview on HN

Comments

mkltoday at 4:54 AM

Past discussion (2 years ago, 119 comments): https://news.ycombinator.com/item?id=40297423

This software does symbolic maths, and it's commercially licensed. The site still seems to be lacking comparisons to other computer algebra systems.

The project is unrelated to this other Symbolica that does symbolic code execution, despite the similar sounding brief descriptions: https://news.ycombinator.com/item?id=28443587

show 1 reply
adiustoday at 6:42 AM

As an alternative, I’m working on reimplementing Wolfram Language/ Mathematica in Rust: https://woxi.ad-si.com/ A lot of Wolfram Language code just works already!

show 1 reply
timschmidttoday at 3:07 PM

I've been doing some symbolica-like things recently in the https://github.com/timschmidt/hyperreal ecosystem. Not a full CAS, just enough symbolic math to maintain precision through the calculations.

Benchmarks against Symbolica and numerica here: https://github.com/timschmidt/hyperlattice/blob/main/benchma...

lcnbrtoday at 6:32 AM

I’ve been a rust user of symbolica since 0.1 and it is insane how much nicer it is to use now.

Builder patterns for constructing replacement rules (and now evaluators!), macros for namespacing symbols, and now the call trait to fill in for callables in rust.

Not to mention the broad implementation of arithmetic on Atoms (the expression type of symbolica) with other std types and with symbols.

aboardRat4today at 9:55 AM

Why not just Maxima, Reduce, or Cadabra2?

show 1 reply
breezybottomtoday at 11:46 AM

Seems like a worthy successor to Sympy, although the license system might prevent it from reaching the same level of adoption.

show 1 reply