comp.lang.ada
 help / color / mirror / Atom feed
From: Charles Hixson <charleshixsn@earthlink.net>
Subject: Re: asynchronous task communication
Date: Thu, 03 Jan 2013 11:01:18 -0800
Date: 2013-01-03T11:01:18-08:00	[thread overview]
Message-ID: <a4GdnT35AcRxS3jNnZ2dnUVZ_uadnZ2d@earthlink.com> (raw)
In-Reply-To: <4u2fqbijm0ur.1pbknoccr8hqb.dlg@40tude.net>

On 01/03/2013 12:50 AM, Dmitry A. Kazakov wrote:
> On Wed, 02 Jan 2013 16:20:11 -0800, Charles Hixson wrote:
>
>> On 01/02/2013 12:35 PM, Dmitry A. Kazakov wrote:
>
>>> You make node a discriminated record type. Usually when a node is created
>>> it is already known how many children and/or parents it will have. E.g.
>
>> That's not true in this case.  The node adds references depending on the
>> data that it encounters.
>
> OK, that does not look like NN.
>
>> Even the "base layer", such as it is, isn't
>> allocated all at once, but only as appropriate stimuli arrive.
>
> That looks like a design choice. Why should it be this way? I mean, it is
> not a RT system, but anyway this kind of allocation policy would inflict
> heavy latencies at least initially. It may have sense only if you had a
> huge number of nodes of which only a minor part were actually involved in
> actual computations. Such loosely coupled systems are not very common.
Well, it's a design choice, but it's one driven by circumstance.  The 
number of possible input stimuli is exceedingly large.  Basically it's 
the set of space delimited strings of characters that it could 
encounter...that's not quite right, and the final decision of what the 
input will be is still being thought about, but that's about what it is. 
  I'm contemplating how to deal with non-ASCII chars, and with 
punctuation both internally and terminally, but almost all of the input 
is english text.  Even if I used unicode chars as the basic stimulus, 
though (more flexible, but LOTS more processing required) there would 
still be more possible inputs than I would want to pre-allocate, and 
most of them would never show up.  But some would.  There are occasional 
Greek, Hindi, and Chinese words or characters, though embedded in 
English text.  And I can't say that something I haven't thought of won't 
show up soon.  Musical notation, perhaps (if that can be done in unicode).
>
>>> By hands. I write docs manually. It is tedious, I admit. Consider it as an
>>> extra code review step, helps finding inconsistencies and gaps which
>>> otherwise slip through.
>> In my experience, code that's documented that way tends to have
>> documentation that's incomplete, out of date, or both.
>
> That depends. I consider documentation as an integral part of the process.
> I never release/update anything without documenting it first.
>
> Generated documentation is a chaotic collection of comments you once wrote
> around declarations. If you don't write/update them no tool could fix that.
>
There's more that one purpose for documentation.  What the documentation 
should be depends on who it's directed at.  I've written user manuals 
for programs (that I've written), and they don't mention ANY of the 
internals, but developer documentation NEEDS those comments, yet it 
needs to be compact enough that it doesn't take up too much screen 
space.  And library user documentation (which is what AdaBrowse can 
generate) is yet something else again.

For my current needs, developer documentation, it's looking as if 
NaturalDocs will fill the bill.



  reply	other threads:[~2013-01-03 19:01 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-31  0:16 asynchronous task communication Charles Hixson
2012-12-31  9:04 ` Simon Wright
2012-12-31 11:49   ` Simon Wright
2012-12-31 10:50 ` J-P. Rosen
2012-12-31 12:09 ` Georg Bauhaus
2012-12-31 18:52   ` Charles Hixson
2012-12-31 20:18     ` Shark8
2012-12-31 21:09     ` Niklas Holsti
2012-12-31 22:15       ` Randy Brukardt
2013-01-01  3:58         ` Charles Hixson
2013-01-01  4:48           ` tmoran
2013-01-01 17:59             ` Charles Hixson
2013-01-01  3:51       ` Charles Hixson
2013-01-01  9:59         ` Dmitry A. Kazakov
2013-01-01 10:38         ` Brian Drummond
2013-01-01 12:32         ` Jeffrey Carter
2013-01-01 18:21           ` Charles Hixson
2013-01-01 18:54             ` Robert A Duff
2013-01-02  7:36               ` Charles Hixson
2013-01-02  9:55                 ` Dmitry A. Kazakov
2013-01-02 19:02                   ` Charles Hixson
2013-01-02 20:35                     ` Dmitry A. Kazakov
2013-01-03  0:20                       ` Charles Hixson
2013-01-03  6:34                         ` Charles Hixson
2013-01-03  8:50                         ` Dmitry A. Kazakov
2013-01-03 19:01                           ` Charles Hixson [this message]
2013-01-03 10:01                         ` J-P. Rosen
2013-01-03 19:29                           ` Charles Hixson
2013-01-04  8:17                             ` J-P. Rosen
2013-01-05  4:31                               ` Charles Hixson
2013-01-09  8:34                                 ` Stephen Leake
2013-01-03 22:27                         ` Randy Brukardt
2013-01-05  5:18                           ` Charles Hixson
2013-01-05  8:48                             ` Niklas Holsti
2013-01-06 22:55                               ` Charles Hixson
2013-01-07  0:38                                 ` tmoran
2013-01-07  6:07                                 ` Shark8
2013-01-07 10:49                                 ` Brian Drummond
2013-01-07 18:27                                   ` Jeffrey Carter
2013-01-08 12:02                                     ` Brian Drummond
2013-01-08 17:12                                       ` Jeffrey Carter
2013-01-08 18:18                                         ` Simon Wright
2013-01-08 20:29                                           ` Dmitry A. Kazakov
2013-01-08 21:01                                           ` Jeffrey Carter
2013-01-08 21:14                                             ` Simon Wright
2013-01-08 22:11                                               ` Randy Brukardt
2013-01-08 22:52                                               ` Jeffrey Carter
2013-01-08 22:26                                         ` Brian Drummond
2013-01-08  2:41                             ` Randy Brukardt
2013-01-02 22:43         ` Niklas Holsti
2013-01-03  1:30           ` Charles Hixson
2013-01-03 12:11             ` Georg Bauhaus
2013-01-03 13:17               ` Dmitry A. Kazakov
2013-01-05 20:19               ` Charles Hixson
2013-01-07  4:01                 ` Shark8
2013-01-01 19:59     ` J-P. Rosen
replies disabled

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