From: "Pete" <tyrone@nowhere.org>
Subject: Re: C vs. Ada - strings
Date: 2000/06/03
Date: 2000-06-03T00:00:00+00:00 [thread overview]
Message-ID: <GW8_4.8869$kf5.45098@typhoon.nyroc.rr.com> (raw)
In-Reply-To: 3924B730.AFB52C1C@acenet.com.au
I see your point. But suppose in Java, I have
Srting ar[] = new String[] { "have", "a", "good", "day" };
// assume some processing.
ar[2] = "junk";
I think the Ada way to do this would be much more complicated. I may be
wrong, can this be done so simply in Ada *without having to create new
types, or making function calls*? If so, I am interested in seeing how to do
this.
- pete
"Geoff Bull" <gbull@acenet.com.au> wrote in message
news:3924B730.AFB52C1C@acenet.com.au...
> Pete wrote:
> > java strings are much better.
> Only some aspects are better, many are much worse!
> E.g., they're horribly slow, especially if you need to change them -
> since they're immutable you have to create a new one.
> (Being immutable allows getting substrings to be fast, among other
> things).
> A StringBuffer only partially solves this problem.
next prev parent reply other threads:[~2000-06-03 0:00 UTC|newest]
Thread overview: 74+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-02 0:00 C vs. Ada - strings Wes Groleau
2000-05-02 0:00 ` Larry Kilgallen
2000-05-02 0:00 ` Robert A Duff
2000-05-03 0:00 ` Tarjei T. Jensen
2000-05-03 0:00 ` Charles Hixson
2000-05-04 0:00 ` Robert Dewar
2000-05-04 0:00 ` Charles Hixson
2000-05-06 0:00 ` Tarjei Tj�stheim Jensen
2000-05-03 0:00 ` Wes Groleau
2000-05-03 0:00 ` Tarjei Tj�stheim Jensen
2000-05-03 0:00 ` Ted Dennison
2000-05-04 0:00 ` Robert Dewar
2000-05-04 0:00 ` Hyman Rosen
2000-05-04 0:00 ` Jon S Anthony
2000-05-04 0:00 ` Robert Dewar
2000-05-04 0:00 ` Robert A Duff
2000-05-04 0:00 ` Robert Dewar
2000-05-05 0:00 ` Florian Weimer
2000-05-05 0:00 ` Pascal Obry
2000-05-05 0:00 ` Hyman Rosen
2000-05-06 0:00 ` Tarjei Tj�stheim Jensen
2000-05-06 0:00 ` Florian Weimer
2000-05-07 0:00 ` Robert Dewar
2000-05-09 0:00 ` Florian Weimer
2000-05-02 0:00 ` Ted Dennison
2000-05-03 0:00 ` Pascal Obry
2000-05-03 0:00 ` Keith Thompson
2000-05-04 0:00 ` Wes Groleau
2000-05-18 0:00 ` Pete
2000-05-18 0:00 ` dale
2000-05-18 0:00 ` Robert A Duff
2000-05-19 0:00 ` dale
2000-05-21 0:00 ` Robert Dewar
2000-05-22 0:00 ` Robert A Duff
2000-05-22 0:00 ` Keith Thompson
2000-05-24 0:00 ` 'img Peter Hermann
2000-05-24 0:00 ` 'img Robert Dewar
2000-05-24 0:00 ` 'img Ted Dennison
2000-05-25 0:00 ` 'img Peter Hermann
2000-05-25 0:00 ` 'img Keith Thompson
2000-05-25 0:00 ` 'img Ted Dennison
2000-05-26 0:00 ` 'img dmitry
2000-05-26 0:00 ` 'img Robert Dewar
2000-05-26 0:00 ` 'img Brian Rogoff
2000-05-26 0:00 ` 'img Robert Dewar
2000-05-25 0:00 ` 'img Robert Dewar
2000-05-19 0:00 ` C vs. Ada - strings Geoff Bull
2000-05-19 0:00 ` mike
2000-05-21 0:00 ` Robert Dewar
2000-06-03 0:00 ` Pete [this message]
2000-06-03 0:00 ` Java vs. Ada - strings (was: C vs. Ada - strings) Ted Dennison
2000-06-04 0:00 ` Robert I. Eachus
2000-06-04 0:00 ` Pete
2000-06-04 0:00 ` Jean-Pierre Rosen
2000-06-04 0:00 ` Pete
2000-06-05 0:00 ` Jean-Pierre Rosen
2000-06-05 0:00 ` Ted Dennison
2000-06-05 0:00 ` Marin D. Condic
2000-06-05 0:00 ` David Botton
2000-06-05 0:00 ` Marin D. Condic
2000-06-06 0:00 ` Robert A Duff
2000-06-06 0:00 ` Ken Garlington
2000-06-06 0:00 ` Marin D. Condic
2000-06-03 0:00 ` C vs. Ada - strings Ken Garlington
2000-06-03 0:00 ` Ted Dennison
2000-06-04 0:00 ` Ken Garlington
2000-06-04 0:00 ` Dale Stanbrough
2000-05-03 0:00 ` Wes Groleau
2000-05-03 0:00 ` Ted Dennison
2000-05-04 0:00 ` Ole-Hjalmar Kristensen
2000-05-04 0:00 ` Gautier
2000-05-05 0:00 ` Florian Weimer
2000-05-05 0:00 ` Ted Dennison
2000-05-05 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox