3 ms·
I agree with an event driven supervisor daemon architecture, and that shell scripts are inefficient. But writing everything in C in non-scriptable way may be a
by megous 7y ago
I agree with an event driven supervisor daemon architecture, and that shell scripts are inefficient.
But writing everything in C in non-scriptable way may be a bit of over-reaction to the old ways of having everything scripted in the least efficient way possible.
I also write my init systems in C (not for generic Linux distro, mostly for embedded HW/mobile use), but I'm planning to make it so that I have a program in C that offers some primitives and the core logic will be implemented using an embedded JS engine, so that it's scriptable and fixable without re-compilation.