Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comparison to Nemo.jl #4

Open
chakravala opened this issue Feb 18, 2020 · 2 comments
Open

Comparison to Nemo.jl #4

chakravala opened this issue Feb 18, 2020 · 2 comments

Comments

@chakravala
Copy link

How does this compare with arb from Nemo?

@kalmarek
Copy link
Owner

The main difference is that Nemo is actually usable at this moment ;)

@Joel-Dahne
Copy link
Collaborator

Now that we have made the first release I guess you can call this package at least somewhat usable! About the comparison I would say the big difference is that Nemo is creating an entire ecosystem in Julia for computer algebra, Arb is only a small part of that. Arblibs focus is on creating a thin wrapper around Arb for incorporating it into the existing Julia ecosystem. Some examples of differences:

  • arb in Nemo is not a subtype of Real as one would expect (this is a consequence of Julia only allowing one subtype) and thus many already existing numerical methods in Julia wont work with arb directly since they expect an argument of type Real. In Arblib we indeed have Arb being a subtype of Real as expected.
  • In Nemo constructing an arb requires a parent field RealField, which makes sense in a computer algebra system where you work with different basefields. This has the consequence that zero(arb) and similar things won't work and this also breaks a lot of composability with Julia in general.

In general Arb in Arblib works very similar to BigFloat in Julia Base and in principle (at least when the library is a bit more mature) everything which can work with BigFloat should be able to work with Arb.

Hopefully this at least partially answers the question!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants