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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,bbe592428babd509 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!v14g2000yqb.googlegroups.com!not-for-mail From: Gautier write-only Newsgroups: comp.lang.ada Subject: Re: Web browser in Ada Date: Sat, 24 Apr 2010 22:38:08 -0700 (PDT) Organization: http://groups.google.com Message-ID: <4f0f26e0-d5f4-46e4-8204-b3b012d33533@v14g2000yqb.googlegroups.com> References: <02c2bf63-260d-4acc-bd58-c8fb8a591ec3@b6g2000yqi.googlegroups.com> <0bf9425c-32a1-4b93-b938-ae4a4e24a761@c21g2000yqk.googlegroups.com> <4bd23c72$0$2399$4d3efbfe@news.sover.net> NNTP-Posting-Host: 85.2.155.3 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1272173888 6090 127.0.0.1 (25 Apr 2010 05:38:08 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 25 Apr 2010 05:38:08 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v14g2000yqb.googlegroups.com; posting-host=85.2.155.3; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.9) Gecko/20100317 SeaMonkey/2.0.4,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:11168 Date: 2010-04-24T22:38:08-07:00 List-Id: Peter C. Chapin: > I had actually thought that building a web browser in Ada would be a nice > project (if only I had more time!). I'm not sure how much of a difference in > security it would make... probably some. > Any browser that could be realistically used would need to support JavaScript. > While an Ada JavaScript implementation might (or might not) be more secure > than a C implementation, it seems to me that any vulnerability related to the > JavaScript language itself would still be a risk. Maybe it is a bit naive, but I have the impression that JavaScript's vulnerability can be limited to the interaction with the surronding operating system: file I/O and code execution (this includes starting a plug-in). > In any case, the real benefit of such a project would be more in the > development of associated libraries and supporting code (imagine processing, > HTML parsing and rendering, CSS handling, etc, etc)... Sure. For images, I could provide some bits (some of them existing), even in a generic way (reusable for other projects, GUIs etc.). > and in the visibility > a successful project would give to Ada. I suspect Ada was first standardized > before many current web developers were born; it might be fun to see what > sort of reception an Ada web browser project would get in that community. Just remind them that the current browsers are made in a language their grandparents were already using :-). > Anyway a good first step might be the implementation of an HTML 5 parser in > Ada. Rather than playing catch-up that would put an Ada web browser project > right in the thick of the bleeding edge of the web world. But probably when there will be something working you will have to catchup with HTML 8 :-) Just kidding. It is a very good idea, especially that the W3C specification gives also hints about the parsing. G.