Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2000:
[Freeciv-Dev] Re: OO model for Freeciv?

[Freeciv-Dev] Re: OO model for Freeciv?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Freeciv Development Mailing List" <freeciv-dev@xxxxxxxxxxx>, "Dan Gohman" <gohmandj@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: OO model for Freeciv?
From: "Sam BC" <sambc@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 30 Apr 2000 20:06:01 +0100
Reply-to: <sambc@xxxxxxxxxxxxxxxxxxx>

Would the maintianers of Freeciv object to either

1) A CVS branch on their server for a WIP C++ implementation
2) A project being started elsewhere (eg Sourceforge) to do the same

With sufficient people (like 4-6) and a methodical approach, it would not be
too difficult to keep up with changes, as long as each time something new
appears it is examined, OO analysis made, and necessary classes and/or
methods & properties determined, in short order.

Maybe we could get started?


> -----Original Message-----
> From: freeciv-dev-bounce@xxxxxxxxxxx
> [mailto:freeciv-dev-bounce@xxxxxxxxxxx]On Behalf Of Dan Gohman
> Sent: 30 April 2000 19:52
> To: freeciv-dev@xxxxxxxxxxx
> Subject: [Freeciv-Dev] Re: OO model for Freeciv?
> On Sun, Apr 30, 2000 at 07:35:12PM +0100, Sam BC wrote:
> > > -----Original Message-----
> > > From: Lalo [mailto:lalo@xxxxxxxxxx]On Behalf Of Lalo Martins
> > >
> > > If there was, even remotely, the chance that Freeciv could be
> > > upgraded to C++, it could be done by a separate group of madmen
> > > in a branch, and when ready, tested for performance. I for one
> > > wouldn't mind working on such a project and then throwing all
> > > my work in the trashcan if it doesn't turn out better than the
> > > C version.
> >
> > I'm no genius, but I'd work on such a project as well.
> Translating from C to
> > C++ rewriting code to be essentially the same algorithmically
> but with a C++
> > implementation should not be too hard work for a small group of people
> > familiar with both languages...
> Indeed it is not difficult. The hard part I'm finding is keeping the two
> versions in sync. I first started playing with this a while ago,
> and it was
> going well, but then the fog-of-war patch got integrated to cvs around
> the same time as I was unable to work on freeciv for about two weeks.
> I had made enough changes such that I had to merge everything into my C++
> version by hand (looking at the diff and then editing files manually). A
> very long task this is.
> --
> Dan Gohman
> gohmandj@xxxxxxxxxxx

[Prev in Thread] Current Thread [Next in Thread]