Re: [AD] Export AL_VECTOR |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2008-06-18, Ryan Dickie <goalieca@xxxxxxxxxx> wrote:
> On Wed, Jun 18, 2008 at 8:26 PM, Trent Gamblin <trent@xxxxxxxxxx> wrote:
> > On Wed, June 18, 2008 5:15 pm, Thomas Fjellstrom said:
> >> I would like to see AL_VECTOR be a public Allegro 5 api.
> >
> > I personally think that would be great. Any program I make uses
> > vectors and if I'm sticking to C then I wouldn't have to write my
> > own. Also I think in the case of the fshooks api it would make
> > things nicer.
> >
>
> I don't really care about AL_VECTOR because i code in c++. I would see
> no harm in releasing it publicly because it is a very stable
> interface. Normally internals functions are reserved for things that
> are hacks or liable to change between versions.
>
> On a side note, i wouldn't mind seeing a bit of c++ used internally if
> it means less lines of boring common code to write and maintain. Using
> std::vector wouldn't cost us anything.
An early version of Allegro 5 was written in C++. It starts with "a
little bit of C++" ... before long you're in a C++ hell hole. It
doesn't work.
If Vala was more mature I'd almost advocate switching to that ;-)
Peter