All Projects → shedskin → Shedskin

shedskin / Shedskin

Licence: gpl-3.0
Shed Skin is a Python to C++ compiler. Read the introduction below to learn about the restrictions.

Programming Languages

python
139335 projects - #7 most used programming language
cpp
1120 projects

Labels

Projects that are alternatives of or similar to Shedskin

Scala Native
Your favorite language gets closer to bare metal.
Stars: ✭ 4,053 (+784.93%)
Mutual labels:  compiler
Mazucc
A minimalist C compiler with x86_64 code generation
Stars: ✭ 437 (-4.59%)
Mutual labels:  compiler
Tinyrb
A tiny subset of Ruby with a Lua'esc VM
Stars: ✭ 452 (-1.31%)
Mutual labels:  compiler
Ph7
An Embedded Implementation of PHP (C Library)
Stars: ✭ 422 (-7.86%)
Mutual labels:  compiler
Enzyme
High-performance automatic differentiation of LLVM.
Stars: ✭ 418 (-8.73%)
Mutual labels:  compiler
Scala Js
Scala.js, the Scala to JavaScript compiler
Stars: ✭ 4,249 (+827.73%)
Mutual labels:  compiler
Enso
Hybrid visual and textual functional programming.
Stars: ✭ 5,238 (+1043.67%)
Mutual labels:  compiler
Halide
a language for fast, portable data-parallel computation
Stars: ✭ 4,722 (+931%)
Mutual labels:  compiler
Groovy
Apache Groovy: A powerful multi-faceted programming language for the JVM platform
Stars: ✭ 4,359 (+851.75%)
Mutual labels:  compiler
Flingos
An educational operating system written in C#. A great stepping stone from high to low level development.
Stars: ✭ 451 (-1.53%)
Mutual labels:  compiler
Flow To Typescript
Convert Flow-annotated files to TypeScript
Stars: ✭ 425 (-7.21%)
Mutual labels:  compiler
Jwebassembly
Java bytecode to WebAssembly compiler
Stars: ✭ 426 (-6.99%)
Mutual labels:  compiler
Graphql Compiler
Turn complex GraphQL queries into optimized database queries.
Stars: ✭ 447 (-2.4%)
Mutual labels:  compiler
Nuitka
Nuitka is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, and 3.9. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module.
Stars: ✭ 6,173 (+1247.82%)
Mutual labels:  compiler
Minigo
minigo🐥is a small Go compiler made from scratch. It can compile itself.
Stars: ✭ 456 (-0.44%)
Mutual labels:  compiler
Oblivion
The language of Art
Stars: ✭ 414 (-9.61%)
Mutual labels:  compiler
Nelua Lang
Minimal, efficient, statically-typed and meta-programmable systems programming language heavily inspired by Lua, which compiles to C and native code.
Stars: ✭ 438 (-4.37%)
Mutual labels:  compiler
Compiler
The Hoa\Compiler library.
Stars: ✭ 458 (+0%)
Mutual labels:  compiler
Cantonese
粤语编程语言.The Cantonese programming language.
Stars: ✭ 454 (-0.87%)
Mutual labels:  compiler
Haxe
Haxe - The Cross-Platform Toolkit
Stars: ✭ 4,665 (+918.56%)
Mutual labels:  compiler

.. image:: https://img.shields.io/travis/shedskin/shedskin.svg :target: https://travis-ci.org/shedskin/shedskin .. image:: http://img.shields.io/badge/benchmarked%20by-asv-green.svg?style=flat :target: http://shedskin.github.io/benchmarks

Shed Skin

Shed Skin is an experimental compiler, that can translate pure, but implicitly statically typed Python (2.4-2.6) programs into optimized C++. It can generate stand-alone programs or extension modules that can be imported and used in larger Python programs.

Besides the typing restriction, programs cannot freely use the Python standard library (although about 25 common modules, such as random and re, are currently supported). Also, not all Python features, such as nested functions and variable numbers of arguments, are supported (see the documentation <https://shedskin.readthedocs.io/>_ for details).

For a set of 75 non-trivial programs <https://github.com/shedskin/shedskin/releases/download/v0.9.4/shedskin-examples-0.9.4.tgz>_ (at over 25,000 lines in total (sloccount)), measurements show a typical speedup of 2-200 times over CPython.

The following people have contributed to Shed Skin development so far:

Hakan Ardo, Brian Blais, Paul Boddie, François Boutines, Djamel Cherif, James Coughlan, Mark Dewing, Mark Dufour, Artem Egorkine, Michael Elkins, Moataz Elmasry, Enzo Erbano, Ernesto Ferro, Salvatore Ferro, FFAO, Victor Garcia, Luis M. Gonzales, Fahrzin Hemmati, Karel Heyse, Kousuke, Denis de Leeuw Duarte, Van Lindberg, David Marek, Douglas McNeil, Andy Miller, Jeff Miller, Danny Milosavljevic, Joaquin Abian Monux, John Nagle, Harri Pasanen, Brent Pedersen, Joris van Rantwijk, Pierre-Marie de Rodat, Jérémie Roquet, Mike Schrick, SirNotAppearingInThisTutorial, Thomas Spura, Joerg Stippa, Dave Tweed, Jaroslaw Tworek, Tony Veijalainen, Pavel Vinogradov, Jason Ye, Liu Zhenhai, Joris van Zwieten

Installation

::

sudo python setup.py install shedskin test.py make ./test

Documentation

See: https://shedskin.readthedocs.io/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].