[Bf-committers] Object Oriented Render API

Vladimír Marek vlmarek at volny.cz
Thu Jun 21 12:08:41 CEST 2007


> > And with the second way you can implement virtuals and inheritance
> > (to some extend; at least single inheritance should be not so hard).
> > But that's when things get messy. Why not use C++?
> 
> I should have mentioned this in my initial email:
> 
> C++ was discussed and rejected on the grounds that the Render API is
> very central to blender (which is written all in C) and most of the
> people maintaining the code are C programmers primarily. There may
> have been other reasons that I've forgotten, but the decision was made
> already to go with C.

C++ ABI is not compatible between two compilers and even two versions of
the same compiler. You would have to compile your plugin with the same
compiler as official blender release is built with.

-- 
	Vlad


More information about the Bf-committers mailing list