batavia
batavia copied to clipboard
Use pypy or brython implementation for builtins and standard lib
Hi,
I was wondering if it makes sense to use an implementation for the python builtins that's actually implemented in python.
For example, pypy has the following https://bitbucket.org/pypy/pypy/src/35c27789e35368ac3ebefedd83af0829d2cf89d4/pypy/module/builtin/
Brython similarly has pure python implementations for large parts of the standards library (not sure about builtins, though).
Maybe it would be good to create a distinguished repo for this kind of reimplementation of python in pure python.
Cheers,
Wolf
Yes - I think it would. Reusing an existing builtins + standard library would be desirable; collaborating on a common "pure python" repo would be even better. In addition to Batavia, VOC has a similar need for a pure Python stdlib implementation.
Having an clear specification for the interface that a native implementation must provide, and a way to override specific modules to provide a native interface would also be desirable.
I'm happy to host the project as part of BeeWare; I have no idea whether the PyPy or Brython teams would be interested in using it. In an ideal world, it would be something that is shared with CPython as well - but that's probably a pipe dream.
Some possible names for the project:
- Troupe (as in, a collection of (Monty) Pythons)
- Pythonidae (the taxonomic name for Pythons)
- Clutch (as in, a collection of Python eggs)
- Nest (as in, a nest of vipers)
My working draft name was pyinpy but it's probably too close to pypy, hehe.
I think pythonidae is quite cool, but I am happy with any of them.
Cheers,
Wolf On Fri, 22 Jan 2016 at 15:22, Russell Keith-Magee [email protected] wrote:
Some possible names for the project:
- Troupe (as in, a collection of (Monty) Pythons)
- Pythonidae (the taxonomic name for Pythons)
- Clutch (as in, a collection of Python eggs)
- Nest (as in, a nest of vipers)
— Reply to this email directly or view it on GitHub https://github.com/pybee/batavia/issues/13#issuecomment-173932977.
Surely "Ouroboros"? :)
@funkybob Oh... oh my.... We have a winner. Ouroboros it is.