Giter VIP home page Giter VIP logo

Comments (3)

freakboy3742 avatar freakboy3742 commented on August 27, 2024

To my mind: it isn't necessary to be competely Python native. If there's a clean interface that we can leverage, it would be enough to clearly document the API as used by the Python library, and then provide a platform native implementation wherever it is used.

So, in the case of the math library - if one of the libc functions has an obvious analog in Javascript (or in a library that we can easily vendor in), don't be afraid to "go native" for that method. We only need to be pure Python when there's likely to be a need to share logic (and therefore reduce the native implementation burden) between projects that use Ouroboros.

from ouroboros.

swenson avatar swenson commented on August 27, 2024

Sounds good to me. I'll postpone this, except for pieces that aren't in other standard libraries (for example, the math.gamma and math.lgamma functions (some of which can be found in PyPy.

from ouroboros.

gautamworah96 avatar gautamworah96 commented on August 27, 2024

Hello I I find the idea of Python modules written in Python quite interesting... @freakboy3742 what all math functions have not been implemented? And how do I test my functions?
Thanks in advance.

from ouroboros.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.