Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!zehntel!dual!amd!decwrl!decvax!cca!ima!inmet!tower
From: tower@inmet.UUCP
Newsgroups: net.lang.mod2
Subject: Re: Modula-2 vs. C
Message-ID: <1697@inmet.UUCP>
Date: Tue, 21-Aug-84 00:36:05 EDT
Article-I.D.: inmet.1697
Posted: Tue Aug 21 00:36:05 1984
Date-Received: Thu, 16-Aug-84 01:45:48 EDT
Lines: 15
Nf-ID: #R:unm-cvax:-109300:inmet:16700002:000:544
Nf-From: inmet!tower    Aug 12 19:17:00 1984

Re: Modula-2 and Initialization.

A highly optimizing complier could take most of the statements in a
module's initialization block, and convert them into load time data, as
opposed to run-time initialization code. I can't remember anything in
the language definition that would prevent this.

I don't know of an implementation that does this yet
but it is quite do-able!

-len tower		UUCP:     {ihnp4,harpo}!inmet!tower
 Intermetrics, Inc.	INTERNET: ima!inmet!tower@CCA-UNIX.ARPA
 733 Concord Ave.
 Cambridge, MA  02138	(617) 661-1840
 U.S.A.