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-Thread: 103376,6e3f191debc78584 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news3.google.com!fu-berlin.de!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Wed, 02 Mar 2011 00:30:15 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.14) Gecko/20110123 Thunderbird/3.1.8 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Can Ada be hacked? References: <215154cd-f0bf-4138-b294-776d4e058592@o30g2000pra.googlegroups.com> <2561745b-7720-470d-a6ee-67f1d0e8cff0@v11g2000prb.googlegroups.com> <4d6cdadd$0$23762$14726298@news.sunsite.dk> <4d6d34fa$0$27111$882e7ee2@usenet-news.net> <4D6D3745.3010302@obry.net> <4D6D38FA.8050207@obry.net> In-Reply-To: <4D6D38FA.8050207@obry.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <4d6d8187$0$7666$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 02 Mar 2011 00:30:15 CET NNTP-Posting-Host: b8b8c7f8.newsspool1.arcor-online.net X-Trace: DXC=NBR=3>Nl=6c016@cHD@m;jic==]BZ:afn4Fo<]lROoRa<`=YMgDjhgbSP;f\ePnKalPCY\c7>ejVhD0cP2O3d08f`A?R0HN0:bk X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:17704 Date: 2011-03-02T00:30:15+01:00 List-Id: On 3/1/11 7:20 PM, Pascal Obry wrote: > Le 01/03/2011 19:13, Pascal Obry a �crit : >> Le 01/03/2011 19:03, Hyman Rosen a �crit : >>> On 3/1/2011 10:40 AM, Julian Leyh wrote: >>>> Javascript is not necessary for browsing the web. At least not for >>>> basic browsing. If you have that finished, you may consider adding >>>> Javascript. Until then it should be lower priority. >>> >>> Necessary for whom? Unless you wish to restrict use of your browser >>> to other Ada aficionados who will admire it for the source language >>> in which it's written, I believe you would quickly discover that >>> Javascript is, indeed, necessary. And you will discover what happens >>> to developers who say "if we don't have it you don't need it". >> >> I fully agree with that. Without Javascript you cannot use a single Web >> 2.0 (Ajax based) site on the Web. > > And to be able to support Ajax based web sites you need a full DOM implementation I think. > Indeed, anything currently being developed around HTML 5 and Web 2.0 is no less than an operating system. Not kidding. Google is developing a Javascript compiler(*). It should not come as a surprise when sooner or later Google Chrome will have a Javascript byte code interpreter and/or JIT compiler. Also notice Google's Chrome/ium OS, Google TV, etc. Plus, they have experimented with using Javascript as a target language, using something more real (less poor man's Lisp) as the source language. I claim that an Ada attitude towards HTML 5/Web 2.0 is not marketable. Language importance?Google Chrome maps its tabs to processes. That is one way of providing isolation and prevent cross site scripting attacks. No tasking needed. And the problem needs not be addressed by language design, or concurrency---which is quite OK as long as you want everything of a modern web app to live inside one tab, not two or more. Or have co-operating windows. Apple is currently moving away from multiple windows. MS is distributing Silverlight partly to enable extending Javascript and HTML 5 with some .NET programmability, specifically on Windows(TM) platforms, I think. In which ways will a portable Ada thing assist those who want to profit from things available with .NET? WebSQL has been replaced with IndexDB by the browser software makers committee. IndexDB is a comparatively low level data store that almost *requires* layers on top of it. Since the features are a little simpler than SQL, script kiddies will like and defend it. (Only to see that basic simplicity does not remove the complexity of the storage problem.) I bet that Microsoft LINQ will very soon be one of these layers. Netscape Lisp (aka Javascript) was very much, I guess, a project of enthusiastic, talented young students or grads. Very much ad hoc, 101% duct tape design. But management could very quickly get something out the door to .COM customers. Do you really want to repeat this history in Ada? A history that may soon be over? Can you improve it? Who will benefit? The "junk HTML" enabling technologies such as early browser software, tags, excessively fault tolerant parsers, etc. have made one huge company possible in the first place: Google. Google has learned how to newly create information from every kind of content to be found, and sell ads, to be seen and clicked by those who are lost in the large, unstructured sea of unstructured human output, facilitated and encouraged by the above "junk HTML" enabling technologies. Lost in the sea of information Google helps to fathom only to the extent that search results visiting time is part of what pays them. An Ada attitude can only hinder this kind of success. ___ (*) Some Netscape officials have explained that Javascript is really some Lisp (Object System) with a fashionable syntax (for reasons of marketing), hence C's. If you look at the object model described in ECMA Script, you can see that this is true. As is to be expected from all languages built on top of C/Unix, the fundamental type system of existing Javascript implementations is fundamentally flawed. Ruby is still reported to suffer from being based on int and char without much consideration. Javascript still has no 64bit integers, or 64bit shifting operations.