4 ms·
For systems programming, I've learned a lot from reading the source for open solaris: http://src.opensolaris.org/source/ http://src.opensolaris.org/source/ And
by mmc 17y ago
For systems programming, I've learned a lot from reading the source for open solaris: http://src.opensolaris.org/source/ http://src.opensolaris.org/source/
And the LLVM compiler is far more understandable than gcc sources: http://llvm.org/viewvc/llvm-project/llvm/ http://llvm.org/viewvc/llvm-project/llvm/
- yan 17y agoI agree with this, and along the same thought, OpenBSD (or any BSDs really, but OpenBSD tends to favor simpler implementations) source is very clear and concise.
- davidw 17y agoMinix, not being as 'real world' as the BSD's or Linux, is even more readable, if you're just interested in a quick glance at how an OS works.
- judofyr 17y agoFrom Minix' site: MINIX 1 and 2 were intended as teaching tools; MINIX 3 adds the new goal of being usable as a serious system on resource-limited and embedded computers and for applications requiring high reliability. Is Minix 3 still readable, or do you recommend Minix 2?
- davidw 17y agoGood question. My experience was with Minix 2: I needed a floppy driver to weld on to eCos, and Minix's was by far the easiest to deal with. I haven't looked at Minix 3.
- mhansen 17y agoMinix3 has comments galore, but seems plagued by one/two letter variable names like 'c' and 'ip'