comp.lang.ada
 help / color / mirror / Atom feed
From: Darren New <dnew@san.rr.com>
Subject: Re: AdaGames
Date: Sat, 30 Mar 2002 01:43:52 GMT
Date: 2002-03-30T01:43:52+00:00	[thread overview]
Message-ID: <3CA51876.58FCFA50@san.rr.com> (raw)
In-Reply-To: a81su9$pt7$1@nh.pace.co.uk

Marin David Condic wrote:
> I don't know of any other
> languages that have tasking built in as direct syntactic features of the
> language. 

Err, as I said, Tcl and Java spring to mind, for example. Probably
Python too. Eiffel, if it ever actually got implemented that way.
Hermes. NIL. 

I'm not sure what you mean by "direct syntactic features". I'd count
pretty much anything that's a defined part of the language, regardless
of whether it happens to use the same syntax as other parts of the
language. If I can count on the language providing threads even when the
underlying OS doesn't, I'd call that part of the language, wouldn't you?
Java certainly has reserved words for managing synchronization, and
Tcl's syntax is such that you don't really distinguish stuff based on
syntax (e.g., "if" is as much a procedure as "create_thread" is).

> active objects that may be supplied with C++ or Java, my understanding from
> other people is that you still need to do some work to control the
> communication & synchronization between the tasks.

The same as you do in Ada. In Tcl, it's even easier. As it is in Hermes.
(As an example, Hermes doesn't even *have* procedure calls. *All* it has
is task entries.)

Java has "synchronized" classes, which are pretty much exactly like
protected objects.

Tcl has an event model (in addition to threads) that let you write
things like servers that would normally be multithreaded without needing
threads. I've written a multiplayer network game hosted by a server with
a client doing its own animation and sound effects, and it was
straightforward without needing any threads.
 
> In general, I think it would be easier to do a multi-tasking application in
> Ada than in most other languages. 

Agreed. Ada's tasking is nice. It's just not anything particularly
special, until you get into the real-time stuff.

> Now the "standard GUI" part is another story. AFAIK, C++ doesn't have a
> "standard" GUI, but Java sort of does by virtue of its class libraries.

As does Tcl. Good enough to be ported to a multitude of other languages.

-- 
Darren New 
San Diego, CA, USA (PST). Cryptokeys on demand.
      Remember, drive defensively if you drink.



  reply	other threads:[~2002-03-30  1:43 UTC|newest]

