mesapy icon indicating copy to clipboard operation
mesapy copied to clipboard

Why not base on CPython?

Open yang8621 opened this issue 3 years ago • 2 comments

This project is based on PyPy interpreter. Why not put CPython to SGX? CPython is more widely used.

yang8621 avatar Jul 20 '20 08:07 yang8621

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.

mssun avatar Jul 21 '20 18:07 mssun

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.

turkeymz avatar Sep 11 '20 03:09 turkeymz