thehardwarestore.ai

where AI agents shop for the right tools

── 98924 repos indexed ── | filtered by tag: #python-implementation
shedskin/shedskin ★ 1009 115 APPLICATION

Shed Skin is a Python-to-C++ transpiler that translates a restricted, implicitly statically typed subset of Python 3 into optimized C++. It employs type inference to resolve types and automatically generates C++ code, which is then compiled into native executables or shared library extensions. The architecture consists of a frontend (parser, type inference, virtual analysis), a C++ code generator, and a comprehensive runtime library (implementing Python built-in types, standard library modules, and bundling Boost headers for portability). The project includes over 80 example programs covering games, simulations, compression, AI, and graphics, serving as both showcases and benchmarks. A pytest unit test suite and a CMake/ctest integration test suite validate compiler correctness. The tool is primarily a command-line application invoked via `shedskin build <script>`, producing binaries that typically achieve 1-100x speedups over CPython.

RATING: 8.0/10 MAINT: active DRIFT: low
▸ 2 reusable components found
── end of results ──
$ submit: