<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2015-03-30 18:01 GMT+02:00 Columbus via Digitalmars-d <span dir="ltr"><<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Monday, 30 March 2015 at 15:39:07 UTC, Adam D. Ruppe wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Basically you can start with an empty runtime and then add back missing functions as needed to get it to compile.<br>
</blockquote>
<br></span>
What do you mean by "an empty runtime"?<br>
What does a runtime need?<br>
<br>
On Monday, 30 March 2015 at 15:42:46 UTC, weaselcat wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<a href="https://github.com/xomboverlord/xomb" target="_blank">https://github.com/<u></u>xomboverlord/xomb</a><br>
</blockquote>
<br>
Yes I know, but it is D1 and not D2.<br>
I do not exactly understand the differences, but I want to use D2<br>
because I don't know what would be better when I'd use D1.<br>
</blockquote></div><br></div><div class="gmail_extra">I would discourage learning a language by writting a kernel (unless you previously wrote a decent one). You'll run into issues that you won't be able to easily debug, and very few people will be able to help you. You might get away by doing that with much lower level language (C, ASM), but that's pretty much it. Even C++ has some hard to debug corner case when you go freestanding.<br><br>Note: It doesn't mean D is not suitable for such a task. But I tried it myself and run into more problems than I can remember. Some people came with interesting solutions: I found <a href="https://www.youtube.com/watch?v=o5m0m_ZG9e8">https://www.youtube.com/watch?v=o5m0m_ZG9e8</a> very interesting (and I think it blew everyone's mind at that time ;) ). Adam also had a talk at last year's DConf, and an ebook you can easily find. Note that *the* place to go for OSDev is <a href="http://osdev.org">osdev.org</a> which has some (sometimes outdated) D-related topics (and will give you exactly the same advice as me).</div></div>