bonobo-lang / bonobo

Strongly-typed, safe, opinionated systems language that compiles to C.
https://bonobo-lang.github.io
Apache License 2.0
14 stars 1 forks source link

Enable hot reloading in VM #84

Open thosakwe opened 6 years ago

thosakwe commented 6 years ago

This in theory wouldn't be impossible.

  1. Watch for changes.
  2. On changes, invalidate every compiled function in the VM (just clear the vector)
  3. The functions will automatically be recompiled when the time comes