4 ms·
Of course, there are some programs that are intended to run potentially forever, e.g. servers. Does Alan have some way to allow a non-terminating top level whil
by jejones3141 6y ago
Of course, there are some programs that are intended to run potentially forever, e.g. servers. Does Alan have some way to allow a non-terminating top level while constraining all the pieces underneath?
- deleted 6y ago[deleted]
- ISV_Damocles 6y agoYes, we didn't want to make this article too long or confusing, but we have a static, compile-time-defined event system[1] to allow for applications that wait for external inputs to start executing again. Each event handler is guaranteed to halt even if the application continues to run. [1]: https://alan-lang.org/alan_overview.html#a-static-event-system https://alan-lang.org/alan_overview.html#a-static-event-syst...