3 ms·
systemd is good, but I think it came too soon. A lot of the comments here are about memory safe languages are spot on. systemd was written with two major assump
by AaronFriel 7y ago
systemd is good, but I think it came too soon. A lot of the comments here are about memory safe languages are spot on. systemd was written with two major assumptions in mind:
1. Linux system complexity has exploded and needs a top-to-bottom rewrite
2. It's safe to do such a rewrite in C
Since the systemd project, I'd say #1 has been largely affirmed. I like the result of systemd because it provides uniform tooling around complex Linux systems.
I'd also say the tide has shifted against #2 in a big way, there's much greater skepticism that anyone on this planet (short of djb or a few others) can write safe C, let alone safe C with concurrency and side effects.
This is really unfortunate, because it probably means the solution is to rewrite systemd in a memory safe language, and that's a huge undertaking.
- cesarb 7y ago> it probably means the solution is to rewrite systemd in a memory safe language, and that's a huge undertaking. At least with Rust, the rewrite could be done piecemeal, since Rust can easily interoperate with C (as long as you don't abuse C macros).