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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,46f1af367ca05806 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 24 Jan 2008 09:55:06 -0600 From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: Why I hate Gtk+/GNOME (from the perspective of an Ada supporter) Date: Thu, 24 Jan 2008 15:55:45 +0000 Reply-To: brian@shapes.demon.co.uk Message-ID: References: <479700d6$1@news.post.ch> <4aa2165e-b3a1-42a4-b5db-fdc39d7d67fd@u10g2000prn.googlegroups.com> <479841ed$1@news.post.ch> <183a03c8-5379-4bfb-b311-f6e014e88719@1g2000hsl.googlegroups.com> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 81.158.100.66 X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-ZAllBYPsojuvhr+5gQ2L3f4U2AUGSavDxPvzzQfpZzQt4gZs6zBvNPkq5wmQO9ah0yf5SwqhOx/JVF2!YTZBHfuWBN/QPh2D7uQeDF8sApECaOcae2qtnoldHzaNtGV1ZFnJGMJn9bnarUy9pxsIoY0+Xbaj!sNE= X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.37 Xref: g2news1.google.com comp.lang.ada:19582 Date: 2008-01-24T15:55:45+00:00 List-Id: On Thu, 24 Jan 2008 03:04:14 -0800 (PST), Ludovic Brenta wrote: >The one thing I'm wondering is why you guys want to rebuild GTK+ in >the first place? Are there no suitable prebuilt binaries anywhere so >you can concentrate on GtkAda? Speaking as a user who tried GTKada about six months ago... I had a little time between projects to evaluate Ada for future development; the language was attractive, GTKada looked attractive for cross-platform GUI development, and the "testgtk" demo package built easily (on Windows). (Downloads from libre : Gnat 2007, GTKada for Windows from Gnat 2006. OS : Win2000 SP4) BUT... there are so many ways to crash TestGTK (on Windows 2000) just by pressing buttons. It may be rock solid on Linux but I have my doubts... Some of the bugs were easy to find and fix at the Ada level, which was actually reassuring; the demo thus (accidentally, I presume!) illustrated how Ada really does help to promote reliable programs. Other bugs however were quickly traced into the C level stuff, which disappered into the GTK library. These were pretty fundamental bugs ; massive memory leaks and crashes. For example, in the "Plot 3D" demo, pressing the "Rotate" buttons had three unexpected effects on my system; both with the pre-built "Testgtk" executable and my build. (1) Some of the buttons disappear : not very serious, probably fixable within Ada. (not attempted; I'd probably have had to understand the signalling model to tell the buttons to redraw themselves) (2) About 300K memory leak for each press of a Rotate button.. (3) The 32nd press exited the program with a PROGRAM ERROR : Exception Access Violation which the stack trace suggested came from below the GTK interface. To deal with them any further I would have had to find the GTK 2.8.0 sources, and learn to build that on Windows.(Unfortunately, other work then intervened, as it does) So I concluded, albeit without having got very far into the evaluation: There are no suitable prebuilt binaries anywhere (I can find at least) so I could concentrate on GtkAda. - Brian