🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #3545

Re: Modula-2 standard

#3545
From: Stuart D. Gathman
Date: Wed, 10 Dec 1986 02:54
22 lines
1368 bytes
In article <11458@cca.UUCP>, bills@cca.UUCP (Bill Stackhouse) writes:

> x = packed record of
>   b1, b2, b3, b4 : boolean;
>   i : 0..63;
>   b5, b6, b7, b8, b9, b10 : boolean;
> end;

This has my vote.  Even bit arrays fit this idea (packed array of . . .)

> Something I would like to see in all procedure based languages
> is some syntax in the procedure def. that indicates that the
> procedure is to be included inline at all places it is called.

Many global optimizers do this automatically.  Procedures less than
a certain size or called a small number of times are automatically
converted to inline.  This optimization can even be performed on the
binary!  (I.e. language independent)

Adding an 'inline' key word allows good code from simpler compilers, however.
-- 
Stuart D. Gathman	<..!seismo!dgis!bms-at!stuart>
Technical Details
Message-ID: <307@bms-at.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!vrdxhq!bms-at!stuart
References: <11458@cca.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!vrdxhq!bms-at!stuart
From: stuart@bms-at.UUCP (Stuart D. Gathman)
Newsgroups: comp.lang.modula2
Subject: Re: Modula-2 standard
Message-ID: <307@bms-at.UUCP>
Date: Tue, 9-Dec-86 21:54:25 EST
Article-I.D.: bms-at.307
Posted: Tue Dec  9 21:54:25 1986
Date-Received: Wed, 10-Dec-86 10:56:29 EST
References: <11458@cca.UUCP>
Organization: Business Management Systems, Inc., Fairfax, VA
Lines: 22
Summary: not strictly necessary