9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] pascal, TeX
@ 2001-12-13 17:38 erik quanstrom
  2001-12-13 17:51 ` Howard Trickey
  2001-12-13 17:56 ` George Michaelson
  0 siblings, 2 replies; 35+ messages in thread
From: erik quanstrom @ 2001-12-13 17:38 UTC (permalink / raw)
  To: 9fans

i think knuth is the counterexample that proves the point.
knuth lives on his own planet. i believe it's called
"the art of computer programming." ;-)

also, due TeX's pascal heratage, it has an ungodly number
of compiled-in limits.  i haven't looked carefully for a
long time, but it seems that the maintainers have just made
the limits really big or changed the code in some way. in
the day (working on 780s) it was always fun to recompile
TeX to finish a document (because you'd blown some limit
you'd never heard of before).

not to start a flameware (troff esentially has the same
problem), but TeX is a great education in Why To Hate
Macro Processors. sendmail does better, but at least with
TeX you can get something useful done at the same time.

erik


Douglas A. Gwyn <DAGwyn@null.net> wrote:
> "Thomas Bushnell, BSG" wrote:
>> "Douglas A. Gwyn" <DAGwyn@null.net> writes:
>> > D De Villiers wrote:
>> > > No Pascal implementation ? Pascal compiler etc etc ?
>> > Why?  What use would it be?
>> It would let you run Pascal programs.

> And what use would *that* be?
> Seriously, are there any major apps written in Pascal?

	TEX was.



^ permalink raw reply	[flat|nested] 35+ messages in thread
* Re: [9fans] pascal, TeX
@ 2001-12-13 19:02 forsyth
  2001-12-14 10:14 ` Thomas Bushnell, BSG
  2001-12-14 17:37 ` D De Villiers
  0 siblings, 2 replies; 35+ messages in thread
From: forsyth @ 2001-12-13 19:02 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

i suspect that's because the Pascal language took the novel approach of providing
neither guaranteed garbage collection nor a portable operator to free
memory without it.  there were several platform-specific methods, including
stack like heap allocation (which i think was used by one compiler).  `dispose'
ended up in the standard (but did not preclude implementing garbage collection).


[-- Attachment #2: Type: message/rfc822, Size: 2186 bytes --]

To: "erik quanstrom" <quanstro@speakeasy.net>, <9fans@cse.psu.edu>
Subject: [9fans] pascal, TeX
Date: Thu, 13 Dec 2001 12:51:37 -0500
Message-ID: <EPEOIODEGHAONLDKOGLHKEGPCBAA.howard@research.bell-labs.com>

Knuth didn't trust Pascal memory management for some reason, so he avoided
using records and "new".  He did most data structures in huge arrays of
integers with punny macros to fake up data structures inside them.  It was
Pascal with Fortran for data structuring...

> knuth lives on his own planet. i believe it's called
> "the art of computer programming." ;-)
> also, due TeX's pascal heratage, it has an ungodly number
> of compiled-in limits.

^ permalink raw reply	[flat|nested] 35+ messages in thread
* Re: [9fans] pascal, TeX
@ 2001-12-14  1:42 geoff
  0 siblings, 0 replies; 35+ messages in thread
From: geoff @ 2001-12-14  1:42 UTC (permalink / raw)
  To: 9fans

Bourne's sh was written in a pseudo-Algol-68 by using the C
preprocessor, and indeed sh's input language is inspired by Algol 68.
If there hadn't already been an `od' command, the while loop would be
`while list do list od'.  The System V developers eventually took out
the Algol 68 macros in the source.  I think the first released version
of sh without the macros was the SVR2 shell.



^ permalink raw reply	[flat|nested] 35+ messages in thread
* Re: [9fans] pascal, TeX
@ 2001-12-14 17:40 forsyth
  2001-12-17 10:15 ` Ralph Corderoy
  0 siblings, 1 reply; 35+ messages in thread
From: forsyth @ 2001-12-14 17:40 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

i've found that troff -mpm produces rather nice output,
even compared to TeX.
unfortunately it's not in the current distribution (partly
because the pm postprocessor is in C++)


[-- Attachment #2: Type: message/rfc822, Size: 2412 bytes --]

To: 9fans@cse.psu.edu
Subject: Re: [9fans] pascal, TeX
Date: Fri, 14 Dec 2001 17:04:29 GMT
Message-ID: <3C1A278D.6F117C50@null.net>

paurea@dei.inf.uc3m.es wrote:
> I am wondering... you who criticize *TeX actually write real math
> books (lots of formulas, commutative diagrams, integrals with strange
> stuff...)  with troff and eqn?... I have found that there is where
> they beat any of the other things I have tried (never tried troff though).

I've used both.  Generally, TeX produces somewhat nicer-looking
output, but I find eqn|tbl|troff easier to use.  The DWB (troff)
suite is certainly more "toolkit oriented" and has a variety of
nice "small language" preprocessors for specialized tasks such
as drawing graphs, plotting, chemical symbols, etc.  Either
system is vastly better than something like Microsoft Word.

^ permalink raw reply	[flat|nested] 35+ messages in thread
* Re: [9fans] pascal, TeX
@ 2001-12-14 17:59 bwc
  0 siblings, 0 replies; 35+ messages in thread
From: bwc @ 2001-12-14 17:59 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 48 bytes --]

