[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can grub2 support c++ module?

From: Yoshinori K. Okuji
Subject: Re: Can grub2 support c++ module?
Date: Wed, 18 Jun 2008 19:56:37 +0200
User-agent: KMail/1.9.9

On Wednesday 18 June 2008 06:09:10 Pavel Roskin wrote:
> On Wed, 2008-06-18 at 10:22 +0800, y.volta wrote:
> > Hi,
> >
> >     I just wondering, can grub2 support module coded with c++? Let's
> > suppose we are trying to apply the fancy menu. ;-)
> I think it can be done, but you'll need to disable exception handling
> and RTTI.  You won't be able to use any C++ libraries.  The build system
> will need to be changed to call C++ compiler when needed.
> Still, I think it would be an overkill.  C is quite good for large
> projects if used properly.  Linux is fine with C.  C also has checkers
> such as sparse, but I'm not aware of C++ equivalents.

When Vesa tried C++, the binary size got bloated, so it was abandoned. I am 
afraid that C++ adds too much overhead.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]