I am not sure this is the same kind of thing.
In Redbean, you have a single executable that runs on any Operating System (that's right, the same executable file, this is enabled by CosmopolitanC) and that executable has a SQLite DB inside that can be used by the Lua code, which is also itself inside the executable file, and it can be modified at will and still run.
I think most people don't realize just how crazy this is. It's a lot more than LuaVM embedded in a "normal" C executable.
Comments
Actually its a core feature of the Lua VM as an applicable technology - Lua is literally embedded all over the place.
My favourite other example is turboLua:
https://turbo.readthedocs.io/
I am not sure this is the same kind of thing. In Redbean, you have a single executable that runs on any Operating System (that's right, the same executable file, this is enabled by CosmopolitanC) and that executable has a SQLite DB inside that can be used by the Lua code, which is also itself inside the executable file, and it can be modified at will and still run. I think most people don't realize just how crazy this is. It's a lot more than LuaVM embedded in a "normal" C executable.