mesapy
mesapy copied to clipboard
Why not base on CPython?
This project is based on PyPy interpreter. Why not put CPython to SGX? CPython is more widely used.
Two main reasons of using PyPy are:
- safer (memory safe) than CPython, this is important for applications in SGX enclave
- faster (supporting JIT)
Historically, CPython has some memory issues because of using C/C++, and could be even worse in enclave. We care a lot about memory safety. That's why we are using Rust as the main language for developing enclaves.
How should I setup the mesapy env locally?Or how to print the running error in mesalock-linux? I build a machine learning model with python3. But can not execute this script in mesalock-linux. I don't know how the change the script to integrate mesalock-linux.