Corbin Simpson wrote:
> Ian Romanick wrote:
>> Other than keithp (I know your opinion), does anyone have any strong
>> opinions for or against using C++ in the GLSL compiler?
> 
> 
> I have a strong opinion against strong opinions against using C++. :3
> 
> Seriously, C++ is a very powerful language when it comes to offering
> certain kinds of object manipulation while still having most of the
> low-level constructs we need in C to do what we're doing. Additionally,
> LLVM is much simpler to interface with in C++ due to more powerful bindings.
> 
> The big problem, in my mind, is that people start to use things like
> RTTI and exceptions instead of properly figuring out what their code
> should actually look like and reading the STL docs, and then somebody
> suggests linking to Boost, and then we're all off to hell in a bloody
> handbasket woven with good intentions and auto_ptrs.
> 
> So, if we can keep it simple, clean, and direct, I have no problem with
> C++. (FWIW)

My sentiment exactly.  Let's restrict C++ use to where it's really 
needed and keep it simple.

-Brian

------------------------------------------------------------------------------
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to