3 ms·
> BSD is a kernel specifically focused, iiuc, on being as secure and straightforward as possible. No it is not, or at least it doesn't use any modern tools or
by astrange 2y ago
> BSD is a kernel specifically focused, iiuc, on being as secure and straightforward as possible.
No it is not, or at least it doesn't use any modern tools or make a serious attempt to do so. It's a family of OSes written by the kind of people who think if you grow a beard and stare very hard at your C code it will become secure and bug free.
It does change slowly, which is a good technique for avoiding introducing bugs, but it's barely heard of techniques like regression testing.
The secure one in particular has a lot of mitigations that especially feel like they just dreamed up what they think a security mitigation is, instead of engaging with research.
- salawat 2y ago>It's a family of OSes written by the kind of people who think if you grow a beard and stare very hard at your C code it will become secure and bug free. Staring hard at a set of C primitives and learning the way the primitives actually utilize modern hardware and compose is a fundamental part of computing. Part of programming is not just writing your code in the sense of what it does, but also knowing what it doesn't. All computation is at the bottom deterministic. We've just piled on so much abstraction (if not in high-level languages then in shit like uCode) that most practitioners will just tell you to embrace the madness of unbounded abstraction. You don't have to follow their advice. Tighter code is yours for the taking. Learn your hardware. The price though tends to be portability. Also, compiler writers are completely deranged, and known for completely turning shit on it's head. Read your language spec, embrace your debugger, and go with God.
- astrange 2y ago> The price though tends to be portability. The BSDs are all designed to be portable tho.