An operating system written in D would be really interesting.<div><br><div class="gmail_quote">On Thu, Oct 14, 2010 at 11:05 AM, Andrej Mitrovic <span dir="ltr">&lt;<a href="mailto:andrej.mitrovich@gmail.com">andrej.mitrovich@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On 10/6/10, Nick Sabalausky &lt;a@a.a&gt; wrote:<br>
&gt; &quot;sybrandy&quot; &lt;<a href="mailto:sybrandy@gmail.com">sybrandy@gmail.com</a>&gt; wrote in message<br>
&gt; news:i8g8oi$1hv6$1@digitalmars.com...<br>
&gt;&gt; Just asking out of curiosity.  With all the great language features, I&#39;m<br>
&gt;&gt; sure that many of you have thought about this.<br>
&gt;&gt;<br>
&gt;&gt; For me, I figured a good start would be your basic Unix/Linux/BSD<br>
&gt;&gt; utilities, like cat and grep.  I figure it may make the code easier to<br>
&gt;&gt; read and maintain as well as potentially improve the quality of the<br>
&gt;&gt; software.  Of course, most of these are so old they&#39;re probably quite bug<br>
&gt;&gt; free, but some probably could use a rewrite.  Some may even benefit for<br>
&gt;&gt; threading.<br>
&gt;&gt;<br>
&gt;<br>
&gt; Not that I would want to do it myself, but I&#39;d like to see LLMV and<br>
&gt; Scintilla moved to D.<br>
&gt;<br>
&gt; But really, just about anything in C/C++ that I might ever want to modify.<br>
&gt; If I never have to touch another line of C/C++ it&#39;ll be too soon.<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
FYI, there&#39;s a DFL Scintilla component you can use in D2, which is<br>
downloaded separately from DFL. I&#39;ve made a small update to it in the<br>
DFL forums although you would also need to add one more method in the<br>
scintilla class to get messages back from Scintilla itself (I&#39;ll  post<br>
an update to the DFL forums some time later for that).<br>
<br>
So basically the DFL component loads the scintilla DLL, and you can<br>
use message passing or optionally get a function pointer for direct<br>
access. It&#39;s really easy to use the editor from D in this way. In<br>
fact, you can port *Scite* source code to a D equivalent that uses the<br>
Scintilla DLL with ease. It only took me a minute to port the<br>
automatic indentation functionality from Scite to a fresh project that<br>
uses the DFLs Scintilla class.<br>
<br>
I wouldn&#39;t know if there are any bottlenecks in the Scintilla<br>
codebase, so I can&#39;t judge if it&#39;s worth porting to D. But it already<br>
works and you can use it from D already, so why go through all the<br>
trouble of rewriting it? :-)<br>
</blockquote></div><br></div>