5 ms·
"includes Python, Lua, JavaScript, C, C++ for programming and TeX (texlive 2019, including LuaTeX) for text processing." I'm actually surprised it's only about
by ken 6y ago
"includes Python, Lua, JavaScript, C, C++ for programming and TeX (texlive 2019, including LuaTeX) for text processing."
I'm actually surprised it's only about 650 MB. TeX (Live) alone is huge.
- ulzeraj 6y agoIt will ask if you want to download a 800MB package if you run the latex command so TeX is not really included in the main download.
- jsjohnst 6y agoLua 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 6y agoThe compiler compiles to LLVM IR.
- jsjohnst 6y 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 6y 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 6y agoYeah, I confused it with that. My mistake. (Someone should really tell them to not make their websites look the same!)