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,1943b1e68472411f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-12 09:09:31 PST Path: archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.columbus.rr.com!cyclone3.kc.rr.com!news3.kc.rr.com!twister.socal.rr.com.POSTED!not-for-mail Message-ID: <3D076F21.E0CB708E@san.rr.com> From: Darren New X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Why write an Ada web browser ?, was: Re: GNAT Ada - DLL - MSVC References: <3D062F7D.406B8709@sympatico.ca> <3D0761FF.38554417@sympatico.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 12 Jun 2002 15:55:50 GMT NNTP-Posting-Host: 66.75.151.160 X-Complaints-To: abuse@rr.com X-Trace: twister.socal.rr.com 1023897350 66.75.151.160 (Wed, 12 Jun 2002 08:55:50 PDT) NNTP-Posting-Date: Wed, 12 Jun 2002 08:55:50 PDT Organization: RoadRunner - West Xref: archiver1.google.com comp.lang.ada:25803 Date: 2002-06-12T15:55:50+00:00 List-Id: David Marceau wrote: > > Would you write a Java Virtual Machine implementation in Ada ? > In my opinion it is a waste of time because assuming you have access to > the source, you could recompile on any platform quite easily. > The recompiled ada would be much faster than a JVM running java byte > code. JAVA and jvm is hype IMHO. Errr, except for the web sites that have Java on them, yes? I mean, how are you going to run a java applet off a web site if you don't have a JVM in your browser? > > How about FTP/Telnet/secure sockets, etc ? > Sockets. Don't have to Adasockets > Secure sockets. Don't have to Adasockets > Http downloads/uploads binary files. Don't have to AWS. > FTP seems to be redundant now. No. Um, ... no, it's not. > Telnet yes. Great for debugging. > gdb yes. > ssh/ssl. Yes and by far the most important for security reasons. You missed smtp and nntp. > > What method would an Ada browser use to handle the requirement to > > dynamically support plug-in modules and to execute the code within > > that plug-in ? What would be the advantages of that method ? > Dynamic run-time plug-ins are a security issue. That's the point. The question is how Ada would make run-time plug-ins safer, and the answer is that it wouldn't. If you're not going to support the modern stuff, there's no need to rewrite in Ada at all. Just install Mosaic. > Back to plug-in architecture I like AWS http://libre.act-europe.fr/aws/ > because for each plug-in created, it is run as a separate process and > talking to the other process via a protocol > hence protecting the original program from being tampered with via > memory. That doesn't make it secure, tho. That just makes it secure from buffer overruns. Nothing keeps that other process from breaking into your machine in other ways. It also means that every plug-in you create use has to be rewritten from scratch as well. Are you also going to rewrite Flash etc? Sounds like a rather big job. > The above is not sci-fi. It exists. Hence e-commerce confidence going > doing the tubes. This is news to me. But I think we're getting way off-topic. > If you feel strongly about writing code that will surpass your lifetime, > write it in ada. If you think FTP is now obsolete, what makes you think HTTP won't be just as obsolete before you die? HTML has been around what, 15 years? And if it wasn't so entrenched, it would be completely replaced by XML already. Java will likely suffer a similar fate at the hands of .NET. So why would one worry about the decades-long maintainability of a client for a server that likely won't be around in 5 years? :-) -- Darren New San Diego, CA, USA (PST). Cryptokeys on demand. ** http://home.san.rr.com/dnew/DNResume.html ** ** http://images.fbrtech.com/dnew/ ** My brain needs a "back" button so I can remember where I left my coffee mug.