From: Shark8 <onewingedshark@gmail.com>
Subject: Re: Runtime startup code for the GNAT Runtime...and a bit of humble pie.
Date: Thu, 21 Mar 2013 12:08:30 -0700 (PDT)
Date: 2013-03-21T12:08:30-07:00 [thread overview]
Message-ID: <7dbb0f14-c059-45ab-9eda-2782cb3edcc3@googlegroups.com> (raw)
In-Reply-To: <kidjg5$71m$1@munin.nbi.dk>
On Wednesday, March 20, 2013 6:16:04 PM UTC-6, Randy Brukardt wrote:
>
> Clearly, the sockets library that never got a real proposal would have
> helped a bit (mostly for server-side work) on the network end. Having to use
> some implementation-defined thing (Gnat.Sockets, Claw.Sockets) or
> off-the-web freebee (like NCSockets) doesn't help anything. Of course, I
> don't seem much hope for Ada running in a web browser.
Funny you should mention that; there's a site I came across a while back which illustrated using Ruby (and a Java Applet) to run a script-tag w/ Ruby as its language.
Demo: http://ruby-in-browser.googlecode.com/svn/trunk/evalruby/index.html
Site: http://almaer.com/blog/running-ruby-in-the-browser-via-script-typetextruby
I'll disagree with your "no hope" on browsers. Ada's tasking/protected-objects is something that I think most web-developers would love (even if they don't know it) because much of what they're doing w/ AJAX is better/more-easily expressed in that manner. -- And it would bring one thing they don't really realize they're missing: type-checking.
> (Personally, I think
> this is a good thing, I don't think much of anything should be allowed to
> run in a browser for security reasons. But I'm clearly going to be in a
> minority on this.)
I rather agree; except that to do what they're doing now HTML/Javascript/HTTP is a bad combination: HTML isn't meant for a page's design/format-layout, HTTP doesn't have a good bidirectional/session mode [like, say, DSA partitions],
Javascript is... LISP ruined by the C-Syntax -- not really suitable for passing typed data in client/server ala AJAX (due to its untyped & EXTREME late-bound nature finding bugs is more difficult).
> I'm not quite sure what you mean by "changes in hardware architecture". The
> mainstream architechures are well-supported by Ada (there is very little in
> multi-core that wasn't already anticipated by Ada, as Ada was designed for
> multi-processor architectures and there isn't much different). Most of the
> problem areas are less with the language and more with the implementations.
I'm fully agreed w/ you here. I find the current multi-processor hype/concern to be rather amusing in that it's been solved/addressed for over thirty years
>
> In any case, your overall point is quite correct. To a large extent, this is
> an implementation problem more than a language problem, but most people
> can't separate the two and in the final analysis, the distinction doesn't
> matter much.
Sadly true. Though I would like to see this drive for bare-metal runtimes bear some good fruit. (And hopefully stimulate Adacore to improve GNAT's toolchain.)
> If people want to run their program mostly in a browser,
> nothing is going to help them much (because they're on the road to hell,
> they just don't know it yet); certainly, there is no way to bring the
> advances in static analysis that reenforce Ada to that area (at best we
> could combine an Ada back-end with a Javascript front-end in some tool, but
> I really wonder if the result would have many of the advantages of Ada left.
The Ada-jvm compiler: we could have secure/stable applets, and cause a resurgence there, maybe.
Though maybe an Ada-javascript translator could help, perhaps even turning AJAX into saner PO/tasks.
>
> It's a project I'd be willing to try if there was a supporter for it.)
Which project?
next prev parent reply other threads:[~2013-03-21 19:08 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-18 20:59 Runtime startup code for the GNAT Runtime...and a bit of humble pie Diogenes
2013-03-18 21:14 ` Robert A Duff
2013-03-19 0:07 ` Diogenes
2013-03-19 10:04 ` Brian Drummond
2013-03-19 12:51 ` Simon Clubley
2013-03-19 18:16 ` Ludovic Brenta
2013-03-20 1:05 ` Simon Clubley
2013-03-20 10:13 ` Mike H
2013-03-20 20:44 ` Ludovic Brenta
2013-03-19 21:43 ` Randy Brukardt
2013-03-20 8:24 ` Dmitry A. Kazakov
2013-03-21 0:16 ` Randy Brukardt
2013-03-21 19:08 ` Shark8 [this message]
2013-03-21 23:34 ` Randy Brukardt
2013-03-22 16:39 ` Jacob Sparre Andersen
2013-03-23 10:56 ` Thomas Løcke
2013-03-19 23:13 ` Brian Drummond
2013-03-20 0:54 ` Simon Clubley
2013-03-20 11:50 ` Brian Drummond
2013-03-20 13:18 ` Simon Clubley
2013-03-26 11:04 ` Brian Drummond
2013-03-26 22:38 ` Simon Clubley
2013-03-27 11:34 ` Brian Drummond
2013-03-27 14:38 ` Simon Clubley
2013-03-27 22:58 ` Brian Drummond
2013-03-20 14:17 ` Lucretia
2013-03-20 15:00 ` Lucretia
2013-03-21 16:39 ` Brian Drummond
2013-03-23 4:35 ` Diogenes
2013-03-26 21:27 ` Diogenes
2013-03-26 21:57 ` Shark8
2013-03-27 0:28 ` Diogenes
2013-03-27 2:27 ` Shark8
2013-03-27 10:05 ` Brian Drummond
2013-03-27 12:23 ` Simon Wright
2013-03-27 19:07 ` Randy Brukardt
2013-03-27 21:10 ` Diogenes
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox