PeachPy
ppci
PeachPy | ppci | |
---|---|---|
4 | 5 | |
1,948 | 322 | |
- | - | |
0.0 | 0.0 | |
7 months ago | almost 2 years ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PeachPy
- Portable Efficient Assembly Code-Generator in Higher-Level Python (PeachPy)
-
SIMD in Pure Python
This is a nice exercise!
There is also a very different “write SIMD assembly in Python” approach available through the PeachPy library, one of the least known gems between Python and HPC worlds: https://github.com/Maratyszcza/PeachPy
This is what a dot-product would look like in PeachPy: https://unum-cloud.github.io/usearch/python/index.html#id4
PS: Cppyy and Numba are also fun to use in such projects :)
-
Hey guys, have any of you tried creating your own language using Python? I'm interested in giving it a shot and was wondering if anyone has any tips or resources to recommend. Thanks in advance!
It's not super maintained but you might enjoy building something with ppci, Pure Python Compiler Infrastructure. It has some front-ends and some back-ends. There's also PeachPy for an assembler. People like using Lark for parsing, I hear.
-
damnn....i want this level of expertise
pip install --upgrade git+https://github.com/Maratyszcza/PeachPy
ppci
- Good languages for writing compilers in?
-
Hey guys, have any of you tried creating your own language using Python? I'm interested in giving it a shot and was wondering if anyone has any tips or resources to recommend. Thanks in advance!
It's not super maintained but you might enjoy building something with ppci, Pure Python Compiler Infrastructure. It has some front-ends and some back-ends. There's also PeachPy for an assembler. People like using Lark for parsing, I hear.
-
Hmm
I disagree
- PPCI (Pure Python Compiler Infrastructure) Project
- Windelbouwman/ppci: A compiler for ARM, x86, MSP430, xtensa in pure Python
What are some alternatives?
Cython - The most widely used Python to C compiler
mpl - The MaPLe compiler for efficient and scalable parallel functional programming
PyPy
Pegged - A Parsing Expression Grammar (PEG) module, using the D programming language.
Pyston - A faster and highly-compatible implementation of the Python programming language.
backrooms - 3D, CISC Architecture and Esolang
Pyjion
Assembler - outdated, do not use
Stackless Python
watim - Language which compiles to WebassemblyTextFormat
fasmg - flat assembler g - adaptable assembly engine
manicdigger - Manic Digger - a multiplayer block-building voxel game, Minecraft clone