Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Init systems and build systems are the same thing

Name: Anonymous 2015-02-28 11:52

Think about it a second.
That's right, with a couple of shell functions you could have a script that both starts up your OS and compiles your code. Just define your ultimate targets (start agetty, compile main.c), dependencies (mount drives, compile foo.c) how to resolve each target, and how to check whether each target is already resolved.
Higher-level programs can serve as a front-end and check circular dependencies ahead of time.

It's got to be a few dozen lines maximum. systemd and make can fuck off.

Name: Anonymous 2015-02-28 20:16

>>6
Who cares? It's still doing a thing. That's all software does. It doesn't even matter what it's written in. You don't get points for writing an init system in haskell.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List