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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,4b27f494a96e0530 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: "Alexander E. Kopilovich" Newsgroups: comp.lang.ada Subject: Re: A community Windows binding Date: Fri, 8 Oct 2004 06:39:37 +0400 (MSD) Organization: Cuivre, Argent, Or Message-ID: References: NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: melchior.cuivre.fr.eu.org 1097203129 83104 212.85.156.195 (8 Oct 2004 02:38:49 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Fri, 8 Oct 2004 02:38:49 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: In-Reply-To: ; from Jeffrey Carter at Thu, 07 Oct 2004 17:37:41 GMT X-Mailer: Mail/@ [v2.44 MSDOS] X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: g2news1.google.com comp.lang.ada:4908 Date: 2004-10-08T06:39:37+04:00 Jeffrey Carter wrote: > Between callbacks and the single queue of events for all windows of JEWL > is an approach more suited to concurrent languages: multiple queues, one > per top-level window, with the assumption of one task per queue/window. > There should be the ability to select what events will be put in the > queue, and the possibility to combine queues when a window doesn't merit > its own task. Such an approach should scale better than JEWL's single > queue, and be more readable than callbacks. > > What would be ideal would be an Ada-centric windowing library, with > implementations based on Win32, X, and the like. Well, message queue management can be made Ada-centric, and perhaps this is really a good idea (but are there any preliminary works in this direction? not necessarily already Ada-centric, perhaps some abstract foundations may be of interest if they rely upon only those concepts that have adequate representation in Ada). But this (message queue managent) is just one aspect of full-scale windowing library, and actually most users touch it only briefly. Much more heavily used aspect is ontology, and the windowing ontologies of Win32 and X systems aren't the same. For example, vast majority of Delphi users don't know the term "canvas", but as far as I know, all X programmers are perfectly aware of it. Also, full-scale windowing library always use containers rather heavily. But reading all discussions on AI-302 (Container Library) I never seen a sign of recognition of this need. Alexander Kopilovich aek@vib.usr.pu.ru Saint-Petersburg Russia