comp.lang.ada
 help / color / mirror / Atom feed
From: Lutz Donnerhacke <lutz@iks-jena.de>
Subject: Re: [Spark] Arrays of Strings
Date: Mon, 14 Apr 2003 08:05:27 +0000 (UTC)
Date: 2003-04-14T08:05:27+00:00	[thread overview]
Message-ID: <slrnb9kqu6.or.lutz@taranis.iks-jena.de> (raw)
In-Reply-To: BR6ma.8343$Gb1.2080@nwrdny01.gnilink.net

* Hyman Rosen wrote:
> Whether or not it's reasonable to program in a language without pointers
> is another matter, but I guess if people are happy, more power to them.
> I suspect that a lot of Spark code may wind up using arrays and indexes,
> just like Fortran.

In order to clarify this and finish my part in this discussion, I prefer the
Spark way of programming for two reasons. First I learned, that the failing
proofs point me directly to logical errors in my program, which are
otherwise hard to find, because I can't trigger them (but my users will). So
developing programs with those constraints results in much more stable
programs for me. Second the prohibition of dynamic storage (including
recursion) urges me to look for more efficient algorithms with bounded space
constraints. Due to the fact I'm playing with embedded (or long life)
systems, my code written is Spark is better adopted to my problems than Ada
code.

Of course, there are several points, I'd like to change. Especially user
constraint types (in order to represent dependent types as a single one)
would be fine.

But back to the topic: Rod's idea is right, but does not go far enough. It
requires a dynamically allocated array of pointers or an error message from
the syscall wrapper. Therefore I seperated this part further and use a user
provided space for this purpose.



  reply	other threads:[~2003-04-14  8:05 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-08 12:02 [Spark] Arrays of Strings Lutz Donnerhacke
2003-04-08 18:08 ` Martin Krischik
2003-04-09  9:23   ` Lutz Donnerhacke
2003-04-09 12:38     ` Hyman Rosen
2003-04-09 12:47       ` Vinzent Hoefler
2003-04-09 14:27         ` Hyman Rosen
2003-04-09 15:13           ` Vinzent Hoefler
2003-04-09 17:21         ` Hyman Rosen
2003-04-09 18:41           ` Vinzent Hoefler
2003-04-09 21:04           ` Randy Brukardt
2003-04-10 23:21           ` John R. Strohm
2003-04-11 12:19             ` Hyman Rosen
2003-04-11 13:14               ` John R. Strohm
2003-04-09  7:50 ` Eric G. Miller
2003-04-09  8:10   ` Lutz Donnerhacke
2003-04-09 18:23   ` Matthew Heaney
2003-04-09 17:42 ` Matthew Heaney
2003-04-09 21:06   ` Randy Brukardt
2003-04-10  8:23   ` Lutz Donnerhacke
2003-04-10 14:09     ` Matthew Heaney
2003-04-10 14:48       ` Hyman Rosen
2003-04-11  6:20         ` Chad R. Meiners
2003-04-11 12:31           ` Hyman Rosen
2003-04-11 18:27             ` Chad R. Meiners
2003-04-11  7:35         ` Phil Thornley
2003-04-11 12:05           ` Marin David Condic
2003-04-11 13:19             ` John R. Strohm
2003-04-12 23:09               ` Robert A Duff
2003-04-11 18:47             ` Chad R. Meiners
2003-04-12 23:51         ` Robert A Duff
2003-04-13  5:47           ` Hyman Rosen
2003-04-14  8:05             ` Lutz Donnerhacke [this message]
2003-04-10 15:02       ` Lutz Donnerhacke
2003-04-10 15:50         ` Hyman Rosen
2003-04-10 18:32           ` Randy Brukardt
2003-04-11  6:28         ` Chad R. Meiners
2003-04-11  8:11           ` Lutz Donnerhacke
2003-04-11 12:32 ` Rod Chapman
2003-04-11 14:50   ` Peter Amey
2003-04-11 18:41   ` Matthew Heaney
2003-04-11 21:25     ` Chad R. Meiners
2003-04-12 10:08     ` Peter Amey
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox