Re: Porting WIne to D

2010-06-24 Thread Marcus Meissner
On Thu, Jun 24, 2010 at 11:39:49AM -0700, James Mckenzie wrote: > Gert van den Berg wrote: > >Like the D website says: > >Who D is Not For > >* Realistically, nobody is going to convert million line C or C++ > >programs into D. Since D does not compile unmodified C/C++ source > >code, *D is no

Re: Porting WIne to D

2010-06-24 Thread James Mckenzie
Gert van den Berg wrote: >Like the D website says: >Who D is Not For >* Realistically, nobody is going to convert million line C or C++ >programs into D. Since D does not compile unmodified C/C++ source >code, *D is not for legacy apps*. (However, D supports legacy C API's >very well. D can co

Re: Porting WIne to D

2010-06-24 Thread Gert van den Berg
On Thu, Jun 24, 2010 at 10:55, Francois Gouget wrote: > OOP: > > A lot of the Windows API is exported through DLL entry points and these > are not object oriented. Where the Windows API is object oriented is: OOP in C is not impossible wither... It is harder than it could be, but it is possible...

Re: Porting WIne to D

2010-06-24 Thread Francois Gouget
On Wed, 23 Jun 2010, Christopher Selph wrote: > Hi everyone, new here. I have been fooling around with the idea of porting > WIne to the D programming language. What do you think would be the chances > of sucess? D has the speed of C, but is a garbage collected language and > OOP. Garbage collect

Re: Porting WIne to D

2010-06-23 Thread Ben Klein
Please bottom-post on wine-devel. On 24 June 2010 09:26, Christopher Selph wrote: > 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. Given that there is (by definition)

Re: Porting WIne to D

2010-06-23 Thread Christopher Selph
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. On Wed, Jun 23, 2010 at 4:17 PM, Gert van den Berg wrote: > On Wed, Jun 23, 2010 at 22:58, Christopher Selph > wrote: > >>P

Re: Porting WIne to D

2010-06-23 Thread Gert van den Berg
On Wed, Jun 23, 2010 at 22:58, Christopher Selph wrote: >>Porting a codebase the size >> >> >of Wine will probably take years... >> >> Actually I'm working on a program to convert C code to D code. You can >> find/replace most instances of code, like unsigned int (C) with uint (D). >> The import/i

Re: Porting WIne to D

2010-06-23 Thread Christopher Selph
>Porting a codebase the size > >of Wine will probably take years... > > Actually I'm working on a program to convert C code to D code. You can > find/replace most instances of code, like unsigned int (C) with uint (D). > The import/include files might take some work though. > > > On Wed, Jun 23, 2

Re: Porting WIne to D

2010-06-23 Thread Gert van den Berg
On Wed, Jun 23, 2010 at 20:48, Stephen Eilert wrote: > On Wed, Jun 23, 2010 at 3:06 PM, Christopher Selph wrote: >> Well, being a garbage collected language, it would help with the memory >> leaks in Wine. Being OOP it could extend the design of the code to make it >> cleaner and reusable. > > Th

Re: Porting WIne to D

2010-06-23 Thread Stephen Eilert
On Wed, Jun 23, 2010 at 3:06 PM, Christopher Selph wrote: > Well, being a garbage collected language, it would help with the memory > leaks in Wine. Being OOP it could extend the design of the code to make it > cleaner and reusable. The assertions above are opinions, not facts. Also, it requires

Re: Porting WIne to D

2010-06-23 Thread ニール・ゴンパ
On Wed, Jun 23, 2010 at 11:59 AM, Stephen Eilert wrote: > On Wed, Jun 23, 2010 at 1:38 PM, Christopher Selph > wrote: > > of sucess? D has the speed of C, but is a garbage collected language and > > OOP. > > And that would help how, exactly? > > > --Stephen > > Sent from my Emacs > > > Frankly,

Re: Porting WIne to D

2010-06-23 Thread Stephen Eilert
On Wed, Jun 23, 2010 at 1:38 PM, Christopher Selph wrote: > of sucess? D has the speed of C, but is a garbage collected language and > OOP. And that would help how, exactly? --Stephen Sent from my Emacs

Porting WIne to D

2010-06-23 Thread Christopher Selph
Hi everyone, new here. I have been fooling around with the idea of porting WIne to the D programming language. What do you think would be the chances of sucess? D has the speed of C, but is a garbage collected language and OOP. D: http://www.digitalmars.com/d Chris