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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,94bac711cf2950f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-25 14:30:27 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!wn2feed!wn4feed!worldnet.att.net!24.0.0.38!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.sfba.home.com.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Newbie wanna Ada References: <3BD87B95.2000703@maciejsobczak.com> X-Newsreader: Tom's custom newsreader Message-ID: Date: Thu, 25 Oct 2001 21:30:27 GMT NNTP-Posting-Host: 24.7.82.199 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.sfba.home.com 1004045427 24.7.82.199 (Thu, 25 Oct 2001 14:30:27 PDT) NNTP-Posting-Date: Thu, 25 Oct 2001 14:30:27 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:15198 Date: 2001-10-25T21:30:27+00:00 List-Id: >1. Is there a *usual* interface in Ada for socket-related operations? There are several, but I wouldn't call any *the usual* interface. >2. Is there some more or less standard GUI lib? Again, there are several, at various levels of abstraction, and running on various OS's, but none is *the standard*. >3. What is the level of portability of the source code? High as long as you don't lock yourself into vendor supplied "extras" (or hit some bug in a particular compiler, of course). >4. What is the possibility of interfacing Ada with C (mainly - using C >libs from Ada)? Is this made during the linking ... Easy. This is usually required when making OS calls, for instance. >is it possible to call back some Ada procedure from the C function Certainly. Again, OS callbacks are a standard example. >(possibly running in another thread)? A callback is just a subroutine call, not a context switch. But the called Ada routine could of course do a rendezvous or start a new task or ... Look around at www.adapower.com for links to examples of all the above. Download (www.rrsoftware.com) Claw for examples, in the MS Windows context, of all the above. (Disclaimer: I'm one of the Claw developers)