<story><title>Writing an OS in Rust: Advanced Paging</title><url>https://os.phil-opp.com/advanced-paging/</url></story><parent_chain><item><author>rurounijones</author><text>For someone who is completley not into OS programming but has heard a lot about safety and rust etc. etc.&lt;p&gt;Assuming the rust safety lives up to the type.&lt;p&gt;Is this (or any other project) likely to ever become a &amp;quot;real&amp;quot; useful os. What about including rust modules in the linux kernel? What are the barriers?</text></item></parent_chain><comment><author>jerf</author><text>Is someone likely to build a Rust OS that is real and useful? Yes. Projects are already in progress, and even if they all shut down, I&amp;#x27;m sure more will exist in the future.&lt;p&gt;Is that Rust OS going to experience &amp;quot;success&amp;quot; by traditional metrics, such as taking a significant chunk of Linux&amp;#x27;s marketshare away, and becoming a viable thing you can run on some real piece of hardware for some real purpose? I won&amp;#x27;t say &amp;quot;no&amp;quot; but it will be at least a decade before that will happen. Not because Rust is bad, or the resulting OS will be bad, but all the entrenched advantages existing OSes have are just staggeringly huge. If a perfect OS jewel of perfection appeared today, but with no other support for it (no software, drivers, applications that can only run on it, etc.) it would be a long, long time for it to get any traction.</text></comment>
<story><title>Writing an OS in Rust: Advanced Paging</title><url>https://os.phil-opp.com/advanced-paging/</url></story><parent_chain><item><author>rurounijones</author><text>For someone who is completley not into OS programming but has heard a lot about safety and rust etc. etc.&lt;p&gt;Assuming the rust safety lives up to the type.&lt;p&gt;Is this (or any other project) likely to ever become a &amp;quot;real&amp;quot; useful os. What about including rust modules in the linux kernel? What are the barriers?</text></item></parent_chain><comment><author>jcranmer</author><text>In OS programming, there is a strong bias towards favoring C as the only serious programming language. Rust is one of the few programming languages that has the potential to break through this barrier, especially because the ability to support bare-metal programming is one of its design goals.&lt;p&gt;But the key word there is &amp;quot;potential&amp;quot;--Rust, as it stands right now, is not ready to be used in production OSes. Features such as inline assembly or other developments for #[no_std] support need to be worked on and supported in non-nightly modes for any production OS to take notice, for example.</text></comment>