comp.lang.ada
 help / color / mirror / Atom feed
From: Gour <gour@atmarama.net>
Subject: Re: Object Pascal vs Ada -- which is better for a hobbyist?
Date: Wed, 28 Aug 2013 10:54:41 +0200
Date: 2013-08-28T10:54:41+02:00	[thread overview]
Message-ID: <20130828105441.7d5d5943@atmarama.noip.me> (raw)
In-Reply-To: op.w2hzdyraule2fv@cardamome

On Wed, 28 Aug 2013 00:57:24 +0200
Yannick Duchêne (Hibou57) <yannick_duchene@yahoo.fr> 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‑in in any web‑server, 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‑browser). 

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  
> adding user gesture handlers, is easier than creating an UI all by  
> programming using a GUI API. 

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‑look‑like 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. 

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, 

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. 

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). 

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

-- 
He is a perfect yogī who, by comparison to his own self, 
sees the true equality of all beings, in both their 
happiness and their distress, O Arjuna!

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810

  reply	other threads:[~2013-08-28  8:54 UTC|newest]

Thread overview: 88+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-04  6:59 Object Pascal vs Ada -- which is better for a hobbyist? Dufr
2013-07-04  9:12 ` Nasser M. Abbasi
2013-07-04 11:47 ` gautier_niouzes
2013-07-04 15:50   ` Bill Findlay
2013-08-27 14:34   ` Yannick Duchêne (Hibou57)
2013-08-27 23:18     ` Oliver Kleinke
2013-07-04 11:48 ` john
2013-07-04 14:00   ` AdaMagica
2013-07-04 14:22     ` john
2013-07-04 14:31       ` Dmitry A. Kazakov
2013-07-04 18:18         ` Niklas Holsti
2013-07-04 19:04           ` J-P. Rosen
2013-07-04 20:24             ` Jeffrey Carter
2013-07-04 20:36               ` Shark8
2013-07-05 21:20               ` Robert A Duff
2013-07-05 23:39                 ` Jeffrey Carter
2013-08-27 14:47           ` Yannick Duchêne (Hibou57)
2013-08-27 23:24             ` Oliver Kleinke
2013-07-04 18:49         ` john
2013-07-04 15:49 ` Bill Findlay
2013-07-04 16:00 ` Lucretia
2013-07-04 17:59 ` Jeffrey Carter
2013-07-05 21:39 ` Robert A Duff
2013-07-06  7:04 ` Dufr
2013-07-06 15:53   ` Georg Bauhaus
2013-07-06 17:41   ` Jeffrey Carter
2013-07-06 18:59     ` Shark8
2013-07-06 18:36   ` Ludovic Brenta
2013-07-06 22:19   ` Maurizio Tomasi
2013-07-07  8:43     ` Mike H
2013-07-08 13:53   ` Marc C
2013-08-27 14:50   ` Yannick Duchêne (Hibou57)
2013-08-27 16:50     ` Simon Clubley
2013-08-27 17:02       ` Bill Findlay
2013-08-27 20:27       ` Yannick Duchêne (Hibou57)
2013-08-28 12:05         ` Simon Clubley
2013-08-27 21:08       ` Gour
2013-08-27 22:57         ` Yannick Duchêne (Hibou57)
2013-08-28  8:54           ` Gour [this message]
2013-08-28  9:35             ` Web-UI for Ada applications (Was: Object Pascal vs Ada -- which is better for a hobbyist?) Jacob Sparre Andersen
2013-08-28 10:48               ` Web-UI for Ada applications Gour
2013-08-28 11:32                 ` Simon Clubley
2013-08-28 11:54                   ` Gour
2013-08-28 12:05                   ` G.B.
2013-08-28 16:13                     ` Yannick Duchêne (Hibou57)
2013-08-28 15:54                   ` Yannick Duchêne (Hibou57)
2013-08-28 14:08                 ` Jacob Sparre Andersen
2013-08-28 15:34               ` Web-UI for Ada applications (Was: Object Pascal vs Ada -- which is better for a hobbyist?) Yannick Duchêne (Hibou57)
2013-08-29  9:51                 ` Web-UI for Ada applications Jacob Sparre Andersen
2013-08-27 23:17         ` Object Pascal vs Ada -- which is better for a hobbyist? Yannick Duchêne (Hibou57)
2013-08-27 23:37         ` Yannick Duchêne (Hibou57)
2013-08-27 23:40           ` Yannick Duchêne (Hibou57)
2013-08-28  0:04             ` Oliver Kleinke
2013-08-28  6:28           ` Simon Wright
2013-09-01  3:04           ` Maurizio Tomasi
2013-09-01  3:48             ` Shark8
2013-08-28  8:02         ` Dmitry A. Kazakov
2013-08-28  9:01           ` Gour
2013-08-28  9:55             ` Dmitry A. Kazakov
2013-08-28 10:42               ` Gour
2013-07-07  4:14 ` Patrick
2013-08-27 14:23 ` Yannick Duchêne (Hibou57)
2016-03-14 15:29 ` girobusan
2016-03-14 18:19   ` Jeffrey R. Carter
2016-03-14 18:57     ` Dmitry A. Kazakov
2016-03-14 23:52       ` Randy Brukardt
2016-03-15 10:51       ` Bob Butler
2016-03-15 21:51         ` Randy Brukardt
2016-03-16 11:07           ` Bob Butler
2016-03-16 21:22             ` Ludovic Brenta
2016-03-17  1:08               ` brbarkstrom
2016-03-17  7:59               ` Bob Butler
2016-03-17  8:36                 ` gautier_niouzes
2016-03-15  9:04     ` egarrulo
2016-03-15  9:34       ` Dmitry A. Kazakov
2016-03-15  9:56         ` egarrulo
2016-03-15 10:23           ` Dmitry A. Kazakov
2016-03-15 10:31             ` egarrulo
2016-03-15 10:53               ` egarrulo
2016-03-15 13:18                 ` G.B.
2016-03-15 13:52                   ` egarrulo
2016-03-15 14:28                     ` G.B.
2016-03-15 14:31                       ` egarrulo
2016-03-17 14:59                         ` sjaniska
2016-03-15 17:50                       ` Nasser M. Abbasi
2016-03-16 15:43                     ` Jeremiah
2016-03-15 14:38                   ` G.B.
2016-03-15 17:33               ` Nasser M. Abbasi
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox