Nim - First natively compiled language w/ hot code-reloading at runtime
summary
Introduces Nim, a statically typed systems language with powerful metaprogramming, and demonstrates its native runtime hot code-reloading and REPL capabilities. Shows a live demo of reloading compiled code at runtime and explains the implementation approach, noting the technique can be applied to other compiled languages such as C/C++.
AI-written summary · about
chapters (21)
- 0:00Start
- 4:38Templates
- 6:57Simply Nim
- 14:23Comparison with others
- 16:42Nim compilation model
- 19:34Nim procs to C/C++
- 20:28Nim types to C/C++
- 21:04Nim closures to C/C++ (resumable funcs)
- 23:50Interfacing with C/C++
- 26:12Runtime compilation for C/C++: HOW
- 28:20Hot code-reloading (HCR) in Nim
- 30:25Effects of HCR
- 33:16Initialization
- 41:18Reloading global scope
- 44:51Encountered problems
- 46:22Visual Studio debug symbols - PDB drama
- 46:59Visual Studio debug symbols PDB drama
- 47:58HCR performance
- 53:22HCR Implementation choice
- 54:31REPL - Read Eval Print Loop
- 58:01The road ahead for Nim
related talks
33mMove Semantics for Nim
30mAn Incremental Approach to JIT Construction
46mWhat FP Can Learn From Static Introspection
01h 04mJust-in-Time Compilation: The Next Big Thing?
44mRethinking compilers with live coding
19mReusing Just-in-Time Compiled Code
26mAn Analysis of Compiled Code Reusability in Dynamic Compilation
43mPolyglot Native: Java, Scala, Kotlin, and JVM languages
