[openbeos] Re: static libs for drivers
- From: "Bruno G. Albuquerque" <bga@xxxxxxxxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Mon, 19 May 2003 11:59:23 -0300 (BRT)
On Mon, 19 May 2003, Bruno van Dooren wrote:
> > We need a library that has everything for C++ kernel programming in it.
>
> personally, i think that kernel programming should be done in C:
> -C compilers are a lot simpler, and thus will contain fewer bugs.
Hmmmm... I don't think there are that many strict C compilers around
anymore. GCC, for instance is a C/C++ compiler. This seems to be a moot
point. :)
> -C++ exceptions in a kernel are probably not nice.
They can't be used at all. Nor anything that would require a C+ runtime.
> -C++ contains overhead compared to C. while it is easier to think of
> things as obkects, this also adds overhead, especially if you are going to
> use virtual functions.
I recommend you take a look at the OpenBFS code that is in our CVS
repository. So far it is smaller, faster (or at least as fast) and, due to
its C++ nature, easier to maintain than the original BFS (that was written
in C). Granted it is not 100% complete yet (some missing details and know
bugs), but what is missing won't add much overhead to it in any sense.
-Bruno
- Follow-Ups:
- [openbeos] Re: static libs for drivers
- From: Ingo Weinhold
- References:
- [openbeos] Re: static libs for drivers
- From: Bruno van Dooren
Other related posts:
- » [openbeos] static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- » [openbeos] Re: static libs for drivers
- [openbeos] Re: static libs for drivers
- From: Ingo Weinhold
- [openbeos] Re: static libs for drivers
- From: Bruno van Dooren