From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: ada without ada libraries?
Date: Thu, 09 Feb 2012 15:05:25 +0100
Date: 2012-02-09T15:05:25+01:00 [thread overview]
Message-ID: <op.v9ez3b2gule2fv@douda-yannick> (raw)
In-Reply-To: cb760726-7845-4b2f-97f4-9165504b44b9@b18g2000vbz.googlegroups.com
Le Thu, 09 Feb 2012 12:08:37 +0100, Gautier write-only
<gautier_niouzes@hotmail.com> a écrit:
> Interesting debate: theoretically, I would support fully Yannick.
> But when looking at my practice the strange fact is that the only DSL
> I'm using is command-line interpreter scripts.
On my own side, I sometime play with a Prolog interpreter of mine
(designed in SML), more often with SML, commonly with SQL and XSLT and I
was an M2T (Model To Text, which is an OMG language used in conjunction
with UML) user, and I am seasoned with RenderMan shader language (*). Just
that to be honest, I believe M2T and XSLT was an error, and Prolog program
would have been a better choice (I am placing all of Ada, Prolog and SML
at the same level, so for many things, to me, Prolog is the language of
choice just like Ada is for some other things).
(*) Just to cite languages with execution phase. There are also many DSL
in data representation area, what ever what data can means, but these are
not relevant to mention here, as Ada has nothing to do with it. Oh well,
may be there is finally one worth to note here, which is the one
AdaControl use :-P
> I can do everything else straight in Ada, even:
> 1) on-purpose data conversions, sorting, aggregation (in one case,
> replacing a R script; the Ada version ran hundred times faster and
> solved a data modelling bottleneck for several people)
No need for a DSL here, and Ada is indeed the best choice.
> 2) 3D models (instead of VRML or MAXScript)
Depend what you do (3D means nothing alone).
> 3) random language generators (Ada is used there in a purely
> functional way)
I don't understand.
> 4) recompression of Zip archives by calling different Zippers and
> taking the best compression ratio
No need for a DSL, so Ada is OK here too.
Avoid confusion: a DSL is not the first
lossy‑unsafe‑unreadable‑unmaintainable language with no added value you
encounter. A DSL is not a toy language launched by who‑know‑who in a
search of celebrity, so don't think about these when you read the word
“DSL” somewhere. Some are good, some are bad. The multiple so
called‑scripting languages everywhere are not DSL, they are just
symptomatic of unfinished software which every user is supposed to
fix/finish him/herself or symptomatic of some bad experience with
compilation process or symptomatic of “every thing must be free as bear
and what's free as bear here must run everywhere to get it free as bear
everywhere”. Except for some case, most DSL are confidential and do not
take part of the “hip” (although the concept of DSL is a bit buzzy since
some years, but tha's DSL as a whole, not one or another in particular).
Well, all of that to say if one expect to use Ada for extremely
everything, he/she gonna encounter some disillusions.
--
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: Epigrams on Programming — Alan J. — P. Yale University
next prev parent reply other threads:[~2012-02-09 14:05 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-07 21:14 ada without ada libraries? Patrick
2012-02-08 2:04 ` BrianG
2012-02-08 3:11 ` Gautier write-only
2012-02-08 8:35 ` tonyg
2012-02-08 9:10 ` Simon Wright
2012-02-08 12:02 ` Stephen Leake
2012-02-08 13:07 ` Dmitry A. Kazakov
2012-02-08 21:10 ` Patrick
2012-02-08 21:39 ` Gautier write-only
2012-02-09 2:11 ` Shark8
2012-02-09 2:08 ` Shark8
2012-02-09 3:43 ` Jeffrey Carter
2012-02-09 4:17 ` Shark8
2012-02-09 12:26 ` mockturtle
2012-02-09 8:34 ` Dmitry A. Kazakov
2012-02-09 9:55 ` Yannick Duchêne (Hibou57)
2012-02-09 10:45 ` Dmitry A. Kazakov
2012-02-09 11:08 ` Gautier write-only
2012-02-09 13:48 ` Georg Bauhaus
2012-02-09 14:17 ` Yannick Duchêne (Hibou57)
2012-02-09 14:05 ` Yannick Duchêne (Hibou57) [this message]
2012-02-09 16:47 ` Pascal Obry
2012-02-09 17:03 ` Yannick Duchêne (Hibou57)
2012-02-09 17:08 ` Yannick Duchêne (Hibou57)
2012-02-09 17:26 ` Pascal Obry
2012-02-10 0:51 ` Randy Brukardt
2012-02-09 17:31 ` Dmitry A. Kazakov
2012-02-09 13:42 ` Yannick Duchêne (Hibou57)
2012-02-09 14:40 ` Dmitry A. Kazakov
2012-02-09 15:50 ` Yannick Duchêne (Hibou57)
2012-02-09 17:21 ` Dmitry A. Kazakov
2012-02-09 17:44 ` Yannick Duchêne (Hibou57)
2012-02-10 0:56 ` Randy Brukardt
2012-02-10 9:38 ` Dmitry A. Kazakov
2012-02-14 19:08 ` Yannick Duchêne (Hibou57)
2012-02-09 13:42 ` Yannick Duchêne (Hibou57)
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox