pypperoni
chocopy-python-compiler
Our great sponsors
pypperoni | chocopy-python-compiler | |
---|---|---|
3 | 3 | |
77 | 44 | |
- | - | |
1.8 | 5.8 | |
about 3 years ago | 26 days ago | |
Python | Python | |
MIT License | MIT 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.
pypperoni
- Pypperoni: A Python compiler and bytecode preprocessor
-
How we sped up a Regex by 50,000x to make a family-friendly MMO safe for all
Tries is barely winning in this case when pyre2 is thrown into the mix. Also, pyre2 is a C++ extension; because of the distribution compiler we use we would have had to jump through a lot more hoops to get it working on our clients so we prefer pure Python libs. That said, we don't actually ship blocklist detection to the client so we don't have similar restrictions on the server side.
-
Any weird encounters you had with hackers in TTO?
Today, we have stuff like Pypperoni, which makes Python injection impossible, and server code is written with security in mind.
chocopy-python-compiler
-
Chocopy -> CIL compiler: compiles a subset of Python 3 to Common Intermediate Language (.NET)
Links: - Github - Blog post with more details about the CIL backend - Blog posts I've written about other parts of the compiler: Frontend/Typechecker, JVM Backend
- Chocopy -> JVM Compiler, implemented in Python
-
Chocopy -> JVM Compiler: compiles a subset of Python 3 to JVM bytecode
Links: - Github - Blog post explaining how I did it
What are some alternatives?
python-uncompyle6 - A cross-version Python bytecode decompiler
Krakatau - Java decompiler, assembler, and disassembler
prometeo - An experimental Python-to-C transpiler and domain specific language for embedded high-performance computing
devito - DSL and compiler framework for automated finite-differences and stencil computation
pyclean - Pure Python cross-platform pyclean. Clean up your Python bytecode.
ragaz - Ragaz aims be a fast, safe and powerful language with syntax closest to default python which allow you to create from simple scripts to complex systems in a code easier to read, write and maintain than other system languages with the same purpose (C/C++, Rust, etc).
front - Front-end libraries and utilities for the Transmuter language processing infrastructure
thefuck - Magnificent app which corrects your previous console command.
dotgdb - Extensible client for Mono Soft Debugger. The proof-of-concept of queryable Mono Soft Debugger client (command tool).