Thread overview: 97+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-28 11:10 AdaGames Enrico A.
2002-03-28 12:29 ` AdaGames Erik Sigra
2002-03-28 14:30   ` AdaGames Preben Randhol
2002-03-28 16:47     ` AdaGames Erik Sigra
2002-03-28 17:55       ` AdaGames Preben Randhol
2002-03-28 18:48         ` AdaGames Erik Sigra
2002-03-28 19:13           ` AdaGames Stephen Leake
2002-03-28 21:58           ` AdaGames Preben Randhol
2002-03-29  7:10           ` AdaGames Bobby D. Bryant
2002-03-29 20:25             ` AdaGames Erik Sigra
2002-03-28 16:00   ` AdaGames chris.danx
2002-03-28 16:27     ` AdaGames Preben Randhol
2002-03-28 20:49       ` AdaGames Kent Paul Dolan
2002-03-28 22:02         ` AdaGames Preben Randhol
2002-04-02 23:11           ` AdaGames Kent Paul Dolan
2002-03-28 18:11     ` AdaGames chris.danx
2002-03-28 19:21   ` AdaGames Ted Dennison
2002-03-29  7:20     ` AdaGames Bobby D. Bryant
2002-03-29 14:28       ` AdaGames Wes Groleau
2002-03-29 14:51       ` AdaGames Ted Dennison
2002-03-28 20:39   ` AdaGames (SDL) Chad R. Meiners
2002-03-28 15:07 ` AdaGames Marin David Condic
2002-03-29  2:14   ` AdaGames Darren New
2002-03-29 14:15     ` AdaGames Marin David Condic
2002-03-30  1:43       ` Darren New [this message]
2002-04-01 14:23         ` AdaGames Ted Dennison
2002-04-01 16:57           ` AdaGames Darren New
2002-04-01 22:18             ` AdaGames Ted Dennison
2002-04-01 22:42               ` AdaGames Darren New
2002-03-28 15:13 ` AdaGames Ted Dennison
2002-03-29  7:24   ` AdaGames Bobby D. Bryant
2002-03-28 20:55 ` AdaGames Kent Paul Dolan
2002-03-28 22:47   ` AdaGames Randy Brukardt
2002-03-29 14:53     ` AdaGames Ted Dennison
2002-04-02  2:05       ` AdaGames Randy Brukardt
2002-03-29 15:08     ` AdaGames Ted Dennison
2002-03-28 20:59 ` Nethack! (was): AdaGames Kent Paul Dolan
2002-03-29 14:13   ` Ted Dennison
2002-04-01  8:01     ` Juanma Barranquero
2002-04-01 15:04       ` Ted Dennison
2002-04-02  9:27         ` Juanma Barranquero
2002-04-02 14:54           ` Preben Randhol
2002-04-03  6:43             ` Juanma Barranquero
2002-04-02 18:30           ` Ted Dennison
2002-04-03  7:02             ` Juanma Barranquero
2002-04-03 15:06               ` Ted Dennison
2002-04-03 15:31                 ` Marin David Condic
2002-04-04  4:40                   ` tmoran
2002-04-04  6:14                     ` Kent Paul Dolan
2002-04-04 14:16                       ` Marin David Condic
2002-04-04  6:10                   ` Kent Paul Dolan
2002-04-04 14:26                     ` Marin David Condic
2002-04-04  6:56                 ` Juanma Barranquero
2002-04-04 16:46                   ` Ted Dennison
2002-04-05  7:37                     ` Juanma Barranquero
2002-04-03  9:44             ` Preben Randhol
2002-04-03 15:50               ` Ted Dennison
2002-04-03 16:14                 ` Marin David Condic
2002-04-04 16:09                   ` Wes Groleau
2002-04-04 16:48                     ` Marin David Condic
2002-04-04 16:57                     ` Mário Amado Alves
2002-04-04 18:07                       ` Marin David Condic
2002-04-05  5:14                       ` SLOC-wars Kent Paul Dolan
2002-04-05  8:36                         ` SLOC-wars Bobby D. Bryant
2002-04-05 14:37                           ` SLOC-wars Marin David Condic
2002-04-08 13:35                             ` SLOC-wars Ted Dennison
2002-04-08 14:12                               ` SLOC-wars Marin David Condic
2002-04-09 14:15                                 ` SLOC-wars Wes Groleau
2002-04-05 14:25                         ` SLOC-wars Marin David Condic
2002-04-07 19:07                           ` SLOC-wars John R. Strohm
2002-04-08 14:59                           ` SLOC-wars Wes Groleau
2002-04-08 15:13                             ` SLOC-wars Marin David Condic
2002-04-05 22:51                         ` SLOC-wars John R. Strohm
2002-04-06 22:19                           ` SLOC-wars Kent Paul Dolan
2002-04-06 23:17                             ` SLOC-wars Larry Kilgallen
2002-04-08 14:35                               ` SLOC-wars Marin David Condic
2002-04-09 15:04                                 ` SLOC-wars Wes Groleau
2002-04-10 13:39                                 ` SLOC-wars Ted Dennison
2002-04-10 14:54                                   ` SLOC-wars Marin David Condic
2002-04-07 18:58                             ` SLOC-wars John R. Strohm
2002-04-08 15:06                           ` SLOC-wars Wes Groleau
2002-04-05 14:43                     ` Nethack! (was): AdaGames Ted Dennison
2002-04-05 14:51                       ` Marin David Condic
2002-04-05 20:41                       ` Metrics! (was) " Wes Groleau
2002-04-06 22:11                         ` Kent Paul Dolan
2002-04-08 13:29                         ` Ted Dennison
2002-04-03 17:09                 ` Bobby D. Bryant
2002-04-04 14:19                   ` Ted Dennison
2002-04-03 17:17                 ` Jean-Pierre Rosen
2002-04-04 16:19                 ` Preben Randhol
2002-04-04 16:47                   ` SLOC! (was Nethack! (was): AdaGames) Wes Groleau
2002-04-01 18:05       ` Nethack! (was): AdaGames Ralph Moeritz
2002-04-02  9:29         ` Juanma Barranquero
2002-03-29  1:52 ` AdaGames Adrian Hoe
2002-03-29  7:29 ` AdaGames Bobby D. Bryant
2002-04-02 23:43   ` Nethack (again)!: AdaGames Kent Paul Dolan
2002-03-29 18:40 ` AdaGames Pascal Obry
replies disabled

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