This post is the second post of the series about how we wrote a compiler in Rust at Cosmian for the CipherCompute product. If you missed the first one here is the link, I recommend you to read it to really understand what we’re trying to achieve and know the context.

As a reminder, the previous article explains our objective is to be able to execute a sMPC (secure multi party computation) program in a widespread and known language, Rust in our case. To achieve this, we developed a compiler named WaSca which takes Wasm (WebAssembly) and compiles it to bytecode understandable by the Scale virtual machine to run sMPC computations.


Medium: Why and how we wrote a compiler in rust (part 2): the stack

Cosmian makes no tracking for advertising and does not collect any personal data. Cookies are used for statistical or operational purposes, as well as for analysis, allowing for continuous improvement of the website. Cosmian uses the Matomo Analytics tool, an audience measurement solution that uses cookies with a configuration that complies with the data protection legislation and the recommendations of the CNIL (Commission Nationale de l'Informatique et des Libertés). This configuration allows to anonymise visitor's data and to limit the storage period of this data to a maximum of 13 months. With this configuration, the prior consent to the deposit of Matomo Analytics cookies is not required. However, you can still choose not to allow these cookies (by clicking here ) or at any time by consulting our Privacy Policy.

For more information please consult our Privacy Policy