<div dir="ltr">I completely agree with Ron (Ron, don't say that I in some cases do not agree with you ;-] ).<div><br></div><div>My ad-hoc very rough estimations will be that you'll shrink around 30/40% of code, but introducing two (virtual) levels of abstraction with (about) three levels of inheritance for real classes will slow down boot time for at least 30%.</div><div><br></div><div>Not to mention effort to do this. Not even worth thinking... The rule of thumb is that system SW is written in low level languages (ASM, C).</div><div><br></div><div>Let us leave C++ to application guys. ;-)</div><div><br></div><div>Zoran</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 28, 2017 at 5:59 PM, ron minnich <span dir="ltr"><<a href="mailto:rminnich@gmail.com" target="_blank">rminnich@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><br><div class="gmail_quote"><span class=""><div dir="ltr">On Sat, Jan 28, 2017 at 6:14 AM Philipp Stanner <<a href="mailto:stanner@posteo.de" target="_blank">stanner@posteo.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Could coreboot (or parts of it) be written in C++?<br class="m_1503684814236173186gmail_msg"></blockquote><div><br></div></span><div>I hope not. </div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br class="m_1503684814236173186gmail_msg">
What would be the advantages and disadvantages?<br class="m_1503684814236173186gmail_msg"><br class="m_1503684814236173186gmail_msg"></blockquote><div><br></div><div><br></div></span><div>I can't think of a single one, and I see a lot of C++.</div><div><br></div><div>Note that there are parts of coreboot written in Ada. I don't like Ada that much, but it's a better language for safe software than C++.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>ron</div></font></span></div></div>
<br>--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a href="https://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://www.coreboot.org/<wbr>mailman/listinfo/coreboot</a><br></blockquote></div><br></div>