[Bf-committers] Status of C++

2010-11-15 Thread Leo Sutic
I've looked in a lot of places and Googled, but haven't found any answer: What is the status of C++ in Blender? Should I just take a hint from the fact that it is almost all written in C, or is that an artifact of it being 15 years old? I know that it isn't the easiest language out there, but std:

Re: [Bf-committers] Status of C++

2010-11-15 Thread Wolfgang Draxinger
Am Mon, 15 Nov 2010 21:49:20 +0100 schrieb Leo Sutic : > I know that it isn't the easiest language out there, but std::vector > is kinda nice, and basic single inheritance, too. I have no problem > with C, but that syntactic sugar of C++ is sweet in small doses. Please for all gods sake, please d

Re: [Bf-committers] Status of C++

2010-11-15 Thread Leo Sutic
I wasn't really asking for an opinion of C++, I was asking what the community had decided, if anything, in regards to use of the language. C++ is already in Blender (GHOST, Audaspace, etc.), so it's not like I have to try to push it in: It's already there. But I need to know just what the deal wit

Re: [Bf-committers] Status of C++

2010-11-15 Thread Diego B
On Mon, Nov 15, 2010 at 6:11 PM, Leo Sutic wrote: > I wasn't really asking for an opinion of C++, I was asking what the > community had decided, if anything, in regards to use of the language. > > C++ is already in Blender (GHOST, Audaspace, etc.), so it's not like I > have to try to push it in: I

Re: [Bf-committers] Status of C++

2010-11-15 Thread Wolfgang Draxinger
Am Mon, 15 Nov 2010 22:11:41 +0100 schrieb Leo Sutic : > I wasn't really asking for an opinion of C++, I was asking what the > community had decided, if anything, in regards to use of the language. Using C++ in the Blender Kernel would be very troublesome. For one thing C++ would ruin the whole D

Re: [Bf-committers] Status of C++

2010-11-17 Thread Ton Roosendaal
Hi, The convention is that all modules in Blender have a C API, but within a module a developer can choose whether to use C or C++. It's not very practical to mix C and C++ within sections, which is a reason why most of source/blender/ code still is C. A lot of libararies outside this dire

Re: [Bf-committers] Status of C++

2010-11-19 Thread raulf
I could not give you a precise answer but many Blender modules are completely written in C++, elbeem fluid simulator is one of them and besides C and C++ have bridges that makes hybrid code possible. I do agree with you that some tasks are easier to do in a completely Object Oriented environment r

Re: [Bf-committers] Status of C++

2010-11-25 Thread Leo Sutic
All, thanks for the advice. I have no problem following those recommendations. /LS ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers