comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <onewingedshark@gmail.com>
Subject: Re: Web Development Using Ada?
Date: Sat, 27 Jul 2013 08:49:17 -0700 (PDT)
Date: 2013-07-27T08:49:17-07:00	[thread overview]
Message-ID: <60031692-0dc5-4a9d-b26b-277914c93c6d@googlegroups.com> (raw)
In-Reply-To: <14lc7wzpnwr68.1uyghj6zxs2fh.dlg@40tude.net>

On Saturday, July 27, 2013 6:49:11 AM UTC-6, Dmitry A. Kazakov wrote:
> 
> I think Ada could offer something there:
> 
> 1. Direct portability without virtualization;
> 2. Control over the resources. In Ada the server can be designed in a way
> that it would require minimal or no dynamic memory allocation;
> 3. Much better performance when Ada's approach to tasking is used;
> 4. Less debugging.

Other positives (note that my stint in professional web-programming was using PHP):

5. Generics -- I had to write the same function again and again (slightly different because of the 'types' coming in) when using PHP; that system would have been a lot nicer and more stable if PHP had generics.

6. Packages -- I really missed packages when I was using PHP; you don't realize how NICE it is to be able to group types and operations together (all checked and verified to be syntactically correct) until you have to go without, and doubly so f the thing you're working on only has the equivalent of #include.

7. Records -- It's _nice_ to be able to define a set of data to map the various components you're working with which are logically grouped. {In PHP you can "kind of" simulate records with string-associative arrays.}

8. Types and Subtypes -- You quickly learn how valuable these (and CONSTRAINT_ERROR) are when you spend hours tracking down a bug that happens to ultimately be an out-of-range error.

9. Superior documentation compared to PHP. (Seriously, PHP's documentation is a little snippet describing a function and then MESSAGEBOARDS for elaboration... and often you'll find horrible solutions to problems therein.)

10. Sane FOR loop. -- In PHP it's easy to write a set of foreach loops where the second loop repeats the penultimate item twice and ignores the last item... and they consider it "intended behavior." (Ew!)

> Negative could be:
> 
> 1. Culture shock programmers experience when have to face Ada;
> 2. Lack of tools;
> 3. Tiny community;
> 4. GNAT monopoly.

Negatives (again, assuming you're comparing to PHP):
5. *SLOW* initial development. (In PHP you can instantly put things to the output; mostly because there's *almost* no correctness checking.)
6. AWS setup on Windows. (Assuming you're going to use AWS on Windows, you *HAVE* to use the GNU toolchain [i.e. make et al.] and it has some serious issues regarding a particular file [zlib IIRC])


  reply	other threads:[~2013-07-27 15:49 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-27 10:35 Web Development Using Ada? Aay Jay Chan
2013-07-27 12:49 ` Dmitry A. Kazakov
2013-07-27 15:49   ` Shark8 [this message]
2013-07-27 16:26     ` Dmitry A. Kazakov
2013-07-27 17:19       ` Shark8
2013-07-27 17:26       ` Yannick Duchêne (Hibou57)
2013-07-27 19:05         ` Dmitry A. Kazakov
2013-07-27 17:11     ` Yannick Duchêne (Hibou57)
2013-07-27 17:19       ` Shark8
2013-07-27 17:57 ` Jeffrey Carter
2013-07-28  3:03   ` Randy Brukardt
2013-07-28  5:10     ` Yannick Duchêne (Hibou57)
2013-08-06  4:43       ` Randy Brukardt
2013-08-06  5:04         ` Paul Rubin
2013-08-06 19:06           ` Randy Brukardt
2013-07-28  9:30 ` Luke A. Guest
2013-07-31  8:30 ` Michael Erdmann
2013-07-31 10:15   ` Aay Jay Chan
2013-07-31 12:09     ` Michael Erdmann
2013-07-31 17:20     ` J-P. Rosen
2013-08-01 13:12       ` Jacob Sparre Andersen
2014-01-13 10:12       ` Marius Amado-Alves
2013-07-31 11:30   ` G.B.
2013-07-31 11:44     ` Yannick Duchêne (Hibou57)
2013-07-31 14:33       ` G.B.
2014-01-13 10:08   ` Marius Amado-Alves
2013-07-31 15:07 ` Pascal Obry
2013-07-31 18:53   ` Michael Erdmann
2013-07-31 21:03     ` Pascal Obry
2013-08-01  4:45       ` Michael Erdmann
2013-08-01 13:31         ` Jacob Sparre Andersen
2013-08-01 20:32           ` Michael Erdmann
2013-08-05  8:47             ` Jacob Sparre Andersen
2013-08-05 11:41               ` Thomas Løcke
2013-08-01 21:15         ` Maciej Sobczak
2013-08-02 17:24           ` Michael Erdmann
2013-08-02 20:54             ` Maciej Sobczak
2013-08-03  6:51               ` Michael Erdmann
2013-08-03  9:58               ` Pascal Obry
2013-08-03 14:50                 ` Maciej Sobczak
2013-08-01 15:54 ` leonid.dulman
2014-01-09  9:31 ` arifhussain.33
2014-01-09 12:36   ` Jacob Sparre Andersen
2014-01-10 13:47   ` Mike H
2014-01-14 12:23   ` Vadim Godunko
2014-01-19 23:23     ` Joseph Montanez
replies disabled

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