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,96d170308ed29047 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-17 12:06:51 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!freenix!wanadoo.fr!not-for-mail From: Pascal Obry Newsgroups: comp.lang.ada Subject: Re: web scripting Date: 17 May 2003 21:06:40 +0200 Organization: Home - http://perso.wanadoo.fr/pascal.obry Message-ID: References: <3ec6817b$1@news.wineasy.se> NNTP-Posting-Host: avelizy-103-1-4-120.w80-11.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news-reader12.wanadoo.fr 1053198410 18707 80.11.102.120 (17 May 2003 19:06:50 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 17 May 2003 19:06:50 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.95 Xref: archiver1.google.com comp.lang.ada:37459 Date: 2003-05-17T19:06:50+00:00 List-Id: "Tarjei T. Jensen" writes: > "tmoran@acm.org" wrote : > > >What you want is a web server which loads "scripts" as dynamic link > > A web server is just a program. If you want it to run code that changes > > on the fly, without a restart, then yes, you need to use dynamic loading, > > or interpretation, or CGI, or Annex E or something. If you know what it > > should do and that doesn't change dramatically or frequently, you can code > > the whole thing in Ada and recompile the whole thing as necessary. That > > also of course has security advantages. > > The main problem is most likely to be errant dll-code. I assume that all > loadable modules would be kept in a secure place. Something strange here. Why do you want scripting on the server side ? It will just slow down the server with no gain at all! > > >It could be, if you don't forget that it is a scripting language and not > > As has been pointed out, Ada is perfectly fine for CGI, and it can > > also be used for dll's or with the Distributed Annex. Those all give you > > dynamic loading. So the real question is whether you need a new > > application-specific language for the kinds of programs you intend > > to write in this scripting language. > > cgi is not terribly hot with regards to performance. Indeed. CGI also introduces security problems. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://perso.wanadoo.fr/pascal.obry --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595