This is just a short information to explain how live coding works in lubyk:

The editor uses WebDAV to change scripts
When we start a lubyk project, we first launch the “Morph server” with the path to the project’s assets as argument. This server does four important tasks:
The WebDAV server (entirely written in Lua) provides network drives which can be mounted on virtually any machine. Once these shares are mounted, when we save changes in the script files or yaml based patch definitions, the content is sent to the Morph server through HTTP by the operating system and Morph forwards the changes to the running processes by using ZeroMQ.
Concretely, this means that:
Cheers !
Funding from the Swiss Federal Office of Culture to write the graphical frontend to rubyk !
Moving from a global mutex to a global select/poll loop.
comments