3 ms·
Lua is rather tiny. JavaScript and the executor for C/C++ (as the compiler compiles to WASM) are mostly Apple frameworks (JavaScript Core). Now Python and Clang
by jsjohnst 7y ago
Lua is rather tiny. JavaScript and the executor for C/C++ (as the compiler compiles to WASM) are mostly Apple frameworks (JavaScript Core). Now Python and Clang are fairly big, but not usually 650mb big, I’d say 200mb is more likely. Now if TeX was included, totally agree, but as sibling comment indicated, it’s not.
- saagarjha 7y agoThe compiler compiles to LLVM IR.
- jsjohnst 7y agoFrom their own website: > clang/clang++ compiles your C/C++ files to webAssembly with wasi included. Executee the resulting files using 'wasm command'. You can also compile to webAssembly elsewhere and bring the files to your iPad.
- lloeki 7y agoThe LibTerm app does that: https://libterm.app https://libterm.app > LLVM: You can compile C code into LLVM IR format with clang and interpret it with the lli command.
- saagarjha 7y agoYeah, I confused it with that. My mistake. (Someone should really tell them to not make their websites look the same!)