Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why not base on CPython? #21

Open
yang8621 opened this issue Jul 20, 2020 · 2 comments
Open

Why not base on CPython? #21

yang8621 opened this issue Jul 20, 2020 · 2 comments

Comments

@yang8621
Copy link

yang8621 commented Jul 20, 2020

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

@mssun
Copy link
Contributor

mssun commented Jul 21, 2020

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.

@turkeymz
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants