I agreee  that just converting syntax would not be enough, but it would make OO design in D alot easier and faster. It an idea currently, I was just looking for some input.<br><br><div class="gmail_quote">On Wed, Jun 23, 2010 at 4:17 PM, Gert van den Berg <span dir="ltr">&lt;<a href="mailto:wine-devel@mohag.net">wine-devel@mohag.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Wed, Jun 23, 2010 at 22:58, Christopher Selph &lt;<a href="mailto:cds.wine@gmail.com">cds.wine@gmail.com</a>&gt; wrote:<br>

&gt;&gt;Porting a codebase the size<br>
&gt;&gt;<br>
&gt;&gt; &gt;of Wine will probably take years...<br>
&gt;&gt;<br>
&gt;&gt; Actually I&#39;m working on a program to convert C code to D code. You can<br>
&gt;&gt; find/replace most instances of code, like unsigned int (C) with uint (D).<br>
&gt;&gt; The import/include files might take some work though.<br>
<br>
</div>Just converting the syntax won&#39;t help much. It might compile, but it<br>
lacks the design changes (such as proper OO) needed to properly<br>
exploit a new language. You end up with code with the same problems as<br>
the original, but in a language that the programmers are unfamiliar<br>
with... (For C++, duplication of functionality in the STL is an<br>
example of what often happens if you directly port C code)<br>
<br>
Wine (like the Linux kernel) might be a good codebase to test your<br>
application on (for your own testing), since it is quite a large,<br>
complicated codebase... The chances of having it accepted into Wine is<br>
probably quite small... (My guess would be that your chances of being<br>
struck by lightning while winning the lottery are about equal...)<br>
<br>
<a href="http://www.winehq.org/site/docs/winedev-guide/style-notes" target="_blank">http://www.winehq.org/site/docs/winedev-guide/style-notes</a> might give<br>
you an idea of some of the things relatively simple patches struggle<br>
with to get included...<br>
<font color="#888888"><br>
Gert<br>
</font></blockquote></div><br>