comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Ada.Directories problems, a summary
Date: Sat, 3 Jan 2009 10:08:33 +0100
Date: 2009-01-03T10:08:34+01:00	[thread overview]
Message-ID: <ggrgk4fbrp4v.1cs2qxmayvjtx$.dlg@40tude.net> (raw)
In-Reply-To: Pine.WNT.4.64.0901022226220.21104@abril

On Fri, 2 Jan 2009 22:33:27 +0000, Colin Paul Gloster wrote:

> On Fri, 2 Jan 2009, Dmitry A. Kazakov wrote:
> 
>|---------------------------------------------|
>|"[..]                                        |
>|                                             |
>|[..] Further                                 |
>|there is nothing in common in FTP/ZIP/SOCKS5.|
>|                                             |
>|[..]"                                        |
>|---------------------------------------------|
> 
> Data could be obtained from a number of sources, including via FTP or
> zipped or tunneling through a firewall with Socks (or from a
> compressed file in a zip archive on an SFTP server accessed through
> Socks.

Data sources is vague, because "data" can mean anything. Without behavior
data is nothing. Semantically FTP/ZIP/SOCKS5 and HDD/CD/Flash represent
very different cases.

FTP is a file transfer protocol. ZIP is a content conversion format. SOCKS5
is a tunneling stuff. I don't see a common abstraction for them, unless see
below.

> You could say that there is nothing in common in a compact disc and a
> hard disk and a floppy disk and a Flash stick (which people call a
> Flash disk due to habit because disks have been so commonly used for
> data storage).

All these serve as media to various file systems. The file systems (all)
are abstracted in Ada.Text_IO, Ada.Directories etc.

One could talk about a file system with, say, a ZIP compressed file is a
medium. If the target OS supported this, then Ada.Text_IO, Ada.Directories
would certainly do, for free. But that is not what the Ivan meant.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2009-01-03  9:08 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-01 11:16 Ada.Directories problems, a summary Dmitry A. Kazakov
2009-01-01 13:47 ` Ivan Levashew
2009-01-01 14:15   ` Dmitry A. Kazakov
2009-01-02 14:22     ` Ivan Levashew
2009-01-02 14:49       ` Dmitry A. Kazakov
2009-01-02 22:33         ` Colin Paul Gloster
2009-01-03  9:08           ` Dmitry A. Kazakov [this message]
2009-01-05 10:01       ` Jean-Pierre Rosen
2009-01-02 22:57     ` Randy Brukardt
2009-01-03  9:39       ` Dmitry A. Kazakov
2009-01-06  1:23         ` Randy Brukardt
2009-01-06 10:41           ` Dmitry A. Kazakov
2009-01-06  1:23         ` Randy Brukardt
2009-01-01 13:56 ` Dmitry A. Kazakov
2009-01-01 14:05 ` Colin Paul Gloster
2009-01-01 14:29   ` Dmitry A. Kazakov
2009-01-01 20:41 ` anon
2009-01-02 11:22   ` Colin Paul Gloster
2009-01-02 10:22 ` Georg Bauhaus
2009-01-02 11:09   ` Dmitry A. Kazakov
replies disabled

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