From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: implementation of Bounded_String
Date: Fri, 19 Jan 2018 13:57:10 +0100
Date: 2018-01-19T13:57:10+01:00 [thread overview]
Message-ID: <p3spv5$i3m$1@gioia.aioe.org> (raw)
In-Reply-To: 90369010-6a4c-4000-b305-ed54e4d377ce@googlegroups.com
On 19/01/2018 12:54, Mehdi Saada wrote:
[Trying to make sense from kind of meaningless questions]
> I just wonder what's the lowest level (besides assembly) at which in
> Ada, one can implement characters input-output.
You cannot do I/O in assembly in any way different to a higher level
language. With an OS in place all I/O is queuing a request to some
device driver.
> But since Text_io is language-defined, I suppose there's nothing
> closer to the hardware ?
Among Ada standard means stream and direct I/O are the closest to the
hardware in the sense that they add least to the data being read and
written. [However that can depend on the OS which can translate streams
and blocks into something else below]
Calls to the native OS I/O facilities follow. There is nothing closer
unless you are in the system kernel.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2018-01-19 12:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-18 14:10 implementation of Bounded_String Mehdi Saada
2018-01-18 14:42 ` Dmitry A. Kazakov
2018-01-18 22:24 ` Simon Wright
2018-01-19 1:25 ` Randy Brukardt
2018-01-19 11:54 ` Mehdi Saada
2018-01-19 12:57 ` Dmitry A. Kazakov [this message]
2018-01-19 18:26 ` Niklas Holsti
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox