skip to main content
article

Exporting Ada Software to Python and Julia

Published:19 December 2022Publication History
Skip Abstract Section

Abstract

The objective is to demonstrate the making of Ada software available to Python and Julia programmers using GPRbuild. GPRbuild is the project manager of the GNAT toolchain. With GPRbuild the making of shared object files is fully automated and the software can be readily used in Python and Julia. The application is the build process of PHCpack, a free and open source software package to solve polynomial systems by homotopy continuation methods, written mainly in Ada, with components in C++, available at github at https://github.com/janverschelde/PHCpack.

References

  1. F. Pérez, B. Granger, and J. Hunter, "Python: An ecosystem for scientific computing," Computing in Science & Engineering, vol. 13, no. 2, pp. 12--21, 2011.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. J. Bezanson, A. Edelman, S. Karpinski, and V. B. Shah, "Julia: A fresh approach to numerical computing," SIAM Review, vol. 59, no. 1, pp. 65--98, 2017.Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. T. Kluyver, B. Ragan-Kelley, F. Pérez, B. Granger, M. Bussonnier, J. Frederic, K. Kelley, J. Hamrick, J. Grout, S. Corlay, P. Ivanov, D. Avila, S. Abdalla, C. Willing, and J. D. Team, "Jupyter Notebooks-a publishing format for reproducible computational workflows," in Positioning and Power in Academic Publishing: Players, Agents, and Agendas (F. Loizides and B. Schmidt, eds.), pp. 87--90, IOS Press, 2016.Google ScholarGoogle Scholar
  4. W. Stein, "Sage: Creating a viable free open source alternative to Magma, Maple, Mathematica, and MATLAB," in Foundations of Computational Mathematics, Budapest 2011 (F. Cucker, T. Krick, A. Pinkus, and A. Szanto, eds.), vol. 403 of London Mathematical Society Lecture Note Series, pp. 230--238, Cambridge University Press, 2012.Google ScholarGoogle Scholar
  5. J. Otto, A. Forbes, and J. Verschelde, "Solving polynomial systems with phcpy," in Proceedings of the 18th Python in Science Conference, pp. 563--582, 2019.Google ScholarGoogle Scholar
  6. T. Gao, T. Y. Li, and M. Wu, "Algorithm 846: MixedVol: a software package for mixed-volume computation," ACM Trans. Math. Softw., vol. 31, no. 4, pp. 555--560, 2005.Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. T. Mizutani and A. Takeda, "DEMiCs: A software package for computing the mixed volume via dynamic enumeration of all mixed cells," in Software for Algebraic Geometry (M. Stillman, N. Takayama, and J. Verschelde, eds.), vol. 148 of The IMA Volumes in Mathematics and its Applications, pp. 59--79, Springer-Verlag, 2008.Google ScholarGoogle Scholar
  8. J. Verschelde, "Parallel software to offset the cost of higher precision," ACM SIGAda Ada Letters, vol. 40, no. 2, pp. 59--64, 2020.Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Y. Hida, X. S. Li, and D. H. Bailey, "Algorithms for quaddouble precision floating point arithmetic," in 15th IEEE Symposium on Computer Arithmetic (Arith-15 2001), pp. 155--162, IEEE Computer Society, 2001.Google ScholarGoogle Scholar
  10. M. Joldes, J.-M. Muller, V. Popescu, and T. W., "CAMPARY: Cuda Multiple precision arithmetic library and applications," in Mathematical Software -- ICMS 2016, the 5th International Conference on Mathematical Software, pp. 232--240, Springer-Verlag, 2016.Google ScholarGoogle Scholar

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in

Full Access

  • Published in

    cover image ACM SIGAda Ada Letters
    ACM SIGAda Ada Letters  Volume 42, Issue 1
    June 2022
    67 pages
    ISSN:1094-3641
    DOI:10.1145/3577949
    Issue’s Table of Contents

    Copyright © 2022 Copyright is held by the owner/author(s)

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 19 December 2022

    Check for updates

    Qualifiers

    • article
  • Article Metrics

    • Downloads (Last 12 months)11
    • Downloads (Last 6 weeks)0

    Other Metrics

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader
About Cookies On This Site

We use cookies to ensure that we give you the best experience on our website.

Learn more

Got it!