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=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b3cf7df9853d8ca X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-03 07:19:57 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <9hrtm0$9o6$1@fang.dsto.defence.gov.au> Subject: Re: ada sockets question Message-ID: <7wk07.5702$Kf3.48587@www.newsranger.com> X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Tue, 03 Jul 2001 10:19:47 EDT Organization: http://www.newsranger.com Date: Tue, 03 Jul 2001 14:19:47 GMT Xref: archiver1.google.com comp.lang.ada:9374 Date: 2001-07-03T14:19:47+00:00 List-Id: In article <9hrtm0$9o6$1@fang.dsto.defence.gov.au>, Vladimir Bednikov says... >I am writing a RT application on an SGI using gnat3.13p. I have >downloaded the adasockets package version 0.1.13 and am using it, >but it is very slow. Is there a fast sockets package or do I have to >call c sockets. What is slow about it? Are you certain the "slowness" has anything to do with the Ada code? I'd have trouble believing that there's anything going on in the Ada bindings that takes anywhere close to the same amount of time as the network transmission itself. Even if it does something stupid like make an extra copy of the data being transmitted, that's going to be immensly faster than copying the same data over the network. I suppose you could get even dumber by using dynamic allocation and deallocation... --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com