comp.lang.ada
 help / color / mirror / Atom feed
From: Maciej Sobczak <see.my.homepage@gmail.com>
Cc: mailbox@dmitry-kazakov.de
Subject: Re: Little people supporting Ada, possibly through AdaCore?
Date: Thu, 19 Jul 2012 05:42:19 -0700 (PDT)
Date: 2012-07-19T05:42:19-07:00	[thread overview]
Message-ID: <5a2aec17-208f-4a9c-9894-79808a52938c@googlegroups.com> (raw)
In-Reply-To: <1ovir4hqda4o6$.1h5jc67sxsnll$.dlg@40tude.net>

W dniu czwartek, 19 lipca 2012 10:23:41 UTC+2 użytkownik Dmitry A. Kazakov napisał:

> &gt;&gt; True. However a set of truly unordered elements cannot be implemented
> &gt;&gt; otherwise than on top of an ordered set.
> &gt; 
> &gt; Why?
> 
> I guess it is related to computability.

Why? I see no relation. Or, to put it in more concrete terms - I don't care about implementation details; the purpose of abstraction is to be independent from them. You might need something ordered (array? or even addressable memory?) at the very bottom, but that does not make the *concepts* related, it just exposes limitations of your current implementation platform.

> &gt; Membership test does not require any order.
> 
> You need to enumerate elements to be able to compute it.

No, you don't need to enumerate. If I remember correctly, the Pascal language provides sets as a language-level entity and membership test is commonly implemented as logical, bitwise operation. Now, you can argue that bitsets rely on some assumed ordering of implicitly assigned position numbers or whatever, but wait until I finish my hardware-based implementation of logical operations on bit-cubes. No ordering is required, it is just an artifact of our current, very limited hardware.

> In that case you would need to
> identify elements in the set in order to compare them with the testee. That
> again would require some order.

No. Just wait until I finish my organic neural network, where sets are just implemented as multiple neurons connected to the owner, all triggered with the same signal. The membership test is O(1) and has nothing to do with enumeration (and therefore nothing to do with ordering).

Don't define general concepts in terms of current limited implementations on some crappy hardware.

-- 
Maciej Sobczak * http://www.msobczak.com * http://www.inspirel.com



  reply	other threads:[~2012-07-26 15:35 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-04 13:26 Little people supporting Ada, possibly through AdaCore? Patrick
2012-05-04 14:36 ` Marc C
2012-07-16 15:47   ` Adrian Hoe
2012-07-16 18:13     ` Marc C
2012-07-17  1:58       ` Adrian Hoe
2012-07-17  6:00         ` Thomas Løcke
2012-07-17 13:47           ` Adrian Hoe
2012-07-17 15:06             ` Thomas Løcke
2012-07-18 13:33             ` Marc C
2012-07-18 17:14               ` Dmitry A. Kazakov
2012-07-18 17:49                 ` Simon Wright
2012-07-18 20:57                 ` Vasiliy Molostov
2012-07-19  8:08                   ` Dmitry A. Kazakov
2012-07-19 12:12                     ` Vasiliy Molostov
2012-07-19 13:22                       ` Georg Bauhaus
2012-07-21 17:01                         ` Vasiliy Molostov
2012-07-20  2:51                       ` Randy Brukardt
2012-07-21 17:04                         ` Vasiliy Molostov
2012-07-19  7:45                 ` Maciej Sobczak
2012-07-19  8:23                   ` Dmitry A. Kazakov
2012-07-19 12:42                     ` Maciej Sobczak [this message]
2012-07-19 14:05                       ` Dmitry A. Kazakov
2012-07-19  1:01             ` gautier_niouzes
2012-05-04 17:55 ` Manuel Gomez
2012-05-04 19:59   ` okellogg
2012-05-05 17:13     ` Simon Wright
2012-05-06 16:26       ` okellogg
2012-05-06 16:42         ` Yannick Duchêne (Hibou57)
2012-05-06 16:55           ` Simon Wright
2012-05-06 17:21             ` Yannick Duchêne (Hibou57)
2012-05-06 19:33               ` Simon Wright
2012-05-20 13:38         ` okellogg
2012-05-05 14:17   ` Marco
2012-05-06 13:01     ` Lucretia
2012-05-04 19:28 ` gautier_niouzes
2012-05-05 13:28   ` Pascal Obry
replies disabled

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