<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>Manishearth</author><text>Btw, if anyone is interested in learning how to write an OS, and interested in Rust, check out &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;intermezzos.github.io&amp;#x2F;&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;intermezzos.github.io&amp;#x2F;&lt;/a&gt;. It&amp;#x27;s a &amp;quot;learning OS&amp;quot; in Rust, with a companion book. Incomplete, but a good start.</text><parent_chain><item><author>teamhappy</author><text>Operating systems aren&amp;#x27;t that big, and if you know your stuff, I&amp;#x27;m sure it&amp;#x27;s not too hard to pull off. Here&amp;#x27;s an example I borrowed from StackExchange:&lt;p&gt;According to cloc run against 3.13, Linux is about 12 million lines of code. 7 million LOC in drivers&amp;#x2F;, 2 million LOC in arch&amp;#x2F;, and only 139 thousand LOC in kernel&amp;#x2F;. (&lt;a href=&quot;http:&amp;#x2F;&amp;#x2F;unix.stackexchange.com&amp;#x2F;a&amp;#x2F;223753&quot; rel=&quot;nofollow&quot;&gt;http:&amp;#x2F;&amp;#x2F;unix.stackexchange.com&amp;#x2F;a&amp;#x2F;223753&lt;/a&gt;)&lt;p&gt;Edit: Would be nice to have the numbers for the latest Minix release for comparison. Does anybody know how big their core team is? (The kernel is something like 15k LOC IIRC.)</text></item><item><author>qz_</author><text>I&amp;#x27;m pretty impressed that 37 people are capable of writing an entire OS with a gui in under a year. Looks really cool.</text></item></parent_chain></comment><story><title>Redox – A Unix-Like Operating System Written in Rust</title><url>http://www.redox-os.org/</url></story>
<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>iagooar</author><text>Warning: I have no idea about systems programming.&lt;p&gt;I understand that the amount of lines of driver code comes from the variety of devices. But still, it looks completely unbalanced, when compared to the kernel code itself. So I have some questions here:&lt;p&gt;1) Shouldn&amp;#x27;t there be common interfaces &amp;#x2F; abstractions for most of the devices?
2) If they exist, could they be improved somehow?
3) A bit unrelated, but how fun &amp;#x2F; interesting is it to develop driver code?</text><parent_chain><item><author>teamhappy</author><text>Operating systems aren&amp;#x27;t that big, and if you know your stuff, I&amp;#x27;m sure it&amp;#x27;s not too hard to pull off. Here&amp;#x27;s an example I borrowed from StackExchange:&lt;p&gt;According to cloc run against 3.13, Linux is about 12 million lines of code. 7 million LOC in drivers&amp;#x2F;, 2 million LOC in arch&amp;#x2F;, and only 139 thousand LOC in kernel&amp;#x2F;. (&lt;a href=&quot;http:&amp;#x2F;&amp;#x2F;unix.stackexchange.com&amp;#x2F;a&amp;#x2F;223753&quot; rel=&quot;nofollow&quot;&gt;http:&amp;#x2F;&amp;#x2F;unix.stackexchange.com&amp;#x2F;a&amp;#x2F;223753&lt;/a&gt;)&lt;p&gt;Edit: Would be nice to have the numbers for the latest Minix release for comparison. Does anybody know how big their core team is? (The kernel is something like 15k LOC IIRC.)</text></item><item><author>qz_</author><text>I&amp;#x27;m pretty impressed that 37 people are capable of writing an entire OS with a gui in under a year. Looks really cool.</text></item></parent_chain></comment><story><title>Redox – A Unix-Like Operating System Written in Rust</title><url>http://www.redox-os.org/</url></story>