Re: C is too old? opinions?



"W Marsh" <wayne.marsh@xxxxxxxxx> wrote in message
news:d46db2hljjuhmou8ok88duapa8el1arvet@xxxxxxxxxx
On Thu, 13 Jul 2006 11:53:06 -0700, "Dann Corbit" <dcorbit@xxxxxxxxx>
wrote:

"W Marsh" <wayne.marsh@xxxxxxxxx> wrote in message
news:oc5db2d2fqj4jkht7ihl2pr45javrb8ee5@xxxxxxxxxx
On Thu, 13 Jul 2006 11:45:02 -0700, "Dann Corbit" <dcorbit@xxxxxxxxx>
wrote:

Languages do not age the way that people think they do.
COBOL and BASIC are alive and well.
C will never go away.
For writing simple filter programs, it is a very good alterative.
Languages like C# and Java have to go garbage collection and hence are
unsuitable for real-time stuff.
Can you imagine .NET installed on a toaster IC to pop your toast up in
the
morning? I can't.


Java is used extensively on embedded devices. You're making yourself
look a bit silly, there.

How does your response relate to my post?

Is Java used for real-time systems (if so, they should fire the product
implementors for incompetence).

Does Java require .NET?

I think you have a reading comprehension problem.


You were lumping Java and .NET together, suggesting that they were
inadequate in real-time systems for the same reason.

I was lumping them together for real time systems. Your connection was
faulty and not implied in my message.

I assumed you
must have been talking about embedded stuff as well because of your
vague reasoning and toaster example*. In other words, you seemed
confused. I made a logical leap as required.

The toaster example has nothing to do with real time systems. Your leap was
not logical.

Go on then - I would like to know how garbage collection affects
real-time systems. A good reason, showing thought and reason. In other
words, show us that you're not just full of ***.

I'm full of crap and you're a genius. I can tell immediately, and there is
no sense trying to talk to you about it.

Bear in mind that garbage collection shouldn't affect the behaviour of
a system, only its constraints.

It affects how long delays can be. That is important for real time systems.

* Exactly how precise do you think a toaster timer needs to be?

I have no idea. And it has nothing whatsoever to do with real-time
programming.

Another example of where C is an excellent choice is with DSPs and other
things of that nature. That is why you will find so many C compilers for
that arena.

If you want to write a toaster controller using embedded Java, that would be
fine


.