Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2000:
[Freeciv-Dev] Re: #define $#@$%! template
Home

[Freeciv-Dev] Re: #define $#@$%! template

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Dan Gohman <gohmandj@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: #define $#@$%! template
From: Tomasz Wegrzanowski <maniek@xxxxxxxx>
Date: Thu, 27 Apr 2000 01:00:29 +0200

On Wed, Apr 26, 2000 at 01:08:34PM -0500, Dan Gohman wrote:
> What would people think about writing freeciv in c++?
> 
> Ways in which freeciv would benifit:
> 
> - Language support for objects (unit, city, player, etc.)
> - STL collections to replace the speclist stuff and the hashing code
> - real iterators instead of big cpp macros.
> 
> I've done a little bit of hacking on this on my local tree, and I think
> this could be a worthwhile thing. IMO the code looks a lot cleaner.
> 
> I'm open to discussion.

And cons are :
- less people know c++ that c
- c++ compiles much slower
- c++ compiler makes worse code

Is there any TODO item that would be much easier if switched c -> c++ ???



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