From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d1533431e7e9d2eb X-Google-Attributes: gid103376,public From: "Marin D. Condic" Subject: Re: Nontrivial examples of C interface with Ada Date: 2000/05/26 Message-ID: <392EABE5.D7F5D285@quadruscorp.com>#1/1 X-Deja-AN: 627590658 Content-Transfer-Encoding: 7bit References: <392CC733.13BDDC84@quadruscorp.com> Organization: Quadrus Corporation X-Sender: "Marin D. Condic" (Unverified) X-Server-Date: 26 May 2000 13:56:22 GMT Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-05-26T13:56:22+00:00 List-Id: tmoran@bix.com wrote: > Even though your code now looks Ada-ish and has strong typing, exceptions, > etc. you will still be operating at a very low, C-ish, level of abstraction, > Will you, for instance, use the OS'es semaphore function calls, or use > Ada protected records? Callbacks via procedure access values, or by overiding > tagged record primitives? Suppose you want to open a socket connection, > send some html text, and close it. Do you really want the ugly details > of socket handling, or do you want a procedure Open, procedure Put, and > procedure Close? Ultimately, I'd build that sort of stuff on top of the binding. What I think constitutes a "binding" is just the interface to some existing body of software. Yeah, it will look C-ish, but that's what it is. From there, you have to define your own environment to do things with a true Ada flavor. Until someone writes an OS in Ada..... :-) MDC -- ====================================================================== Marin David Condic - Quadrus Corporation - http://www.quadruscorp.com/ Send Replies To: m c o n d i c @ q u a d r u s c o r p . c o m Visit my web site at: http://www.mcondic.com/ "I'd trade it all for just a little more" -- Charles Montgomery Burns, [4F10] ======================================================================