[x265] x265: Questions and comments from an outsider

Jean-Baptiste Kempf jb at videolan.org
Mon Sep 16 01:21:48 CEST 2013


On 12 Sep, Steve Borho wrote :
> Reimplementations of STL and Related Identity Crises
> > ----------------------------------------------------
> >
> > Why are you reimplementing STL classes like std::list? I could understand
> > if it was in C,
> > so as to aid in the promised future port to C, but it's being done in C++,
> > using new and
> > delete, etc. This makes no sense. There's no reason to do this other than
> > some misguided
> > Not In House syndrome or obsession with the resulting binary size. So, uh,
> > what?
> >
> 
> STL implementations between different compilers (even between different
> compiler versions) cause serious headaches because it is half-header and
> half-lib.  Since a lot of users will use x265 as a static library, it
> behooves us to avoid this pain.

Sorry, but which one is actually broken?

Moreover, if the basic is broken in the compiler, use a 3rd party
library to do the reimplementation (see projects like winpthread), why
bloat the codebase with stuff like that?

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the x265-devel mailing list