3 ms·
Two-dimensional programming languages like Funges are a fruitful ground for live coding, but I was unsure how to achieve that until Ocra [1] appeared. Funge-98
by lifthrasiir 6y ago
Two-dimensional programming languages like Funges are a fruitful ground for live coding, but I was unsure how to achieve that until Ocra [1] appeared. Funge-98 does support threaded execution (via `t`), but its threading model is cooperative and thus requires meticulous synchronization for most uses of live coding. For example, you can "park" each instruction pointer to some position until the next beat, but you can't really control time to next note from there because it would be proportional to the number of instructions executed (and you need noticable delay to show the IP's movement).
Orca cleverly avoided this issue by making every instruction running simultaneously. If I understood correctly, NoiseFunge seems to found another solution out: it queues notes to play by the next beat and moves on. As I'm not really a live coding person I can't see this approach is easier than Orca or not though. Anyway, an interesting attempt indeed.
[1] https://100r.co/site/orca.html https://100r.co/site/orca.html