@anutosh491 @QuantStack
Anutosh Bhat
Scientific Computing is Exploratory
Interpreted Languages Dominate This Space
C++ in a REPL = The Best of Both Worlds
What does Xeus even mean ?
Limitations of Cling
xeus-cpp, based on Clang
Clang-Repl on Native Platforms
Clang-Repl in the Browser
LLVM 17 introduced a WASM-specific IncrementalExecutor that avoids LLVM's ORC JIT
The new WasmIncrementalExecutor handles the wasm execution as follows:
Partial Translation Unit (PTU)PTU is lowered to LLVM IR, then compiled to a WASM object filewasm-ld into a standalone binary (incr_module_x.wasm)dlopen, extending the main moduleThese modules:
wasm moduleWASM doesn’t support shared libraries traditionally🚀 This model effectively turned Clang-Repl into a live REPL for WebAssembly, enabling dynamic incremental C++ in the browser!
Compiler Research Group
Google Summer of Code
Scan for slides