From: Gary <Gary.L.Scott@lmtas.lmco.com>
Subject: Re: Why should hackers love Ada. (Re: Ada 95 based RTOS)
Date: 2000/02/25
Date: 2000-02-25T00:00:00+00:00 [thread overview]
Message-ID: <38B6CCEA.69EAA9B1@lmtas.lmco.com> (raw)
In-Reply-To: 38B68EED.D412DE91@quadruscorp.com
"Marin D. Condic" wrote:
> Gary Scott wrote:
> > This is a good feature, but many other languages have similar features (some very old like Jovial and PL/1).
> > In other languages, my experience is that you simply define pack/unpack/scale routines and write the main
> > executive and high-level functionality in a high-level fashion (possibly OO) and simply invoke these low-level
> > "reformat" routines at the top and bottom of the frame (or as-required). Then again, I'm also used to being
> > able to embed assembly to gain access to an interval timer or generate an interrupt right into the high-level
> > language code.
> >
> There are lots of languages that give you good control of the underlying
> representation of data and access to the hardware. Jovial was better
> than most in this respect. However, I think there is a difference
> between Ada and other languages in this respect. Ada tends towards
> encouraging encapsulation of the low-level features so that they exist
> in an isolated spot, whereas other languages treat access to low level
> features as the "normal" mode of writing code. For example, you mention
> embedded assembly. Ada will let you do that but you have to isolate it
> in a subprogram - you can't just stick assembler instructions anywhere
> you feel like.
>
This has quite a lot to do with programming style. I can encapsulate/isolate "low-level" functions in almost any
language, but few languages restrict my choices. I agree that encapsulation/isolation is a good thing in general
and I practice it for the most part, regardless of the language that I use (primarily for portability reasons). I
prefer to have the freedom to make those types of decisions. For some applications, it may be entirely appropriate
to generate an interrupt in a program main.
>
> MDC
> --
> =============================================================
> Marin David Condic - Quadrus Corporation - 1.800.555.3393
> 1015-116 Atlantic Boulevard, Atlantic Beach, FL 32233
> http://www.quadruscorp.com/
> m c o n d i c @ q u a d r u s c o r p . c o m
>
> ***PLEASE REMOVE THE "-NOSPAM" PART OF MY RETURN ADDRESS***
>
> Visit my web site at: http://www.mcondic.com/
>
> "Because that's where they keep the money."
> -- Willie Sutton when asked why he robbed banks.
> =============================================================
next prev parent reply other threads:[~2000-02-25 0:00 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-18 0:00 Ada 95 based RTOS xaplos
2000-02-18 0:00 ` Tucker Taft
2000-02-21 0:00 ` xaplos
2000-02-22 0:00 ` Matthew Majka
2000-02-22 0:00 ` xaplos
2000-02-22 0:00 ` Stanley R. Allen
2000-02-22 0:00 ` Marin D. Condic
2000-02-22 0:00 ` Ted Dennison
2000-02-22 0:00 ` xaplos
2000-02-23 0:00 ` Roger Racine
2000-02-24 0:00 ` Simon Wright
2000-02-24 0:00 ` Robert Dewar
2000-02-25 0:00 ` Mike Silva
2000-02-26 0:00 ` xaplos
2000-02-23 0:00 ` Tarjei T. Jensen
2000-02-23 0:00 ` Ted Dennison
2000-02-25 0:00 ` Scott Ingram
2000-02-23 0:00 ` Gautier
2000-02-23 0:00 ` Ehud Lamm
2000-02-23 0:00 ` Why should hackers love Ada. (Re: Ada 95 based RTOS) Marin D. Condic
2000-02-23 0:00 ` Gary
2000-02-24 0:00 ` Gisle S�lensminde
2000-02-24 0:00 ` Marin D. Condic
2000-02-24 0:00 ` Larry Kilgallen
2000-02-25 0:00 ` Gary Scott
2000-02-25 0:00 ` Marin D. Condic
2000-02-25 0:00 ` Gary [this message]
2000-02-25 0:00 ` Mike Silva
2000-02-26 0:00 ` Gary Scott
2000-02-26 0:00 ` Robert Dewar
2000-02-26 0:00 ` Gary Scott
2000-03-07 0:00 ` Mike Dimmick
2000-03-10 0:00 ` Wil
2000-03-10 0:00 ` Ada OS again " David Starner
2000-03-11 0:00 ` David Botton
2000-02-23 0:00 ` Vladimir Olensky
2000-02-23 0:00 ` Gautier
2000-02-24 0:00 ` Ehud Lamm
2000-02-24 0:00 ` David C. Hoos, Sr.
2000-02-24 0:00 ` Vladimir Olensky
2000-02-24 0:00 ` Ehud Lamm
2000-02-24 0:00 ` Ted Dennison
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox