[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Low-level vs. High-level programming (was My First Computer)
- Subject: Re: Low-level vs. High-level programming (was My First Computer)
- From: pausch@saaf.se (Paul Schlyter)
- Date: Sat, 21 Jun 2003 05:51:19 +0000 (UTC)
- Newsgroups: comp.sys.cbm, comp.sys.apple2, rec.games.video.classic, comp.os.cpm
- Organization: Svensk Amat|rAstronomisk F|rening
- References: <pan.2003.06.18.19.07.35.727341@tjonk.now> <Xns93A0769B19F95wildstar128hotmailco@216.168.3.44> <bcvu90$1tms$1@merope.saaf.se> <bZMIa.922$jy1.468@newssvr19.news.prodigy.com>
- Xref: archiver1.google.com comp.sys.cbm:58951 comp.sys.apple2:31632 rec.games.video.classic:59163 comp.os.cpm:13407
In article <bZMIa.922$jy1.468@newssvr19.news.prodigy.com>,
Kelly Hall <hall@priest.com> wrote:
> "Paul Schlyter" <pausch@saaf.se> wrote in message
> news:bcvu90$1tms$1@merope.saaf.se...
>
>> Nevertheless, it is possible to implement the Game of Pong in HTML,
>> just like any other kind of state machine. Admittedly though, a Pong
>> implemented in pure HTML would not be particularly enjoyable to
>> play...
>
> The difference is that in a state machine there's sequencing, represented
> and processed *within* the state machine. A state machine is a *dynamic*
> process.
>
> In the PONG example, the sequencing is a chunk of text (a URL) that is used
> to issue an HTTP request. There's no sequencing possible without the
> browser issuing an HTTP request to fetch a new HTML page. HTML is static.
Likewise, the source text of any real programming language, as well as
the binady code image of the compiled program, is static: without a
CPU+OS to run that code, your program will do absolutely nothing.
The HTTP requests are to HTML what the CPU+OS are to the "real" program.
--
----------------------------------------------------------------
Paul Schlyter, Grev Turegatan 40, SE-114 38 Stockholm, SWEDEN
e-mail: pausch at stockholm dot bostream dot se
WWW: http://www.stjarnhimlen.se/
http://home.tiscali.se/pausch/