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 11:38:09 PST From: "Tarjei T. Jensen" Newsgroups: comp.lang.ada References: Subject: Re: web scripting MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Original-NNTP-Posting-Host: pc1.akermar.com Message-ID: <3ec6817b$1@news.wineasy.se> X-Original-Trace: 17 May 2003 19:37:47 +0100, pc1.akermar.com X-Complaints-To: abuse@songnetworks.se NNTP-Posting-Host: news.wineasy.se X-Original-NNTP-Posting-Host: news.wineasy.se Date: 17 May 2003 19:37:48 +0100 X-Trace: wineasy!newsfeed.wineasy.se!news.sto.telegate.se 1053196668 news.wineasy.se (17 May 2003 19:37:48 +0100) X-Complaints-To: abuse@songnetworks.se Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!newsfeed.mathworks.com.MISMATCH!newsfeed!news.tele.dk!news.tele.dk!small.news.tele.dk!news-stoc.telia.net!news-stoa.telia.net!telia.net!wineasy!newsfeed.wineasy.se!news.sto.telegate.se!news.wineasy.se!not-for-mail Xref: archiver1.google.com comp.lang.ada:37458 Date: 2003-05-17T19:37:48+01:00 List-Id: "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. > >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. Read "The Inmates Are Running the Asylum" by Alan Cooper (lots of self-publicity, but also real insight). Then we can quarrel about whether it would be worth doing and what might be worth doing. greetings,