├── .gitignore ├── CHANGES ├── LICENSE ├── LIMITATIONS ├── MANIFEST.in ├── README.rst ├── bitey ├── __init__.py ├── bind.py └── loader.py ├── examples ├── advanced │ ├── Makefile │ ├── README │ ├── example.py │ ├── point.c │ ├── point.post.py │ └── point.pre.py ├── fib │ ├── Makefile │ ├── example.py │ └── fib.c ├── isprime │ ├── Makefile │ ├── README │ ├── example.py │ └── isprime.c ├── library │ ├── Makefile │ ├── README │ ├── example.py │ ├── fib.c │ └── sample.c ├── mandel │ ├── Makefile │ ├── README │ ├── _mandel.c │ ├── mandel.py │ ├── mandel_ctypes.py │ └── png.py ├── multi │ ├── Makefile │ ├── README │ ├── example.py │ ├── fact.c │ └── fib.c ├── mutate │ ├── Makefile │ ├── example.py │ └── mutate.c ├── point │ ├── Makefile │ ├── example.py │ └── point.c └── remote │ ├── Makefile │ ├── README │ ├── client.py │ ├── fib.c │ └── remote.py ├── setup.py └── test ├── Makefile ├── ctest.c └── test_ctest.py /.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | -------------------------------------------------------------------------------- /CHANGES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/CHANGES -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/LICENSE -------------------------------------------------------------------------------- /LIMITATIONS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/LIMITATIONS -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/README.rst -------------------------------------------------------------------------------- /bitey/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/bitey/__init__.py -------------------------------------------------------------------------------- /bitey/bind.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/bitey/bind.py -------------------------------------------------------------------------------- /bitey/loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/bitey/loader.py -------------------------------------------------------------------------------- /examples/advanced/Makefile: -------------------------------------------------------------------------------- 1 | all:: 2 | clang -emit-llvm -c point.c 3 | -------------------------------------------------------------------------------- /examples/advanced/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/advanced/README -------------------------------------------------------------------------------- /examples/advanced/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/advanced/example.py -------------------------------------------------------------------------------- /examples/advanced/point.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/advanced/point.c -------------------------------------------------------------------------------- /examples/advanced/point.post.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/advanced/point.post.py -------------------------------------------------------------------------------- /examples/advanced/point.pre.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/advanced/point.pre.py -------------------------------------------------------------------------------- /examples/fib/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | clang -emit-llvm -c fib.c 3 | -------------------------------------------------------------------------------- /examples/fib/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/fib/example.py -------------------------------------------------------------------------------- /examples/fib/fib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/fib/fib.c -------------------------------------------------------------------------------- /examples/isprime/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/isprime/Makefile -------------------------------------------------------------------------------- /examples/isprime/README: -------------------------------------------------------------------------------- 1 | A performance test of Bitey vs. ctypes. 2 | -------------------------------------------------------------------------------- /examples/isprime/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/isprime/example.py -------------------------------------------------------------------------------- /examples/isprime/isprime.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/isprime/isprime.c -------------------------------------------------------------------------------- /examples/library/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/library/Makefile -------------------------------------------------------------------------------- /examples/library/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/library/README -------------------------------------------------------------------------------- /examples/library/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/library/example.py -------------------------------------------------------------------------------- /examples/library/fib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/library/fib.c -------------------------------------------------------------------------------- /examples/library/sample.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/library/sample.c -------------------------------------------------------------------------------- /examples/mandel/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/mandel/Makefile -------------------------------------------------------------------------------- /examples/mandel/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/mandel/README -------------------------------------------------------------------------------- /examples/mandel/_mandel.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/mandel/_mandel.c -------------------------------------------------------------------------------- /examples/mandel/mandel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/mandel/mandel.py -------------------------------------------------------------------------------- /examples/mandel/mandel_ctypes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/mandel/mandel_ctypes.py -------------------------------------------------------------------------------- /examples/mandel/png.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/mandel/png.py -------------------------------------------------------------------------------- /examples/multi/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/multi/Makefile -------------------------------------------------------------------------------- /examples/multi/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/multi/README -------------------------------------------------------------------------------- /examples/multi/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/multi/example.py -------------------------------------------------------------------------------- /examples/multi/fact.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/multi/fact.c -------------------------------------------------------------------------------- /examples/multi/fib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/multi/fib.c -------------------------------------------------------------------------------- /examples/mutate/Makefile: -------------------------------------------------------------------------------- 1 | all:: 2 | clang -emit-llvm -c mutate.c 3 | -------------------------------------------------------------------------------- /examples/mutate/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/mutate/example.py -------------------------------------------------------------------------------- /examples/mutate/mutate.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/mutate/mutate.c -------------------------------------------------------------------------------- /examples/point/Makefile: -------------------------------------------------------------------------------- 1 | all:: 2 | clang -emit-llvm -c point.c 3 | -------------------------------------------------------------------------------- /examples/point/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/point/example.py -------------------------------------------------------------------------------- /examples/point/point.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/point/point.c -------------------------------------------------------------------------------- /examples/remote/Makefile: -------------------------------------------------------------------------------- 1 | all:: 2 | clang -emit-llvm -c fib.c 3 | -------------------------------------------------------------------------------- /examples/remote/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/remote/README -------------------------------------------------------------------------------- /examples/remote/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/remote/client.py -------------------------------------------------------------------------------- /examples/remote/fib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/remote/fib.c -------------------------------------------------------------------------------- /examples/remote/remote.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/examples/remote/remote.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/setup.py -------------------------------------------------------------------------------- /test/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | clang -emit-llvm -c ctest.c 3 | -------------------------------------------------------------------------------- /test/ctest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/test/ctest.c -------------------------------------------------------------------------------- /test/test_ctest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabeaz/bitey/HEAD/test/test_ctest.py --------------------------------------------------------------------------------