miracl / MIRACL

MIRACL Cryptographic SDK: Multiprecision Integer and Rational Arithmetic Cryptographic Library is a C software library that is widely regarded by developers as the gold standard open source SDK for elliptic curve cryptography (ECC).
https://miracl.com
654 stars 242 forks source link

Building under Emscripten #3

Open wizzard0 opened 11 years ago

wizzard0 commented 11 years ago

Is it possible to build Miracl under Emscripten?

Looking at "managed.txt" I see you use inline assembly and intrinsics which may be hard to translate (Emscripten is basically a LLVM-to-JS backend to Clang and GCC).

nstoilov commented 11 years ago

Hi wizzard0,

Thanks for the question.

We haven’t tested MIRACL under Emscripten, so unfortunately we can’t say if it can be build, or how it would perform in JavaScript.