Re: prevalence of C++ in embedded linux?

2008-07-28 Thread Chris
In my experience, > 50%, especially the larger projects such as set top boxes, printers, mobile devices... Chris. Robert P. J. Day wrote: just curious -- how many folks are working in C++ in their embedded linux work? rday --

Re: prevalence of C++ in embedded linux?

2008-07-28 Thread Jamie Lokier
Robert P. J. Day wrote: > just curious -- how many folks are working in C++ in their embedded > linux work? I'm avoiding it, because of reports of occasional elf2flt relocation errors when using C++ a few months ago, on this list. However, some of the libraries I'm using have some C++ in them,

Re: prevalence of C++ in embedded linux?

2008-07-28 Thread Domenico Andreoli
On Mon, Jul 28, 2008 at 11:43:17AM -0400, Robert P. J. Day wrote: > > just curious -- how many folks are working in C++ in their embedded > linux work? my app is mostly written in c++/boost. fat stuff on my not-so-embedded set-top-box, but if I had to rewrite it in plain C _I_ would get very fa

Re: prevalence of C++ in embedded linux?

2008-07-28 Thread Matthias Kaehlcke
El Mon, Jul 28, 2008 at 11:43:17AM -0400 Robert P. J. Day ha dit: > just curious -- how many folks are working in C++ in their embedded > linux work? i'm working on an embedded project in c++. until now the experience is positive (i have a large background with c++ in non-embedded project), pro

Re: prevalence of C++ in embedded linux?

2008-07-28 Thread Ben Nizette
On Mon, 2008-07-28 at 11:43 -0400, Robert P. J. Day wrote: > just curious -- how many folks are working in C++ in their embedded > linux work? I hang out on AVRFreaks - an AVR and AVR32 support forum - quite a bit. I personally think C++ is the language of the devil but I'd say that around 50% of

Re: prevalence of C++ in embedded linux?

2008-07-28 Thread Roberto A. Foglietta
2008/7/28 Ben Nizette <[EMAIL PROTECTED]>: > > On Mon, 2008-07-28 at 11:43 -0400, Robert P. J. Day wrote: >> just curious -- how many folks are working in C++ in their embedded >> linux work? > [cut] > Of course a largish number don't really need to write any code at all. > They just need to wir

Re: prevalence of C++ in embedded linux?

2008-07-29 Thread Marco Stornelli
Robert P. J. Day ha scritto: just curious -- how many folks are working in C++ in their embedded linux work? rday -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lect

Re: prevalence of C++ in embedded linux?

2008-07-29 Thread Alexander Neundorf
On Tuesday 29 July 2008 09:40:20 Marco Stornelli wrote: > Robert P. J. Day ha scritto: > > just curious -- how many folks are working in C++ in their embedded > > linux work? > > > > rday > > -- > > > > To unsubscribe from this list: send the line "unsubscribe linux-embedded" > > in the body of a

Re: prevalence of C++ in embedded linux?

2008-07-29 Thread Marco Stornelli
Bernd Petrovitsch ha scritto: On Tue, 2008-07-29 at 09:51 +0200, Alexander Neundorf wrote: On Tuesday 29 July 2008 09:40:20 Marco Stornelli wrote: Robert P. J. Day ha scritto: just curious -- how many folks are working in C++ in their embedded linux work? Not if it's in anyway avoidable.

Re: prevalence of C++ in embedded linux?

2008-07-29 Thread Bart Van Assche
On Tue, Jul 29, 2008 at 9:40 AM, Marco Stornelli <[EMAIL PROTECTED]> wrote: > Like Linus Torvals said "...C++ is an horrible language" :) Some C++ language features are indeed not very elegant from a language-theoretic standpoint. But that doesn't matter when writing embedded software -- what matt

Re: prevalence of C++ in embedded linux?

2008-07-29 Thread Alexander Neundorf
On Tuesday 29 July 2008 10:20:12 you wrote: > On Tue, 2008-07-29 at 09:51 +0200, Alexander Neundorf wrote: ... > Yes, one *can* use the above features and get small features. But most > people simply can't - if only that they use some tool/lib written in C++ > (and coming from the "normal" world) w

Re: prevalence of C++ in embedded linux?

2008-07-29 Thread Bernd Petrovitsch
On Tue, 2008-07-29 at 09:51 +0200, Alexander Neundorf wrote: > On Tuesday 29 July 2008 09:40:20 Marco Stornelli wrote: > > Robert P. J. Day ha scritto: > > > just curious -- how many folks are working in C++ in their embedded > > > linux work? Not if it's in anyway avoidable. [] > > Like Li

Re: prevalence of C++ in embedded linux?

2008-07-29 Thread Bernd Petrovitsch
On Tue, 2008-07-29 at 10:58 +0200, Alexander Neundorf wrote: > On Tuesday 29 July 2008 10:20:12 you wrote: > > On Tue, 2008-07-29 at 09:51 +0200, Alexander Neundorf wrote: > ... > > Yes, one *can* use the above features and get small features. But most > > people simply can't - if only that they us

Re: prevalence of C++ in embedded linux?

