Comment Re:Why not C (Score 2) 38
A few notes on this. We're using Emscripten to compile interpreters written in C to LLVM bytecode then to JavaScript. Emscripten supports both static and dynamic library loading by compiling the libraries to JavaScript. The Python standard library on repl.it, for example, loads dynamic libraries, so it's definitely doable. Performance is of course not amazing, but for a REPL, it's certainly good enough.