This is what's wrong with CS education today!!

[-- Attachment #2: Type: message/rfc822, Size: 2112 bytes --]

From: D De Villiers <~ddevilliers99@lando.co.za>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] pascal, TeX
Date: Fri, 14 Dec 2001 17:37:15 GMT
Message-ID: <9vdbj1$ehk$2@ctb-nnrp1.saix.net>

According to my knowledge - Java was the first language that implemented
garbage collection...Neather C/C++ or Pascal (Delphi etc) have garbage
collection and memory must be manually located/delocated etc.

Regards,

Lennie De Villiers

--- Remove ~ and 9s from e-mail address to reply ---

> i suspect that's because the Pascal language took the novel approach of
providing
> neither guaranteed garbage collection nor a portable operator to free
> memory without it.  there were several platform-specific methods,
including
> stack like heap allocation (which i think was used by one compiler).
`dispose'
> ended up in the standard (but did not preclude implementing garbage
collection).

^ permalink raw reply	[flat|nested] 35+ messages in thread
* Re: [9fans] pascal, TeX
@ 2001-12-14 18:03 rob pike
  2001-12-14 17:43 ` Lucio De Re
                   ` (5 more replies)
  0 siblings, 6 replies; 35+ messages in thread
From: rob pike @ 2001-12-14 18:03 UTC (permalink / raw)
  To: 9fans

> According to my knowledge - Java was the first language that implemented
> garbage collection...

Wrong.  Young people don't know any history.  The first language with
garbage collection was Visual Basic.

-rob



^ permalink raw reply	[flat|nested] 35+ messages in thread
* Re: [9fans] pascal, TeX
@ 2001-12-17  8:29 Fco.J.Ballesteros
  0 siblings, 0 replies; 35+ messages in thread
From: Fco.J.Ballesteros @ 2001-12-17  8:29 UTC (permalink / raw)
  To: 9fans

:  :  According to my knowledge - Java was the first language that implemented
:  :  garbage collection...Neather C/C++ or Pascal (Delphi etc) have garbage
:  :  collection and memory must be manually located/delocated etc.
:  This is what's wrong with CS education today!!

Couldn't agree more!
In fact, my students know pretty well that limbo was the first
language with garbage collection.



^ permalink raw reply	[flat|nested] 35+ messages in thread
* Re: [9fans] pascal, TeX
@ 2001-12-18  0:37 okamoto
  0 siblings, 0 replies; 35+ messages in thread
From: okamoto @ 2001-12-18  0:37 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 134 bytes --]

Oh! Please Rob, let me know it when you use some difficult rhetoric,
because there are many foreigners like me here. :-)

Kenji


[-- Attachment #2: Type: message/rfc822, Size: 2072 bytes --]

From: "Douglas A. Gwyn" <DAGwyn@null.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] pascal, TeX
Date: Mon, 17 Dec 2001 10:14:53 GMT
Message-ID: <3C1A4FD7.8E7AB77D@null.net>

rob pike wrote:
> Wrong.  Young people don't know any history.  The first language with
> garbage collection was Visual Basic.

VB certainly collects garbage, but I think he meant in a
different sense :-)

^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2001-12-18  9:47 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-13 17:38 [9fans] pascal, TeX erik quanstrom
2001-12-13 17:51 ` Howard Trickey
2001-12-14 10:15   ` Thomas Bushnell, BSG
2001-12-13 17:56 ` George Michaelson
2001-12-13 18:02   ` Alexander Viro
2001-12-13 18:09     ` George Michaelson
2001-12-13 18:11   ` Boyd Roberts
2001-12-13 18:18     ` George Michaelson
2001-12-13 18:21     ` Alexander Viro
2001-12-14  7:19       ` paurea
2001-12-14  8:07         ` Steve Kilbane
2001-12-14 17:04         ` Douglas A. Gwyn
2001-12-13 18:55     ` Martin Harriss
2001-12-13 21:20       ` Steve Kilbane
2001-12-14 10:15     ` Douglas A. Gwyn
2001-12-18  9:47     ` Chet Ramey
2001-12-14  0:39   ` Dan Cross
2001-12-13 19:02 forsyth
2001-12-14 10:14 ` Thomas Bushnell, BSG
2001-12-14 17:37 ` D De Villiers
2001-12-17 10:14   ` Douglas A. Gwyn
2001-12-14  1:42 geoff
2001-12-14 17:40 forsyth
2001-12-17 10:15 ` Ralph Corderoy
2001-12-14 17:59 bwc
2001-12-14 18:03 rob pike
2001-12-14 17:43 ` Lucio De Re
2001-12-14 18:09 ` Boyd Roberts
2001-12-14 18:22 ` Andrey A Mirtchovski
2001-12-16 19:41 ` Andrew Simmons
2001-12-17 10:16   ` Thomas Bushnell, BSG
2001-12-17 10:14 ` Douglas A. Gwyn
2001-12-17 10:16 ` Wladimir Mutel
2001-12-17  8:29 Fco.J.Ballesteros
2001-12-18  0:37 okamoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).