2008-07-29 Thread Richard Danter
2008/7/29 Bart Van Assche <[EMAIL PROTECTED]>: > On Tue, Jul 29, 2008 at 9:40 AM, Marco Stornelli > <[EMAIL PROTECTED]> wrote: >> Like Linus Torvals said "...C++ is an horrible language" :) > > Some C++ language features are indeed not very elegant from a > language-theoretic standpoint. But that d

RE: prevalence of C++ in embedded linux?

2008-07-29 Thread Leisner, Martin
..] marty > -Original Message- > From: [EMAIL PROTECTED] [mailto:linux-embedded- > [EMAIL PROTECTED] On Behalf Of Bernd Petrovitsch > Sent: Tuesday, July 29, 2008 5:47 AM > To: Alexander Neundorf > Cc: linux-embedded@vger.kernel.org > Subject: Re: prevalence

Re: prevalence of C++ in embedded linux?

2008-07-29 Thread Bart Van Assche
On Tue, Jul 29, 2008 at 10:08 PM, Leisner, Martin <[EMAIL PROTECTED]> wrote: > If you're embedded device has a window system, than a language like C++ > is fine...But... C++ is suited for much more than just windowing systems. A good example is the GOLD project, a linker for ELF files. GOLD is a r

Re: prevalence of C++ in embedded linux?

2008-07-30 Thread Jamie Lokier
Leisner, Martin wrote: > I've found you can understand spaghetti C code with some effort -- its > nearly impossible to understand spaghetti C++ code. Much professional > programming is "kitchen sink mentality" -- if there's a feature, use it. > > I find it interesting K&R is about 200 pages, Stro

Re: prevalence of C++ in embedded linux?

2008-07-30 Thread Jamie Lokier
Bart Van Assche wrote: > On Tue, Jul 29, 2008 at 10:08 PM, Leisner, Martin > <[EMAIL PROTECTED]> wrote: > > If you're embedded device has a window system, than a language like C++ > > is fine...But... > > C++ is suited for much more than just windowing systems. A good > example is the GOLD project

Re: prevalence of C++ in embedded linux?

2008-07-30 Thread Bart Van Assche
On Wed, Jul 30, 2008 at 12:25 PM, Jamie Lokier <[EMAIL PROTECTED]> wrote: > Bart Van Assche wrote: >> On Tue, Jul 29, 2008 at 10:08 PM, Leisner, Martin >> <[EMAIL PROTECTED]> wrote: >> > If you're embedded device has a window system, than a language like C++ >> > is fine...But... >> >> C++ is suite

Re: prevalence of C++ in embedded linux?

2008-07-30 Thread Haavard Skinnemoen
"Bart Van Assche" <[EMAIL PROTECTED]> wrote: > I looked through the gold sources a bit. I wish everything in the GNU > toolchain were written this way. It is very clean code, nicely > commented, and easy to follow. It shows pretty clearly, I think, the > ways in which C++ can be better than C when

Re: prevalence of C++ in embedded linux?

2008-07-30 Thread Jamie Lokier
Haavard Skinnemoen wrote: > "Bart Van Assche" <[EMAIL PROTECTED]> wrote: > > I looked through the gold sources a bit. I wish everything in the GNU > > toolchain were written this way. It is very clean code, nicely > > commented, and easy to follow. It shows pretty clearly, I think, the > > ways in

Re: prevalence of C++ in embedded linux?

2008-07-30 Thread Bernd Petrovitsch
On Wed, 2008-07-30 at 13:04 +0200, Bart Van Assche wrote: [...] > I don't know whether C++ is intrinsic to GOLD's linking superiority. > The reason I cited the GOLD project is because of the programming > style of the GOLD source code. A quote from > http://lwn.net/Articles/274859/, about the GOLD

Re: prevalence of C++ in embedded linux?

2008-07-30 Thread Haavard Skinnemoen
Jamie Lokier <[EMAIL PROTECTED]> wrote: > The GNU Binutils requirement was to target lots of different object > formats, and architectures, allow different ones to be interconverted > and linked together, and to run on lots of platforms. The Linux kernel also meets those requirements (the ones tha

Re: prevalence of C++ in embedded linux?

2008-07-30 Thread Jamie Lokier
Bernd Petrovitsch wrote: > If "GOLD" is as old and flexible (and portable?) as binutils, The author says it will only work with ELF, and he does not intend to add support for all the other things binutils does. > gcc and/or other huge software maintained to death, it is probably > similar complex

Re: prevalence of C++ in embedded linux?

2008-07-30 Thread Bernd Petrovitsch
On Wed, 2008-07-30 at 14:07 +0100, Jamie Lokier wrote: > Bernd Petrovitsch wrote: > > If "GOLD" is as old and flexible (and portable?) as binutils, > > The author says it will only work with ELF, and he does not > intend to add support for all the other things binutils does. Well, supporting 80%

Re: prevalence of C++ in embedded linux?

2008-08-01 Thread Ben Nizette
On Tue, 2008-07-29 at 07:47 +1000, Ben Nizette wrote: > On Mon, 2008-07-28 at 11:43 -0400, Robert P. J. Day wrote: > > just curious -- how many folks are working in C++ in their embedded > > linux work? > > I hang out on AVRFreaks - an AVR and AVR32 support forum - quite a bit. > I personally thi