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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.albasani.net!feeder.erje.net!eu.feeder.erje.net!news-hub.siol.net!news1.t-com.hr!.POSTED!not-for-mail From: Gour Newsgroups: comp.lang.ada Subject: Re: Object Pascal vs Ada -- which is better for a hobbyist? Date: Wed, 28 Aug 2013 10:54:41 +0200 Organization: T-Com Message-ID: <20130828105441.7d5d5943@atmarama.noip.me> References: <20130827230816.535a440d@atmarama.noip.me> NNTP-Posting-Host: 93-142-238-6.adsl.net.t-com.hr Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ls237.t-com.hr 1377680111 11680 93.142.238.6 (28 Aug 2013 08:55:11 GMT) X-Complaints-To: abuse@t-com.hr NNTP-Posting-Date: Wed, 28 Aug 2013 08:55:11 +0000 (UTC) X-Newsreader: Claws Mail 3.9.1 (GTK+ 2.24.18; x86_64-pc-linux-gnu) Xref: news.eternal-september.org comp.lang.ada:17005 Date: 2013-08-28T10:54:41+02:00 List-Id: On Wed, 28 Aug 2013 00:57:24 +0200 Yannick Duch=C3=AAne (Hibou57) wrote: > If I may say, don't focus too much on GUI as you know it nowadays > and since a few decades, as this time may be more and more gone in > the future. I'm currently working (not full time, but I expect it in > the future) on an application with which the UI will be entirely in a > browser Believe that I've heard such proposal many times, something like 'traditional GUIs are dead, browser is the future...' and I'd be very happy if could imagine my app working like that. Otoh, I'm aware the planned application consists of user enetering some data, then performing different calculations (using 3rd party C lib as well) and render that data graphically on the screen. After data is rendered, user should be able to easily change some parameters to refine rendered data as well as do further calculations along with some other simulation going in 'real' time. Maybe XEphem (http://www.clearskyinstitute.com/xephem/) is good-enough approximation of the desired app. Do you have any hint how to do it in browser? > I've discovered two days ago, a CVS/SCM named Fossil, whose UI is made > the same way, and which works also as a CGI you can install nearly as > a drop=E2=80=91in in any web=E2=80=91server, and provides the exact same = UI from a web > server as it do when you run it from your desktop (an UI which opens > in a web=E2=80=91browser).=20 I'm aware of Fossil DVCS and use it exclusively for all my private stuff. :-) > Designing an UI as creating a document structure, giving a style and =20 > adding user gesture handlers, is easier than creating an UI all by =20 > programming using a GUI API.=20 That is probably true. > Even in the age of multimedia and images every where, an UI, is still > mainly text and text layout; icons and misc graphics does not help > that much (or even make it worse) and can't replace carefully crafted > text layout (font family, size, weight, colour, style, decoration, > indent, justification, and so on, gives more expressive capabilities > to an UI than any icon set or 3D=E2=80=91look=E2=80=91like buttons). I agree, but in my case I do have need for graphical output. > That's why I'm not afraid of Ada lacking a standard GUI library. Having strong support for Qt would be good-enough. D native GUI won't be available soon. > Anyway, no GUI libraries could gain wide acceptance. The option of an > Ada GUI comes back here from time to time, and the replies prove > there is no hope for a GUI library which could please at least 10% of > people (more likely there would be 10 different API, one for each of > these 10%). If Adacore would focus on Qt instead of GTK, I'll be fine 'cause I do not see bright future for GTK. > That said, thanks for mentioning D, as I did not suspect it was > still there.=20 It's and, after they moved to Github, many contributors are there. GDC might become included in GCC-4.9 toolchain and LLVM-based LDC is progressing nicely as well. > Will read about it a future day, out of curiosity, as it > seems to support design by contract and type constraints as Ada do. I > just surely won't switch to it, as I don't believe any legacy kind of > language can go a lot more above with safety than Ada already do,=20 Before considering ADA/D, I was thinking about FP-stuff like Haskell (later considered OCaml, F#), so I want type-safety from the language, not fiddling with memory at too low-level, dangling pointers bugs etc. but robust tool to help me having fun with my hobby project which is going to be developed/maintained for extended period of time. It sounds as good candidate for Ada. :-) > For the last words: you mentioned FOSS, saying the FOSS world does > not like Ada. Well, I don't feel the FOSS world enjoy D a lot more, > as I've never seen the FOSS mention D until today.=20 I'm not aware of any open-source projects done in Ada, while there are e..g. two D compilers developed for D (ldc, gdc)? > Just would like to say confusing technique and politic is not good. > Either you make a choice with technical argument or with political > intention, but not both, as the latter will near to always want to > shadow the former (I know it from experience, too much).=20 I didn't mean FOSS in political sense, but just in pragmatical one... DMD is also not 100% FOSS and I do not mind, similar with GNAT, but e.g if one uses Python, Haskell...even FreePascal/Lazarus. it's expected to be able to attract some contributors and/or get support. Otoh, it seems to me that Ada open-source community is practically non-existant which is a bit strange considering that the language itself is very fine. > Also keep in mind there is a GPL GNAT, and that if many commercial > applications choose Ada, this does not prevent to choose it for home > or freeware or FOSS applications. Sure, just wonder why no more open-source projects done in Ada and whether something can be done about it? Sincerely, Gour --=20 He is a perfect yog=C4=AB who, by comparison to his own self,=20 sees the true equality of all beings, in both their=20 happiness and their distress, O Arjuna! http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810